Table of Contents

Class MacroToken

Namespace
RandomizerCore.StringLogic
Assembly
RandomizerCore.dll

TermToken which represents a nested LogicClause, provided through the IMacroSource, usually a LogicProcessor.

public record MacroToken : TermToken, IEquatable<LogicToken>, IEquatable<TermToken>, IEquatable<MacroToken>
Inheritance
MacroToken
Implements
Inherited Members

Constructors

MacroToken(string, IMacroSource)

TermToken which represents a nested LogicClause, provided through the IMacroSource, usually a LogicProcessor.

public MacroToken(string Name, IMacroSource Source)

Parameters

Name string
Source IMacroSource

Properties

Name

public string Name { get; init; }

Property Value

string

Source

public IMacroSource Source { get; init; }

Property Value

IMacroSource

Value

public LogicClause Value { get; }

Property Value

LogicClause

Methods

Write()

public override string Write()

Returns

string