PUMA Library Reference Manual
Loading...
Searching...
No Matches
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

◆ State()

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

Member Function Documentation

◆ continuations()

int Puma::CLexer::State::continuations ( ) const
inline

◆ error()

bool Puma::CLexer::State::error ( ) const
inline

◆ id()

IdType Puma::CLexer::State::id ( ) const
inline

◆ lang()

LanguageID Puma::CLexer::State::lang ( ) const
inline

◆ len()

int Puma::CLexer::State::len ( ) const
inline

◆ lines()

int Puma::CLexer::State::lines ( ) const
inline

◆ macro_unit()

void Puma::CLexer::State::macro_unit ( )
inline

◆ next()

bool Puma::CLexer::State::next ( )
inline

◆ number()

int Puma::CLexer::State::number ( ) const
inline

◆ start()

const char * Puma::CLexer::State::start ( ) const
inline

◆ text()

std::string Puma::CLexer::State::text ( ) const
inline