#include <query.h>
Classes | |
struct | token_t |
Public Member Functions | |
lexer_t (const lexer_t &lexer) | |
lexer_t (value_t::sequence_t::const_iterator _begin, value_t::sequence_t::const_iterator _end, bool _multiple_args=true) | |
token_t | next_token (token_t::kind_t tok_context=token_t::UNKNOWN) |
token_t | peek_token (token_t::kind_t tok_context=token_t::UNKNOWN) |
void | push_token (token_t tok) |
bool | unbalanced_braces (const string str) |
~lexer_t () throw () | |
Public Attributes | |
token_t | token_cache |
Friends | |
class | parser_t |
class | query_t |
|
inline |
Definition at line 198 of file query.h.
References assert, and TRACE_CTOR.
Definition at line 211 of file query.h.
References TRACE_CTOR.
|
inline |
Definition at line 220 of file query.h.
References TRACE_DTOR.
token_t ledger::query_t::lexer_t::next_token | ( | token_t::kind_t | tok_context = token_t::UNKNOWN | ) |
|
inline |
Definition at line 229 of file query.h.
References ledger::downcast(), ledger::query_t::lexer_t::token_t::kind, next_token(), token_cache, and ledger::query_t::lexer_t::token_t::UNKNOWN.
Referenced by ledger::query_t::parser_t::tokens_remaining().
Definition at line 225 of file query.h.
References assert, ledger::downcast(), ledger::query_t::lexer_t::token_t::kind, token_cache, and ledger::query_t::lexer_t::token_t::UNKNOWN.
token_t ledger::query_t::lexer_t::token_cache |
Definition at line 196 of file query.h.
Referenced by peek_token(), and push_token().