Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ASTPair Class Reference

#include <ASTPair.hpp>

List of all members.

Public Methods

void advanceChildToEnd ()
 ANTLR_USE_NAMESPACE (std) string toString() const

Public Attributes

RefAST root
RefAST child


Detailed Description

ASTPair: utility class used for manipulating a pair of ASTs representing the current AST root and current AST sibling. This exists to compensate for the lack of pointers or 'var' arguments in Java.

OK, so we can do those things in C++, but it seems easier to stick with the Java way for now.


Member Function Documentation

void ASTPair::advanceChildToEnd   [inline]
 

Make sure that child is the last sibling

ASTPair::ANTLR_USE_NAMESPACE std    const [inline]
 

Copy an ASTPair. Don't call it clone() because we want type-safety


Member Data Documentation

RefAST ASTPair::child
 

RefAST ASTPair::root
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:24 2004 for Lemur Toolkit by doxygen1.2.18