44 #undef YYERROR_VERBOSE
76 parser_arg(
void *obj) : _object(obj), _error(0), _status(1)
130 void parse_error(parser_arg *arg,
const char *s,
const int line_num = 0,
131 const char *context = 0);
132 void parse_error(
const string &msg,
const int line_num,
133 const char *context = 0);
150 void save_str(
char *dst,
const char *src,
const int line_num);
151 void save_str(
string &dst,
const char *src,
const int);
153 bool is_keyword(
string id,
const string &keyword);
int check_float64(const char *val)
int check_int32(const char *val)
int check_int16(const char *val)
Is the value a valid integer?
void set_object(void *obj)
void set_status(int val=0)
int check_byte(const char *val)
Is the value a valid byte?
void set_error(Error *obj)
int check_url(const char *)
Is the value a valid URL?
void parse_error(parser_arg *arg, const char *msg, const int line_num, const char *context)
Pass parameters by reference to a parser.
bool is_keyword(string id, const string &keyword)
int check_uint32(const char *val)
A class for error processing.
int check_uint16(const char *val)
void save_str(char *dst, const char *src, const int line_num)
Save a string to a temporary variable during the parse.
int check_float32(const char *val)
Is the value a valid float?