Class Literal

    • Constructor Detail

      • Literal

        public Literal​(Object value)
    • Method Detail

      • getLiteral

        public Object getLiteral()
      • negate

        public void negate()
      • bind

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