tor
master
|
#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.
int concat_args |
If true, we concatenate all arguments for this item into a single string.
int is_annotation |
True iff this token is an annotation.
int max_args |
Maximum number of arguments for this item
int max_cnt |
Highest number of times this item may appear in a document.
int min_args |
Minimum number of arguments for this item
int min_cnt |
Lowest number of times this item may appear in a document.
obj_syntax os |
Requirements on object syntax for this item.
int pos |
One or more of AT_START/AT_END to limit where the item may appear in a document.
const char* t |
The string value of the keyword identifying the type of item.
The corresponding directory_keyword enum.