ddparser.parse

Undocumented in source.

Members

Aliases

D_Parser
alias D_Parser = Parser
Undocumented in source.
StackInt
alias StackInt = Stack!int
Undocumented in source.
StackPNode
alias StackPNode = Stack!(PNode*)
Undocumented in source.
StackSNode
alias StackSNode = Stack!(SNode*)
Undocumented in source.
VecPNode
alias VecPNode = Vec!(PNode*)
Undocumented in source.
VecSNode
alias VecSNode = Vec!(SNode*)
Undocumented in source.
VecVecZNode
alias VecVecZNode = Vec!(VecZNode*)
Undocumented in source.
VecZNode
alias VecZNode = Vec!(ZNode*)
Undocumented in source.

Functions

DPN_TO_PN
PNode* DPN_TO_PN(D_ParseNode* dpn)
Undocumented in source. Be warned that the author may not have intended to support it.
D_ParseNode_to_PNode
auto D_ParseNode_to_PNode(D_ParseNode* _apn)
Undocumented in source. Be warned that the author may not have intended to support it.
LATEST
void LATEST(PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
PASS_CODE_FOUND
bool PASS_CODE_FOUND(D_Pass* _p, PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
PNODE_HASH
uint PNODE_HASH(char* _si, char* _ei, int _s, D_Scope* _sc, void* _g)
Undocumented in source. Be warned that the author may not have intended to support it.
PNodeIsLessGreedyThanPNode
bool PNodeIsLessGreedyThanPNode(PNode* x, PNode* y)
Undocumented in source. Be warned that the author may not have intended to support it.
PNode_to_D_ParseNode
auto PNode_to_D_ParseNode(PNode* _apn)
Undocumented in source. Be warned that the author may not have intended to support it.
SNODE_HASH
uint SNODE_HASH(uint _s, D_Scope* _sc, void* _g)
Undocumented in source. Be warned that the author may not have intended to support it.
advance
void advance(const(char)[] s, size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
ambiguity_abort_fn
D_ParseNode* ambiguity_abort_fn(D_Parser* pp, int n, D_ParseNode** v)
Undocumented in source. Be warned that the author may not have intended to support it.
ambiguity_count_fn
D_ParseNode* ambiguity_count_fn(D_Parser* p, int n, D_ParseNode** v)
Undocumented in source. Be warned that the author may not have intended to support it.
check_path_priorities
bool check_path_priorities(VecZNode _p)
Undocumented in source. Be warned that the author may not have intended to support it.
d_find_in_tree
D_ParseNode* d_find_in_tree(D_ParseNode* apn, int symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
d_get_child
D_ParseNode* d_get_child(D_ParseNode* apn, int child)
Undocumented in source. Be warned that the author may not have intended to support it.
d_get_number_of_children
int d_get_number_of_children(D_ParseNode* apn)
Undocumented in source. Be warned that the author may not have intended to support it.
d_pass
void d_pass(D_Parser* p, D_ParseNode* apn, int pass_number)
Undocumented in source. Be warned that the author may not have intended to support it.
d_ws_after
const(char)* d_ws_after(D_Parser* ap, D_ParseNode* apn)
Undocumented in source. Be warned that the author may not have intended to support it.
d_ws_before
const(char)* d_ws_before(D_Parser* ap, D_ParseNode* apn)
Undocumented in source. Be warned that the author may not have intended to support it.
dparse
D_ParseNode* dparse(D_Parser* p, string buf)
Undocumented in source. Be warned that the author may not have intended to support it.
free_D_ParseNode
void free_D_ParseNode(D_Parser* p, D_ParseNode* dpn)
Undocumented in source. Be warned that the author may not have intended to support it.
free_D_ParseTreeBelow
void free_D_ParseTreeBelow(D_Parser* p, D_ParseNode* dpn)
Undocumented in source. Be warned that the author may not have intended to support it.
free_D_Parser
void free_D_Parser(D_Parser* p)
Undocumented in source. Be warned that the author may not have intended to support it.
greedycmp
int greedycmp(PNode* x, PNode* y)
Undocumented in source. Be warned that the author may not have intended to support it.
is_epsilon_PNode
bool is_epsilon_PNode(PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
is_symbol_internal
bool is_symbol_internal(Parser* _p, PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
is_symbol_internal_or_EBNF
bool is_symbol_internal_or_EBNF(Parser* _p, PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
is_unreduced_epsilon_PNode
bool is_unreduced_epsilon_PNode(PNode* _pn)
Undocumented in source. Be warned that the author may not have intended to support it.
new_D_Parser
D_Parser* new_D_Parser(D_ParserTables* t, int sizeof_ParseNode_User)
Undocumented in source. Be warned that the author may not have intended to support it.
new_subparser
Parser* new_subparser(Parser* p)
Undocumented in source. Be warned that the author may not have intended to support it.
null_white_space
void null_white_space(D_Parser* p, d_loc_t* loc, void** p_globals)
Undocumented in source. Be warned that the author may not have intended to support it.
parse_whitespace
void parse_whitespace(D_Parser* ap, d_loc_t* loc, void** p_globals)
Undocumented in source. Be warned that the author may not have intended to support it.
resolve_amb_greedy
int resolve_amb_greedy(D_Parser* dp, int n, D_ParseNode** v)
Undocumented in source. Be warned that the author may not have intended to support it.
white_space
void white_space(D_Parser* p, d_loc_t* loc, void** p_user_globals)
Undocumented in source. Be warned that the author may not have intended to support it.
xprint_paren
void xprint_paren(Parser* pp, PNode* p)
Undocumented in source. Be warned that the author may not have intended to support it.
znode_next
ZNode* znode_next(ZNode* _z)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

DEFAULT_COMMIT_ACTIONS_INTERVAL
enum DEFAULT_COMMIT_ACTIONS_INTERVAL;
Undocumented in source.
ERROR_RECOVERY_QUEUE_SIZE
enum ERROR_RECOVERY_QUEUE_SIZE;
Undocumented in source.
NO_DPN
enum NO_DPN;
Undocumented in source.
PNODE_HASH_INITIAL_SIZE_INDEX
enum PNODE_HASH_INITIAL_SIZE_INDEX;
Undocumented in source.
SNODE_HASH_INITIAL_SIZE_INDEX
enum SNODE_HASH_INITIAL_SIZE_INDEX;
Undocumented in source.
x
enum x;
Undocumented in source.

Structs

PNode
struct PNode
Undocumented in source.
PNodeHash
struct PNodeHash
Undocumented in source.
Parser
struct Parser
Undocumented in source.
Reduction
struct Reduction
Undocumented in source.
SNode
struct SNode
Undocumented in source.
SNodeHash
struct SNodeHash
Undocumented in source.
Shift
struct Shift
Undocumented in source.
ZNode
struct ZNode
Undocumented in source.

Meta