struct ec_node * ec_node_many(const char *id, struct ec_node *child, unsigned int min, unsigned int max)
Create a many node that matches its child multiple times.
int ec_node_many_set_params(struct ec_node *gen_node, struct ec_node *child, unsigned int min, unsigned int max)
Set the parameters of a many node.
struct ec_node * ec_node(const char *typename, const char *id)
Create a new node from its type name.