ecoli_node_cond - Man Page
Name
ecoli_node_cond — Condition node
— A node that conditionally matches based on an expression.
Synopsis
Functions
struct ec_node * ec_node_cond (const char *id, const char *cond_str, struct ec_node *child)
Detailed Description
A node that conditionally matches based on an expression.
Configuration Schema
schema cond {
string expr {
description "XXX";
}
node child {
description "The child node.";
}
}Function Documentation
struct ec_node * ec_node_cond (const char * id, const char * cond_str, struct ec_node * child)
Create a condition node.
The condition node checks that an expression is true before parsing/completing the child node. If it is false, the node doesn't match anything.
- Parameters
id The node identifier.
cond_str The condition string. This is a function-based expression.
child The ecoli child node.- Returns
The new ecoli cond node.
Author
Generated automatically by Doxygen for Libecoli from the source code.
Referenced By
The man page ec_node_cond(3) is an alias of ecoli_node_cond(3).
Version 0.11.3 Libecoli