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



Puma::CLexer::State Class Reference

#include <CLexer.h>

List of all members.

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]
int Puma::CLexer::State::len ( ) const [inline]
int Puma::CLexer::State::lines ( ) const [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]