coins.ast.expr
Class UnaryExpr

java.lang.Object
  extended bycoins.ast.ASTree
      extended bycoins.ast.expr.OperatorExpr
          extended bycoins.ast.expr.UnaryExpr
All Implemented Interfaces:
Expr, java.io.Serializable
Direct Known Subclasses:
AddressExpr, ArithUnaryExpr, CastExpr, DereferenceExpr, MemberExpr, PostfixExpr, PrefixExpr, SizeofExpr

public abstract class UnaryExpr
extends OperatorExpr

Unary expression.

See Also:
Serialized Form

Field Summary
protected  Expr expr
           
 
Constructor Summary
UnaryExpr(Expr _expr)
           
 
Method Summary
 Expr getExpr()
           
 ASTree getLeft()
          Returns the operand.
 ASTree getRight()
          Returns null.
 void setLeft(ASTree _left)
           
 void setRight(ASTree _right)
           
 
Methods inherited from class coins.ast.expr.OperatorExpr
getTag, operatorId, operatorName
 
Methods inherited from class coins.ast.ASTree
accept, putSeparator, rightToString, toString, toString1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface coins.ast.Expr
getType
 

Field Detail

expr

protected Expr expr
Constructor Detail

UnaryExpr

public UnaryExpr(Expr _expr)
Method Detail

getExpr

public Expr getExpr()

getLeft

public ASTree getLeft()
Returns the operand.

Specified by:
getLeft in class ASTree

getRight

public ASTree getRight()
Returns null.

Specified by:
getRight in class ASTree

setLeft

public void setLeft(ASTree _left)
Specified by:
setLeft in class ASTree

setRight

public void setRight(ASTree _right)
Specified by:
setRight in class ASTree