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
stringSource
IMacroSource
Properties
Name
public string Name { get; init; }
Property Value
Source
public IMacroSource Source { get; init; }
Property Value
Value
public LogicClause Value { get; }
Property Value
Methods
Write()
public override string Write()