com.veromodo.tempo.ast
Class ASTUnary

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTExpr
          extended by com.veromodo.tempo.ast.ASTUnary
All Implemented Interfaces:
Describable, Locatable, Typeable
Direct Known Subclasses:
ASTNeg, ASTNot, ASTPost

public class ASTUnary
extends ASTExpr


Constructor Summary
ASTUnary(ASTToken op, ASTExpr e)
           
 
Method Summary
 SetOfDescriptor getAllDescriptors()
           
 ASTExpr getExpr()
           
 ASTToken getOp()
           
 void setAllDescriptors(SetOfDescriptor st)
           
 void visit(ASTIVisitor v)
          Abstract method to traverse the AST via a visitor.
 
Methods inherited from class com.veromodo.tempo.ast.ASTExpr
getDescriptor, getSetOfDescriptor, getSetOfTType, getTType, setDescriptor, setSetOfDescriptor, setSetOfTType, setTType
 
Methods inherited from class com.veromodo.tempo.ast.ASTNode
getExtent, setExtent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.veromodo.tempo.util.Locatable
getExtent
 
Methods inherited from interface com.veromodo.tempo.util.Locatable
getExtent
 

Constructor Detail

ASTUnary

public ASTUnary(ASTToken op,
                ASTExpr e)
Method Detail

getExpr

public ASTExpr getExpr()

getOp

public ASTToken getOp()

setAllDescriptors

public void setAllDescriptors(SetOfDescriptor st)

getAllDescriptors

public SetOfDescriptor getAllDescriptors()

visit

public void visit(ASTIVisitor v)
Description copied from class: ASTNode
Abstract method to traverse the AST via a visitor.

Overrides:
visit in class ASTExpr
Parameters:
v - the visitor interface
See Also:
ASTIVisitor