com.jeffpalm.expr
Class ASTInteger

java.lang.Object
  extended by com.jeffpalm.expr.SimpleNode
      extended by com.jeffpalm.expr.ASTInteger
All Implemented Interfaces:
Node

public class ASTInteger
extends SimpleNode


Field Summary
 
Fields inherited from class com.jeffpalm.expr.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTInteger(com.jeffpalm.expr.ExprParser p, int id)
           
ASTInteger(int id)
           
 
Method Summary
 java.lang.Object jjtAccept(ExprParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setVal(int val)
           
 int val()
           
 
Methods inherited from class com.jeffpalm.expr.SimpleNode
childrenAccept, childrenAcceptReverse, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTInteger

public ASTInteger(int id)

ASTInteger

public ASTInteger(com.jeffpalm.expr.ExprParser p,
                  int id)
Method Detail

jjtAccept

public java.lang.Object jjtAccept(ExprParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class SimpleNode

val

public final int val()

setVal

public final void setVal(int val)