Puma Reference Manual | Puma::InstantiationTokenProvider Class Reference |
Provides tokens from a syntax tree. More...
#include <Puma/InstantiationTokenProvider.h>
Public Member Functions | |
InstantiationTokenProvider (InstantiationTokenSource &s) | |
Constructor. | |
CTree * | node () const |
Get current token node. | |
Protected Member Functions | |
virtual void * | read () |
Read next token. | |
virtual Token * | token () const |
Get the current token. |
Provides tokens from a syntax tree.
Puma::InstantiationTokenProvider::InstantiationTokenProvider | ( | InstantiationTokenSource & | s | ) | [inline] |
Constructor.
s | The token source from which to read the tokens. |
CTree* Puma::InstantiationTokenProvider::node | ( | ) | const |
Get current token node.
virtual void* Puma::InstantiationTokenProvider::read | ( | ) | [protected, virtual] |
Read next token.
Reimplemented from Puma::TokenProvider.
virtual Token* Puma::InstantiationTokenProvider::token | ( | ) | const [protected, virtual] |
Get the current token.
Reimplemented from Puma::TokenProvider.