Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

TreeNode Class Reference

#include <interpret.h>

Collaboration diagram for TreeNode:

Collaboration graph
[legend]

Public Member Functions

 TreeNode (const int aSymbolId=-1, const string aConstant="")
virtual ~TreeNode (void)

Data Fields

int symbolId
string constant
TreeNodenext
TreeNodechild

Constructor & Destructor Documentation

TreeNode::TreeNode const int  aSymbolId = -1,
const string  aConstant = ""
[inline]
 

Definition at line 54 of file interpret.h.

References child, constant, next, and symbolId.

00055         : constant( aConstant ) , symbolId( aSymbolId ) , next( 0 ) , child( 0 )        
00056         {};

virtual TreeNode::~TreeNode void   )  [inline, virtual]
 

Definition at line 58 of file interpret.h.

References child, and next.

00059         {
00060                 if( next )      delete next;    next = 0;
00061                 if( child ) delete child;       child = 0;
00062         }


Field Documentation

TreeNode * TreeNode::child
 

Definition at line 52 of file interpret.h.

Referenced by Interpret::ReduceRule(), TreeNode(), Ars::ExprIntParser::WalkTree(), Ars::ExprParser::WalkTree(), ExprParser::WalkTree(), and ~TreeNode().

string TreeNode::constant
 

Definition at line 50 of file interpret.h.

Referenced by TreeNode(), Ars::ExprIntParser::WalkTree(), Ars::ExprParser::WalkTree(), and ExprParser::WalkTree().

TreeNode* TreeNode::next
 

Definition at line 52 of file interpret.h.

Referenced by Interpret::ReduceRule(), Interpret::ShiftRule(), TreeNode(), Ars::ExprIntParser::WalkTree(), Ars::ExprParser::WalkTree(), ExprParser::WalkTree(), and ~TreeNode().

int TreeNode::symbolId
 

Definition at line 49 of file interpret.h.

Referenced by TreeNode(), Ars::ExprIntParser::WalkTree(), Ars::ExprParser::WalkTree(), and ExprParser::WalkTree().


The documentation for this class was generated from the following file:
Generated on Fri Dec 5 04:06:39 2003 for Borqueror by doxygen 1.3.3