Puma Reference Manual Puma::CLexer::State Class Reference



Puma::CLexer::State Class Reference

#include <CLexer.h>

Public Member Functions

 State (CLexer &lexer, CLexerBuffer &buffer)
 
void macro_unit ()
 
bool error () const
 
IdType id () const
 
LanguageID lang () const
 
int continuations () const
 
int lines () const
 
int number () const
 
const char * start () const
 
int len () const
 
std::string text () const
 
bool next ()
 

Constructor & Destructor Documentation

Puma::CLexer::State::State ( CLexer lexer,
CLexerBuffer buffer 
)
inline

Member Function Documentation

int Puma::CLexer::State::continuations ( ) const
inline
bool Puma::CLexer::State::error ( ) const
inline
IdType Puma::CLexer::State::id ( ) const
inline
LanguageID Puma::CLexer::State::lang ( ) const
inline
int Puma::CLexer::State::len ( ) const
inline
int Puma::CLexer::State::lines ( ) const
inline
void Puma::CLexer::State::macro_unit ( )
inline
bool Puma::CLexer::State::next ( )
inline
int Puma::CLexer::State::number ( ) const
inline
const char* Puma::CLexer::State::start ( ) const
inline
std::string Puma::CLexer::State::text ( ) const
inline



Puma Reference Manual. Created on Sat Dec 21 2019.