26 #ifndef PARSER_UTIL_H_
27 #define PARSER_UTIL_H_
45 void save_str(
char *dst,
const char *src,
const int line_num);
46 void save_str(
string &dst,
const char *src,
const int);
48 bool is_keyword(
string id,
const string &keyword);
75 unsigned long long get_ull(
const char *val);
int check_float64(const char *val)
int check_int32(const char *val)
int check_int16(const char *val)
Is the value a valid integer?
int check_byte(const char *val)
Is the value a valid byte?
int check_url(const char *)
Is the value a valid URL?
bool is_keyword(string id, const string &keyword)
unsigned long long get_ull(const char *val)
int check_uint32(const char *val)
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?