15#include <ecoli/node.h>
struct ec_node * ec_node_re_lex(const char *id, struct ec_node *child)
Create a regex-based lexer node.
int ec_node_re_lex_add(struct ec_node *gen_node, const char *pattern, int keep, const char *attr_name)
Add a token pattern to a regex lexer node.
struct ec_node * ec_node(const char *typename, const char *id)
Create a new node from its type name.