CommonASTWithHiddenTokens Class Reference

#include <CommonASTWithHiddenTokens.hpp>

Inheritance diagram for CommonASTWithHiddenTokens:

Inheritance graph
[legend]
Collaboration diagram for CommonASTWithHiddenTokens:

Collaboration graph
[legend]

Public Member Functions

 CommonASTWithHiddenTokens ()
virtual ~CommonASTWithHiddenTokens ()
virtual const char * typeName (void) const
 Return the class name.
virtual RefAST clone (void) const
 Clone this AST node.
virtual void initialize (int t, const ANTLR_USE_NAMESPACE(std) string &txt)
virtual void initialize (RefAST t)
virtual void initialize (RefToken t)
virtual RefToken getHiddenAfter () const
virtual RefToken getHiddenBefore () const

Static Public Member Functions

static RefAST factory ()

Static Public Attributes

static const char *const TYPE_NAME

Protected Attributes

RefToken hiddenBefore
RefToken hiddenAfter

Detailed Description

A CommonAST whose initialization copies hidden token information from the Token used to create a node.

Definition at line 21 of file CommonASTWithHiddenTokens.hpp.


Constructor & Destructor Documentation

CommonASTWithHiddenTokens::CommonASTWithHiddenTokens (  ) 

virtual CommonASTWithHiddenTokens::~CommonASTWithHiddenTokens (  )  [virtual]


Member Function Documentation

virtual const char* CommonASTWithHiddenTokens::typeName ( void   )  const [inline, virtual]

Return the class name.

Reimplemented from CommonAST.

Definition at line 25 of file CommonASTWithHiddenTokens.hpp.

References TYPE_NAME.

virtual RefAST CommonASTWithHiddenTokens::clone ( void   )  const [virtual]

Clone this AST node.

Reimplemented from CommonAST.

virtual void CommonASTWithHiddenTokens::initialize ( int  t,
const ANTLR_USE_NAMESPACE(std) string &  txt 
) [virtual]

Various initialization routines. Used by several factories to initialize an AST element.

Reimplemented from CommonAST.

virtual void CommonASTWithHiddenTokens::initialize ( RefAST  t  )  [virtual]

Reimplemented from CommonAST.

virtual void CommonASTWithHiddenTokens::initialize ( RefToken  t  )  [virtual]

Reimplemented from CommonAST.

virtual RefToken CommonASTWithHiddenTokens::getHiddenAfter (  )  const [inline, virtual]

Definition at line 37 of file CommonASTWithHiddenTokens.hpp.

virtual RefToken CommonASTWithHiddenTokens::getHiddenBefore (  )  const [inline, virtual]

Definition at line 42 of file CommonASTWithHiddenTokens.hpp.

static RefAST CommonASTWithHiddenTokens::factory (  )  [static]

Reimplemented from CommonAST.


Field Documentation

const char* const CommonASTWithHiddenTokens::TYPE_NAME [static]

Reimplemented from CommonAST.

Definition at line 49 of file CommonASTWithHiddenTokens.hpp.

Referenced by typeName().

Definition at line 51 of file CommonASTWithHiddenTokens.hpp.

Definition at line 51 of file CommonASTWithHiddenTokens.hpp.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:25 2009 for ctrump by  doxygen 1.5.6