Class TypeExpression

  • All Implemented Interfaces:
    java.io.Serializable

    public class TypeExpression
    extends Expression
    Expression representing a the type of the contained expression.
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeExpression

        public TypeExpression​(Expression containedExpr)
    • Method Detail

      • getContainedExpression

        public Expression getContainedExpression()
      • bind

        public Symbol bind​(SymbolTable symtbl)
        Description copied from class: Expression
        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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object