Class ExpressionToken
java.lang.Object
org.pipservices3.expressions.calculator.parsers.ExpressionToken
Defines an expression token holder.
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionToken(ExpressionTokenType type, Variant value, int line, int column) Creates an instance of this token and initializes it with specified values. -
Method Summary
-
Constructor Details
-
ExpressionToken
Creates an instance of this token and initializes it with specified values.- Parameters:
type- The type of this token.value- The value of this token.line- the line number where the token is.column- the column number where the token is.
-
-
Method Details
-
getType
The type of this token. -
getValue
The value of this token. -
getLine
public int getLine()The line number where the token is. -
getColumn
public int getColumn()The column number where the token is.
-