BinaryOperationToken
Implements

Description

Token that represents the binary operations for expressions.

Constructor

BinaryOperationToken<T, W>( operator: T, operand: W )

Parameters

NameTypeDescription
T
W

Properties

token: string
operator: T
operands: W[]

Methods

addOperand( operand: W ): this

Parameters

NameTypeDescription
W
toString( spaces?: number ): string

Parameters

NameTypeDescription
number