Top |
Parses a CtplToken tree against a CtplEnviron.
To parse a token tree, use ctpl_parser_parse()
.
#define CTPL_PARSER_ERROR (ctpl_parser_error_quark ())
Error domain of CtplParser.
gboolean ctpl_parser_parse (const CtplToken *tree
,CtplEnviron *env
,CtplOutputStream *output
,GError **error
);
Parses a token tree against an environment and outputs the result to output
.
tree |
A CtplToken from which start parsing |
|
env |
A CtplEnviron representing the parsing environment |
|
output |
A CtplInputStream in which write parsing output |
|
error |
Error codes that parsing functions can throw, from the CTPL_PARSER_ERROR
domain.