re_token_t
re_token_t *clexp_node;
const re_token_t *token);
static void free_token (re_token_t *node);
fetch_token (re_token_t *result, re_string_t *input, reg_syntax_t syntax)
peek_token (re_token_t *token, re_string_t *input, reg_syntax_t syntax)
re_token_t next;
peek_token_bracket (re_token_t *token, re_string_t *input, reg_syntax_t syntax)
re_token_t current_token;
parse_reg_exp (re_string_t *regexp, regex_t *preg, re_token_t *token,
parse_branch (re_string_t *regexp, regex_t *preg, re_token_t *token,
parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token,
parse_sub_exp (re_string_t *regexp, regex_t *preg, re_token_t *token,
re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err)
re_token_t start_token = *token;
parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
re_token_t br_token;
re_token_t token2;
re_token_t *token, int token_len, re_dfa_t *dfa,
re_token_t token2;
re_token_t *token)
re_token_t br_token;
fetch_number (re_string_t *input, re_token_t *token, reg_syntax_t syntax)
re_token_t t;
const re_token_t *token)
free_token (re_token_t *node)
static Idx fetch_number (re_string_t *input, re_token_t *token,
static int peek_token (re_token_t *token, re_string_t *input,
re_token_t *token, reg_syntax_t syntax,
re_token_t *token, reg_syntax_t syntax,
re_token_t *token, reg_syntax_t syntax,
re_token_t *token, reg_syntax_t syntax,
re_dfa_t *dfa, re_token_t *token,
re_token_t *token, reg_syntax_t syntax,
re_token_t *token, int token_len,
MAX (sizeof (re_token_t),
dfa->nodes = re_malloc (re_token_t, dfa->nodes_alloc);
re_token_t *token);
re_dfa_add_node (re_dfa_t *dfa, re_token_t token)
re_token_t *new_nodes;
const size_t max_object_size = MAX (sizeof (re_token_t),
new_nodes = re_realloc (dfa->nodes, re_token_t, new_nodes_alloc);
re_token_t *node = dfa->nodes + nodes->elems[i];
re_token_t *node = dfa->nodes + nodes->elems[i];
re_token_t token;
re_token_t *nodes;
const re_token_t *node, Idx idx);
const re_token_t *node = dfa->nodes + node_idx;
const re_token_t *node = dfa->nodes + cls_node;
re_token_t *node = &dfa->nodes[cur_nodes->elems[i]];
const re_token_t *node = dfa->nodes + node_idx;
check_node_accept (const re_match_context_t *mctx, const re_token_t *node,