NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
parse.h
Go to the documentation of this file.
1
24#ifndef MUTT_EXPANDO_PARSER_H
25#define MUTT_EXPANDO_PARSER_H
26
27#include "node_condition.h"
28
30
35{
36 char message[256];
37 const char *position;
38};
39
40struct ExpandoNode *node_parse(const char *str, const char *end,
41 enum ExpandoConditionStart condition_start,
42 const char **parsed_until,
43 const struct ExpandoDefinition *defs,
44 struct ExpandoParseError *err);
45
46#endif /* MUTT_EXPANDO_PARSER_H */
struct ExpandoNode * node_parse(const char *str, const char *end, enum ExpandoConditionStart condition_start, const char **parsed_until, const struct ExpandoDefinition *defs, struct ExpandoParseError *err)
Parse a format string into ExpandoNodes.
Definition: parse.c:124
Expando Node for a Condition.
ExpandoConditionStart
Signals node_parse() if the parsing started in a conditional statement or not.
Definition of a format string.
Definition: definition.h:52
Basic Expando Node.
Definition: node.h:67
Buffer for parsing errors.
Definition: parse.h:35
const char * position
Position of error in original string.
Definition: parse.h:37
char message[256]
Error message.
Definition: parse.h:36