Table of Contents

Class OperatorToken

Namespace
RandomizerCore.StringLogic
Assembly
RandomizerCore.dll

LogicToken representing one of the binary boolean operators, | or +.

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

Constructors

OperatorToken(OperatorType, int, string)

LogicToken representing one of the binary boolean operators, | or +.

public OperatorToken(OperatorType OperatorType, int Precedence, string Symbol)

Parameters

OperatorType OperatorType
Precedence int
Symbol string

Fields

AND

public static readonly OperatorToken AND

Field Value

OperatorToken

OR

public static readonly OperatorToken OR

Field Value

OperatorToken

Properties

OperatorType

public OperatorType OperatorType { get; init; }

Property Value

OperatorType

Precedence

public int Precedence { get; init; }

Property Value

int

Symbol

public string Symbol { get; init; }

Property Value

string