#include "config.h"#include <stdbool.h>#include <stdio.h>#include "parse.h"#include "definition.h"#include "node.h"#include "node_condition.h"#include "node_expando.h"#include "node_text.h"
Include dependency graph for parse.c:Go to the source code of this file.
Functions | |
| struct ExpandoNode * | node_parse_one (const char *str, NodeTextTermFlags term_chars, const struct ExpandoDefinition *defs, const char **parsed_until, struct ExpandoParseError *err) |
| Parse a single Expando from a format string. | |
| bool | node_parse_many (struct ExpandoNode *node_cont, const char *str, NodeTextTermFlags term_chars, const struct ExpandoDefinition *defs, const char **parsed_until, struct ExpandoParseError *err) |
| Parse a format string. | |
Expando Parsing.
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 parse.c.
| struct ExpandoNode * node_parse_one | ( | const char * | str, |
| NodeTextTermFlags | term_chars, | ||
| const struct ExpandoDefinition * | defs, | ||
| const char ** | parsed_until, | ||
| struct ExpandoParseError * | err ) |
Parse a single Expando from a format string.
| [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 49 of file parse.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool node_parse_many | ( | struct ExpandoNode * | node_cont, |
| const char * | str, | ||
| NodeTextTermFlags | term_chars, | ||
| const struct ExpandoDefinition * | defs, | ||
| const char ** | parsed_until, | ||
| struct ExpandoParseError * | err ) |
Parse a format string.
| [in] | node_cont | Container for the results |
| [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 |
| true | Success |
Definition at line 81 of file parse.c.
Here is the call graph for this function:
Here is the caller graph for this function: