PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::InstantiationTokenSource Class Reference

#include <InstantiationTokenSource.h>

+ Inheritance diagram for Puma::InstantiationTokenSource:

Public Member Functions

 InstantiationTokenSource (CTree *root)
 
 ~InstantiationTokenSource ()
 
Tokennext ()
 Get the next token. More...
 
CTreeroot () const
 
CTreenode () const
 
bool detectedDelayedParseNode () const
 
- Public Member Functions inherited from Puma::TokenSource
virtual ~TokenSource ()
 Destructor. More...
 
virtual Tokennext ()=0
 Get the next token. More...
 

Constructor & Destructor Documentation

◆ InstantiationTokenSource()

Puma::InstantiationTokenSource::InstantiationTokenSource ( CTree root)

◆ ~InstantiationTokenSource()

Puma::InstantiationTokenSource::~InstantiationTokenSource ( )
inline

Member Function Documentation

◆ detectedDelayedParseNode()

bool Puma::InstantiationTokenSource::detectedDelayedParseNode ( ) const
inline

◆ next()

Token * Puma::InstantiationTokenSource::next ( )
virtual

Get the next token.

Returns
The next token from the source, or NULL if no more tokens.

Implements Puma::TokenSource.

◆ node()

CTree * Puma::InstantiationTokenSource::node ( ) const
inline

◆ root()

CTree * Puma::InstantiationTokenSource::root ( ) const
inline