PUMA Library Reference Manual
|
#include <Puma/TokenSource.h>
Token source interface.
To be implemented by all sources providing lexical tokens.
Public Member Functions | |
virtual | ~TokenSource () |
Destructor. | |
virtual Token * | next ()=0 |
Get the next token. | |
|
inlinevirtual |
Destructor.
|
pure virtual |
Get the next token.
Implemented in Puma::TokenStream, Puma::UnitTokenSrc, Puma::PreprocessorParser, and Puma::InstantiationTokenSource.