|
Tor 0.4.9.3-alpha-dev
|
#include <parsecommon.h>
Data Fields | |
| const char * | t |
| directory_keyword | v |
| int | min_args |
| int | max_args |
| int | concat_args |
| obj_syntax | os |
| int | min_cnt |
| int | max_cnt |
| int | pos |
| int | is_annotation |
Determines the parsing rules for a single token type.
Definition at line 279 of file parsecommon.h.
| int concat_args |
If true, we concatenate all arguments for this item into a single string.
Definition at line 290 of file parsecommon.h.
| int is_annotation |
True iff this token is an annotation.
Definition at line 301 of file parsecommon.h.
| int max_args |
Maximum number of arguments for this item
Definition at line 287 of file parsecommon.h.
Referenced by get_next_token().
| int max_cnt |
Highest number of times this item may appear in a document.
Definition at line 296 of file parsecommon.h.
| int min_args |
Minimum number of arguments for this item
Definition at line 285 of file parsecommon.h.
Referenced by get_next_token().
| int min_cnt |
Lowest number of times this item may appear in a document.
Definition at line 294 of file parsecommon.h.
| obj_syntax os |
Requirements on object syntax for this item.
Definition at line 292 of file parsecommon.h.
Referenced by get_next_token().
| int pos |
One or more of AT_START/AT_END to limit where the item may appear in a document.
Definition at line 299 of file parsecommon.h.
| const char* t |
The string value of the keyword identifying the type of item.
Definition at line 281 of file parsecommon.h.
Referenced by get_next_token(), and tokenize_string().
The corresponding directory_keyword enum.
Definition at line 283 of file parsecommon.h.
Referenced by get_next_token().