Modifier and Type | Field and Description |
---|---|
protected ExprList |
actualList
The list of actual parameter expressions
|
protected java.lang.String |
methodName
The name of the method
|
protected Expr |
refExpr
The reference expression (produces the object to dispatch on)
|
Constructor and Description |
---|
DispatchExpr(int lineNum,
Expr refExpr,
java.lang.String methodName,
ExprList actualList)
DispatchExpr constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(visitor.Visitor v,
java.lang.Object o)
Visitor method
|
ExprList |
getActualList()
Get the list of actual parameter expressions
|
java.lang.String |
getMethodName()
Get the method name
|
Expr |
getRefExpr()
Get the reference expression
|
getExprType, setExprType
getLineNum
protected Expr refExpr
protected java.lang.String methodName
protected ExprList actualList
public DispatchExpr(int lineNum, Expr refExpr, java.lang.String methodName, ExprList actualList)
lineNum
- source line number corresponding to this AST noderefExpr
- reference expression (produces the object to dispatch on)methodName
- the name of the methodactualList
- list of actual parameter expressionspublic Expr getRefExpr()
public java.lang.String getMethodName()
public ExprList getActualList()