#include <smt2_tokenizer.h>
|
using | tokent = enum { NONE, END_OF_FILE, STRING_LITERAL, NUMERAL, SYMBOL, KEYWORD, OPEN, CLOSE } |
|
Definition at line 15 of file smt2_tokenizer.h.
◆ tokent
◆ smt2_tokenizert()
smt2_tokenizert::smt2_tokenizert |
( |
std::istream & |
_in | ) |
|
|
inlineexplicit |
◆ error() [1/2]
◆ error() [2/2]
smt2_errort smt2_tokenizert::error |
( |
const std::string & |
message | ) |
const |
|
inline |
generate an error exception, pre-filled with a message
Definition at line 102 of file smt2_tokenizer.h.
◆ get_bin_numeral()
◆ get_buffer()
const std::string& smt2_tokenizert::get_buffer |
( |
| ) |
const |
|
inline |
◆ get_decimal_numeral()
◆ get_hex_numeral()
◆ get_quoted_symbol()
◆ get_simple_symbol()
◆ get_string_literal()
◆ get_token_from_stream()
void smt2_tokenizert::get_token_from_stream |
( |
| ) |
|
|
private |
read a token from the input stream and store it in 'token'
Definition at line 211 of file smt2_tokenizer.cpp.
◆ next_token()
◆ peek()
tokent smt2_tokenizert::peek |
( |
| ) |
|
|
inline |
◆ skip_to_end_of_list()
void smt2_tokenizert::skip_to_end_of_list |
( |
| ) |
|
|
protected |
skip any tokens until all parentheses are closed or the end of file is reached
◆ token_is_quoted_symbol()
bool smt2_tokenizert::token_is_quoted_symbol |
( |
| ) |
const |
|
inline |
◆ buffer
std::string smt2_tokenizert::buffer |
|
protected |
◆ in
std::istream* smt2_tokenizert::in |
|
protected |
◆ line_no
unsigned smt2_tokenizert::line_no |
|
protected |
◆ peeked
bool smt2_tokenizert::peeked |
|
protected |
◆ quoted_symbol
bool smt2_tokenizert::quoted_symbol = false |
|
protected |
◆ token
The documentation for this class was generated from the following files: