public abstract class Expr extends ASTNode
ASTNode
,
DispatchExpr
,
NewExpr
,
InstanceofExpr
,
CastExpr
,
AssignExpr
,
BinaryExpr
,
UnaryExpr
,
VarExpr
,
ConstExpr
Constructor and Description |
---|
Expr(int lineNum)
Expr constructor
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
accept(visitor.Visitor v,
java.lang.Object o)
Visitor method
|
java.lang.String |
getExprType()
Get the type of the expression
|
void |
setExprType(java.lang.String exprType)
Set the type of the expression
|
getLineNum
public Expr(int lineNum)
lineNum
- source line number corresponding to this AST node