| Included in: | core.c |
| lex.abnf.c | |
| support.c | |
| version.c | |
| y.tab.c |
| struct ruleset | |
| { | |
| void* r_flex; | |
| FILE* abnferr; | |
| struct trie_dict* names; | |
| struct rule** rules; | |
| const char* prog; | |
| const char* file; | |
| unsigned int line; | |
| unsigned int nrules; | |
| unsigned int indent; | |
| unsigned int linelen; | |
| unsigned int canonicalize:1; | |
| unsigned int group:1; | |
| unsigned int normalize:1; | |
| unsigned int strcat:1; | |
| unsigned int tsort:1; | |
| unsigned int raw:1; | |
| unsigned int reverse:1; | |
| unsigned int gdebug:1; | |
| unsigned int ldebug:1; | |
| unsigned int cr:1; | |
| unsigned int cr2:1; | |
| unsigned int core:1; | |
| } |
| struct rule | |
| { | |
| int op; | |
| unsigned int inref_count; | |
| unsigned int outref_count; | |
| unsigned int inorder; | |
| struct rule** inedges; | |
| struct token* name; | |
| struct token* tokens; | |
| struct token* comment; | |
| struct token* last_token; | |
| struct token* last_comment; | |
| struct ruleset* ruleset; | |
| unsigned int block_comment:1; | |
| unsigned int mdef:1; | |
| } |
| struct token | |
| { | |
| char* tok; | |
| char* folded; | |
| struct rule* rule; | |
| struct rule* def; | |
| struct token* next; | |
| struct token* prev; | |
| struct token* open; | |
| struct token* close; | |
| struct token* cstart; | |
| struct token* cend; | |
| struct token* lit; | |
| struct token* rep; | |
| size_t len; | |
| int type; | |
| unsigned int line; | |
| unsigned int pad:1; | |
| } |