token_rule_t Struct Reference


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

Detailed Description

Determines the parsing rules for a single token type.

Field Documentation

const char* token_rule_t::t

The string value of the keyword identifying the type of item.

Referenced by get_next_token(), and tokenize_string().

The corresponding directory_keyword enum.

Referenced by get_next_token().

Minimum number of arguments for this item

Referenced by get_next_token().

Maximum number of arguments for this item

Referenced by get_next_token().

If true, we concatenate all arguments for this item into a single string.

Requirements on object syntax for this item.

Referenced by get_next_token().

Lowest number of times this item may appear in a document.

Highest number of times this item may appear in a document.

One or more of AT_START/AT_END to limit where the item may appear in a document.

True iff this token is an annotation.


The documentation for this struct was generated from the following file:

Generated on Tue May 25 00:31:24 2010 for tor by  doxygen 1.5.6