Class ExpressionToken

java.lang.Object
org.pipservices3.expressions.calculator.parsers.ExpressionToken

public class ExpressionToken extends Object
Defines an expression token holder.
  • Constructor Details

    • ExpressionToken

      public ExpressionToken(ExpressionTokenType type, Variant value, int line, int column)
      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

      public ExpressionTokenType getType()
      The type of this token.
    • getValue

      public Variant 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.