Public Member Functions | Package Attributes

INTNode Class Reference

Inheritance diagram for INTNode:
CalcAST antlr.BaseAST antlr.collections.AST

List of all members.

Public Member Functions

 INTNode ()
 INTNode (Token tok)
int value ()
String toString ()
void xmlSerializeNode (Writer out) throws IOException

Package Attributes

int v = 0

Detailed Description

A simple node to represent an INT


Constructor & Destructor Documentation

INTNode.INTNode (  ) 
INTNode.INTNode ( Token  tok  ) 

References antlr.Token.getText(), and v.


Member Function Documentation

String INTNode.toString (  ) 

Reimplemented from antlr.BaseAST.

References v.

int INTNode.value (  )  [virtual]

Compute value of subtree; this is heterogeneous part :)

Implements CalcAST.

References v.

void INTNode.xmlSerializeNode ( Writer  out  )  throws IOException

Reimplemented from antlr.BaseAST.

References v.


Member Data Documentation

int INTNode.v = 0 [package]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties