Class VariableExpression

  • All Implemented Interfaces:

    public class VariableExpression
    extends Expression
    Expression representing a variable. The variable can be explicit (declared as input to the query) or implicit (implied based on the query).
    See Also:
    Serialized Form
    • Constructor Detail

      • VariableExpression

        public VariableExpression​(String name)
      • VariableExpression

        public VariableExpression​(String name,
                                  Class type)
    • Method Detail

      • getId

        public String getId()
      • bind

        public Symbol bind​(SymbolTable symtbl)
        Method to bind the expression to the symbol table as appropriate.
        Specified by:
        bind in class Expression
        symtbl - Symbol table
        The symbol for this expression