Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
type
The type to be constructed
|
Constructor and Description |
---|
NewExpr(int lineNum,
java.lang.String type)
NewExpr constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(visitor.Visitor v,
java.lang.Object o)
Visitor method
|
java.lang.String |
getType()
Get the type to be constructed
|
getExprType, setExprType
getLineNum
public NewExpr(int lineNum, java.lang.String type)
lineNum
- source line number corresponding to this AST nodetype
- the type to be constructed