Class CreatorExpression

  • All Implemented Interfaces:
    Serializable

    public class CreatorExpression
    extends Expression
    Expression representing something like "new X.Y.Z([param1[,param2[,param3]]])".
    See Also:
    Serialized Form
    • Method Detail

      • getId

        public String getId()
        Accessor for the class name of the object being created.
        Returns:
        Name of the class
      • getArguments

        public List<Expression> getArguments()
        Accessor for the arguments to use in the creation call.
        Returns:
        Argument list
      • getTuples

        public List getTuples()
      • 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