public class InvokeExpression extends Expression
Expression.DyadicOperator, Expression.MonadicOperator, Expression.Operatoralias, left, op, OP_ADD, OP_AND, OP_BIT_AND, OP_BIT_OR, OP_BIT_XOR, OP_CAST, OP_COM, OP_CONCAT, OP_DISTINCT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MOD, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_NOTIN, OP_OR, OP_SUB, parent, right, symbol| Constructor and Description |
|---|
InvokeExpression(Expression invoked,
String methodName,
List args)
Constructor for an expression for the invocation of a method/function.
|
| Modifier and Type | Method and Description |
|---|---|
Symbol |
bind(SymbolTable symtbl)
Method to bind the expression to the symbol table as appropriate.
|
List<Expression> |
getArguments()
Accessor for any arguments to be passed in the invocation.
|
String |
getOperation()
The method/function invoked.
|
String |
toString()
Method to return the string form of this expression.
|
String |
toStringWithoutAlias()
Method to return the string form of this without the alias component.
|
public InvokeExpression(Expression invoked, String methodName, List args)
invoked - Expression on which we are invokingmethodName - Name of the methodargs - Arguments passed in to the method/function callpublic String getOperation()
public List<Expression> getArguments()
public Symbol bind(SymbolTable symtbl)
bind in class Expressionsymtbl - Symbol tablepublic String toStringWithoutAlias()
public String toString()
Copyright © 2017. All rights reserved.