public ArrayToken(Token token, ScanToken array, List <ScanToken> indexes) : base(token) { Array = array; Indexes = indexes; Array.Parent = this; }
public FunctionToken(Token token, ScanToken function, List <ScanToken> arguments) : base(token) { Function = function; Arguments = arguments; Function.Parent = this; }
protected BinaryOperationToken(Token token, ScanToken leftOperand, ScanToken rightOperand) : base(token) { LeftOperand = leftOperand; RightOperand = rightOperand; LeftOperand.Parent = this; RightOperand.Parent = this; }
protected UnaryOperationToken(Token token, ScanToken operand) : base(token) { Operand = operand; Operand.Parent = this; }
public DotToken(Token token, ScanToken leftOperand, ScanToken rightOperand) : base(token, leftOperand, rightOperand) { }