Libecoli  0.10.1
Extensible COmmand LIne library
node_re_lex.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3  */
4 
10 #pragma once
11 
12 #include <ecoli/node.h>
13 
14 struct ec_node *ec_node_re_lex(const char *id, struct ec_node *child);
15 
16 int ec_node_re_lex_add(
17  struct ec_node *gen_node,
18  const char *pattern,
19  int keep,
20  const char *attr_name
21 );
22 
struct ec_node * ec_node(const char *typename, const char *id)