|
Tor
0.4.7.0-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 274 of file parsecommon.h.
| int concat_args |
If true, we concatenate all arguments for this item into a single string.
Definition at line 285 of file parsecommon.h.
| int is_annotation |
True iff this token is an annotation.
Definition at line 296 of file parsecommon.h.
| int max_args |
Maximum number of arguments for this item
Definition at line 282 of file parsecommon.h.
| int max_cnt |
Highest number of times this item may appear in a document.
Definition at line 291 of file parsecommon.h.
| int min_args |
Minimum number of arguments for this item
Definition at line 280 of file parsecommon.h.
| int min_cnt |
Lowest number of times this item may appear in a document.
Definition at line 289 of file parsecommon.h.
| obj_syntax os |
Requirements on object syntax for this item.
Definition at line 287 of file parsecommon.h.
| int pos |
One or more of AT_START/AT_END to limit where the item may appear in a document.
Definition at line 294 of file parsecommon.h.
| const char* t |
The string value of the keyword identifying the type of item.
Definition at line 276 of file parsecommon.h.
The corresponding directory_keyword enum.
Definition at line 278 of file parsecommon.h.