re_lex: attach attribute to strings in vec
[protos/libecoli.git] / libecoli / ecoli_node_re_lex.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
3  */
4
5 #ifndef ECOLI_NODE_RE_LEX_
6 #define ECOLI_NODE_RE_LEX_
7
8 #include <ecoli_node.h>
9
10 struct ec_node *ec_node_re_lex(const char *id, struct ec_node *child);
11
12 int ec_node_re_lex_add(struct ec_node *gen_node, const char *pattern, int keep,
13         const char *attr_name);
14
15 #endif