18 ch==
'~' || ch==
'!' || ch==
'@' || ch==
'$' || ch==
'%' ||
19 ch==
'^' || ch==
'&' || ch==
'*' || ch==
'_' || ch==
'-' ||
20 ch==
'+' || ch==
'=' || ch==
'<' || ch==
'>' || ch==
'.' ||
95 if(ch==
'0' || ch==
'1')
167 throw error(
"EOF within quoted symbol");
188 return STRING_LITERAL;
192 return STRING_LITERAL;
198 throw error(
"EOF within string literal");
226 case static_cast<char>(160):
268 throw error(
"expecting symbol after colon");
284 throw error(
"unknown numeral token");
287 throw error(
"unexpected EOF in numeral token");
306 throw error() <<
"unexpected character '" << ch <<
'\'';
void get_token_from_stream()
read a token from the input stream and store it in 'token'
tokent get_string_literal()
tokent get_decimal_numeral()
enum { NONE, END_OF_FILE, STRING_LITERAL, NUMERAL, SYMBOL, KEYWORD, OPEN, CLOSE } tokent
smt2_errort error() const
generate an error exception
tokent get_simple_symbol()
tokent get_quoted_symbol()
bool is_smt2_simple_symbol_character(char ch)