#include "Error.h"
Include dependency graph for parser.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | parser_arg |
Pass parameters by reference to a parser. Pass parameters by reference to a parser. More... | |
parse_error | |
Generate error messages for the various parsers.
| |
void | parse_error (const string &msg, const int line_num, const char *context=0) |
void | parse_error (parser_arg *arg, const char *s, const int line_num=0, const char *context=0) |
Defines | |
#define | FALSE 0 |
#define | ID_MAX 256 |
#define | TRUE 1 |
#define | YY_NO_UNPUT 1 |
#define | YYDEBUG 1 |
Functions | |
int | check_byte (const char *val) |
Is the value a valid byte? | |
int | check_float32 (const char *val) |
Is the value a valid float? | |
int | check_float64 (const char *val) |
int | check_int16 (const char *val) |
Is the value a valid integer? | |
int | check_int32 (const char *val) |
int | check_uint16 (const char *val) |
int | check_uint32 (const char *val) |
int | check_url (const char *val) |
Is the value a valid URL? | |
bool | is_keyword (string id, const string &keyword) |
void | save_str (string &dst, const char *src, const int) |
void | save_str (char *dst, const char *src, const int line_num) |
Save a string to a temporary variable during the parse. |
|
|
|
|
|
|
|
|
|
|
|
Check to see if
Definition at line 157 of file parser-util.cc. References DBG. |
|
Like Definition at line 247 of file parser-util.cc. References DBG, and DODS_FLT_MAX. |
|
Definition at line 275 of file parser-util.cc. References DBG, and DODS_DBL_MAX. |
|
Like Definition at line 183 of file parser-util.cc. References DODS_SHRT_MAX. |
|
Definition at line 215 of file parser-util.cc. References DODS_INT_MAX. |
|
Definition at line 199 of file parser-util.cc. |
|
Definition at line 231 of file parser-util.cc. |
|
Currently this function always returns true. Definition at line 332 of file parser-util.cc. |
|
Definition at line 149 of file parser-util.cc. References DBG, downcase(), and prune_spaces(). |
Here is the call graph for this function:
|
Definition at line 128 of file parser-util.cc. Referenced by save_str(). |
|
Definition at line 68 of file parser-util.cc. References append_long_to_string(), FALSE, parser_arg::set_error(), parser_arg::set_status(), and unknown_error. |
Here is the call graph for this function:
|
Definition at line 144 of file parser-util.cc. |
|
Given a string (
Definition at line 133 of file parser-util.cc. References ID_MAX, long_to_string(), and parse_error(). |
Here is the call graph for this function: