1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2019, Olivier MATZ <zer0@droids-corp.org>
6 * @defgroup nodes Nodes
9 * The condition node checks that an expression is true before
10 * parsing/completing the child node. If it is false, the node
11 * doesn't match anything.
14 #ifndef ECOLI_NODE_COND_
15 #define ECOLI_NODE_COND_
20 * Create a condition node.
23 * The node identifier.
25 * The condition string. This is an function-based expression.
27 * The ecoli child node.
29 * The new ecoli cond node.
31 struct ec_node *ec_node_cond(const char *id, const char *cond_str,
32 struct ec_node *child);