Expando Node for a Condition. More...
#include "node_text.h"
Go to the source code of this file.
Enumerations | |
enum | ENCondition { ENC_CONDITION , ENC_TRUE , ENC_FALSE } |
Names for the Condition's children. More... | |
Functions | |
struct ExpandoNode * | node_condition_parse (const char *str, NodeTextTermFlags term_chars, const struct ExpandoDefinition *defs, const char **parsed_until, struct ExpandoParseError *err) |
Parse a conditional Expando. | |
Expando Node for a Condition.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file node_condition.h.
enum ENCondition |
Names for the Condition's children.
A Condition has three children:
Enumerator | |
---|---|
ENC_CONDITION | Index of Condition Node. |
ENC_TRUE | Index of True Node. |
ENC_FALSE | Index of False Node. |
Definition at line 40 of file node_condition.h.
struct ExpandoNode * node_condition_parse | ( | const char * | str, |
NodeTextTermFlags | term_chars, | ||
const struct ExpandoDefinition * | defs, | ||
const char ** | parsed_until, | ||
struct ExpandoParseError * | err | ||
) |
Parse a conditional Expando.
[in] | str | String to parse |
[in] | term_chars | Terminator characters, e.g. NTE_GREATER |
[in] | defs | Expando definitions |
[out] | parsed_until | First character after parsed string |
[out] | err | Buffer for errors |
ptr | Expando Node |
Definition at line 140 of file node_condition.c.