Table of Contents

Class ConstToken

Namespace
RandomizerCore.StringLogic
Assembly
RandomizerCore.dll

TermToken which represents a constant bool.

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

Constructors

ConstToken(bool)

TermToken which represents a constant bool.

public ConstToken(bool Value)

Parameters

Value bool

Fields

False

public static readonly ConstToken False

Field Value

ConstToken

True

public static readonly ConstToken True

Field Value

ConstToken

Properties

Value

public bool Value { get; init; }

Property Value

bool

Methods

Write()

public override string Write()

Returns

string