|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ast.ASTree
coins.ast.expr.OperatorExpr
coins.ast.expr.UnaryExpr
coins.ast.expr.DereferenceExpr
Pointer dereference ('*') expression.
| Field Summary |
| Fields inherited from class coins.ast.expr.UnaryExpr |
expr |
| Constructor Summary | |
DereferenceExpr(Expr expr,
byte[] _type)
|
|
| Method Summary | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
protected java.lang.String |
getTag()
Returns the type of this node. |
byte[] |
getType()
Returns the type of the value pointed by the operand expression. |
boolean |
hasAddress()
Returns true if the expression can be an operand of '&'. |
boolean |
isLvalue()
Returns true if the expression is really an l-value. |
int |
operatorId()
Returns the token identifier of the operator name. |
java.lang.String |
operatorName()
Returns the string representation of the operator name. |
| Methods inherited from class coins.ast.expr.UnaryExpr |
getExpr, getLeft, getRight, setLeft, setRight |
| Methods inherited from class coins.ast.ASTree |
putSeparator, rightToString, toString, toString1 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DereferenceExpr(Expr expr,
byte[] _type)
| Method Detail |
public void accept(Visitor v)
ASTreeatXXX() on the given visitor, where
XXX is the class name of the node object.
accept in class ASTreepublic byte[] getType()
getType in interface Exprpublic boolean isLvalue()
LvalueExpr
isLvalue in interface LvalueExprpublic boolean hasAddress()
LvalueExpr
hasAddress in interface LvalueExprpublic int operatorId()
OperatorExpr
operatorId in class OperatorExprpublic java.lang.String operatorName()
OperatorExpr
operatorName in class OperatorExprprotected java.lang.String getTag()
ASTreetoString().
getTag in class OperatorExpr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||