clingo
|
#include <lexerstate.hh>
Classes | |
struct | State |
Public Types | |
using | Data = T |
Public Member Functions | |
LexerState () | |
void | start () |
bool | eof () const |
bool | push (std::string const &file, T &&data) |
bool | push (std::unique_ptr< std::istream > in, T &&data) |
void | pop () |
bool | empty () const |
std::string | string (int start=0, int end=0) |
void | step (char s) |
void | step () |
int | integer () const |
int | line () const |
int | column () const |
T const & | data () const |
char *& | cursor () |
char *& | marker () |
char *& | ctxmarker () |
char const * | limit () const |
void | fill (size_t n) |
void | seek (int offset) |
using Gringo::LexerState< T >::Data = T |
|
default |
int Gringo::LexerState< T >::column | ( | ) | const |
char *& Gringo::LexerState< T >::ctxmarker | ( | ) |
char *& Gringo::LexerState< T >::cursor | ( | ) |
T const & Gringo::LexerState< T >::data | ( | ) | const |
bool Gringo::LexerState< T >::empty | ( | ) | const |
bool Gringo::LexerState< T >::eof | ( | ) | const |
void Gringo::LexerState< T >::fill | ( | size_t | n | ) |
int Gringo::LexerState< T >::integer | ( | ) | const |
char const * Gringo::LexerState< T >::limit | ( | ) | const |
int Gringo::LexerState< T >::line | ( | ) | const |
char *& Gringo::LexerState< T >::marker | ( | ) |
void Gringo::LexerState< T >::pop | ( | ) |
bool Gringo::LexerState< T >::push | ( | std::string const & | file, |
T && | data | ||
) |
bool Gringo::LexerState< T >::push | ( | std::unique_ptr< std::istream > | in, |
T && | data | ||
) |
void Gringo::LexerState< T >::seek | ( | int | offset | ) |
void Gringo::LexerState< T >::start | ( | ) |
void Gringo::LexerState< T >::step | ( | char | s | ) |
void Gringo::LexerState< T >::step | ( | ) |
std::string Gringo::LexerState< T >::string | ( | int | start = 0 , |
int | end = 0 |
||
) |