|
librdesc
|
Context-free grammar definition. More...
#include <cfg.h>
Public Attributes | |
| const struct rdesc_cfg_symbol * | rules |
| uint32_t | nt_count |
| uint16_t | nt_variant_count |
| uint16_t | nt_body_length |
| uint16_t * | child_caps |
Context-free grammar definition.
| uint16_t* rdesc_cfg::child_caps |
maximum number of children of non-terminal variants
| uint16_t rdesc_cfg::nt_body_length |
maximum number of symbols in a variant
| uint32_t rdesc_cfg::nt_count |
total number of non-terminals
| uint16_t rdesc_cfg::nt_variant_count |
maximum number of variants, used for segmenting production rules array to an 3D array
| const struct rdesc_cfg_symbol* rdesc_cfg::rules |
context-free grammar production rules