Class ExpressionToken


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

      • 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 Detail

      • 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.