ddparser.gram

Undocumented in source.

Members

Aliases

DECLARE_NUM
alias DECLARE_NUM = DeclarationKind.DECLARE_NUM
Undocumented in source.
D_Grammar
alias D_Grammar = Grammar
Undocumented in source.
Item
alias Item = Elem
Undocumented in source.
VecAction
alias VecAction = Vec!(Action*)
Undocumented in source.
VecHint
alias VecHint = Vec!(Hint*)
Undocumented in source.
VecScanStateTransition
alias VecScanStateTransition = Vec!(ScanStateTransition*)
Undocumented in source.

Enums

ActionKind
enum ActionKind
Undocumented in source.
AssocKind
enum AssocKind
Undocumented in source.
DeclarationKind
enum DeclarationKind
Undocumented in source.
ElemKind
enum ElemKind
Undocumented in source.
InternalKind
enum InternalKind
Undocumented in source.
TermKind
enum TermKind
Undocumented in source.

Functions

IS_BINARY_ASSOC
bool IS_BINARY_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_BINARY_NARY_ASSOC
bool IS_BINARY_NARY_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_EXPECT_LEFT_ASSOC
bool IS_EXPECT_LEFT_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_EXPECT_RIGHT_ASSOC
bool IS_EXPECT_RIGHT_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_LEFT_ASSOC
bool IS_LEFT_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_NARY_ASSOC
bool IS_NARY_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_RIGHT_ASSOC
bool IS_RIGHT_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_UNARY_ASSOC
bool IS_UNARY_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
IS_UNARY_BINARY_ASSOC
bool IS_UNARY_BINARY_ASSOC(AssocKind _x)
Undocumented in source. Be warned that the author may not have intended to support it.
add_declaration
void add_declaration(Grammar* g, string s, DeclarationKind kind, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
add_pass
void add_pass(Grammar* g, string name, uint kind, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
add_pass_code
void add_pass_code(Grammar* g, Rule* r, string name, string code, uint pass_line, uint code_line)
Undocumented in source. Be warned that the author may not have intended to support it.
build_eq
void build_eq(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
build_grammar
int build_grammar(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
conditional_EBNF
void conditional_EBNF(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
dup_elem
Elem* dup_elem(Elem* e, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
escape_string_for_regex
string escape_string_for_regex(char[] s)
Undocumented in source. Be warned that the author may not have intended to support it.
find_pass
D_Pass* find_pass(Grammar* g, const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
finish_productions
void finish_productions(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
free_D_Grammar
void free_D_Grammar(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize_productions
void initialize_productions(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
lookup_production
Production* lookup_production(Grammar* g, const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
new_D_Grammar
Grammar* new_D_Grammar()
Undocumented in source. Be warned that the author may not have intended to support it.
new_code
Elem* new_code(Grammar* g, string s, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
new_declaration
void new_declaration(Grammar* g, Elem* e, DeclarationKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
new_elem_nterm
Elem* new_elem_nterm(Production* p, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
new_ident
Elem* new_ident(string s, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
new_internal_production
Production* new_internal_production(Grammar* g, Production* p)
Undocumented in source. Be warned that the author may not have intended to support it.
new_production
Production* new_production(Grammar* g, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
new_rule
Rule* new_rule(Grammar* g, Production* p)
Undocumented in source. Be warned that the author may not have intended to support it.
new_string
Elem* new_string(Grammar* g, string s, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
new_token
void new_token(Grammar* g, string s)
Undocumented in source. Be warned that the author may not have intended to support it.
new_utf8_char
Elem* new_utf8_char(Grammar* g, const(char)* s, const(char)* e, Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
plus_EBNF
void plus_EBNF(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
print_elem
void print_elem(Elem* ee)
Undocumented in source. Be warned that the author may not have intended to support it.
print_grammar
void print_grammar(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
print_rdebug_grammar
void print_rdebug_grammar(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
print_rule
void print_rule(Rule* r)
Undocumented in source. Be warned that the author may not have intended to support it.
print_states
void print_states(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.
print_term
void print_term(Term* t)
Undocumented in source. Be warned that the author may not have intended to support it.
rep_EBNF
void rep_EBNF(Grammar* g, int min, int max)
Undocumented in source. Be warned that the author may not have intended to support it.
star_EBNF
void star_EBNF(Grammar* g)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

ASSOC_BINARY
enum ASSOC_BINARY;
Undocumented in source.
ASSOC_LEFT
enum ASSOC_LEFT;
Undocumented in source.
ASSOC_NARY
enum ASSOC_NARY;
Undocumented in source.
ASSOC_RIGHT
enum ASSOC_RIGHT;
Undocumented in source.
ASSOC_UNARY
enum ASSOC_UNARY;
Undocumented in source.
EOF_SENTINAL
enum EOF_SENTINAL;
Undocumented in source.
NO_PROD
enum NO_PROD;
Undocumented in source.

Structs

Action
struct Action
Undocumented in source.
Code
struct Code
Undocumented in source.
Declaration
struct Declaration
Undocumented in source.
Elem
struct Elem
Undocumented in source.
EqState
struct EqState
Undocumented in source.
Goto
struct Goto
Undocumented in source.
Grammar
struct Grammar
Undocumented in source.
Hint
struct Hint
Undocumented in source.
Production
struct Production
Undocumented in source.
Rule
struct Rule
Undocumented in source.
Scanner
struct Scanner
Undocumented in source.
State
struct State
Undocumented in source.
Term
struct Term
Undocumented in source.

Variables

action_types
string action_types;
Undocumented in source.

Meta