APG
… an ABNF Parser Generator
|
The original seven ABNF operators defined by RFC5234. More...
#include "./lib.h"
#include "./parserp.h"
#include "./astp.h"
#include "./tracep.h"
#include "./statsp.h"
#include "./operators.h"
#include "./backref.h"
#include "./backrefu.h"
#include "./backrefp.h"
Go to the source code of this file.
Functions | |
void | vAlt (parser *spCtx, const opcode *spOp) |
void | vCat (parser *spCtx, const opcode *spOp) |
void | vRep (parser *spCtx, const opcode *spOp) |
void | vRnm (parser *spCtx, const opcode *spOp) |
void | vTrg (parser *spCtx, const opcode *spOp) |
void | vTls (parser *spCtx, const opcode *spOp) |
void | vTbs (parser *spCtx, const opcode *spOp) |
The original seven ABNF operators defined by RFC5234.
Note that each operation uses a set of pre-parsing macros (before proceeding down the tree) and a set of post-parsing macros (up the tree.) Many of the parsing features, such as tracing and PPPT use are configurable. Macros are used so that when a feature is configured to not be present, the macro is empty - it defines no code at all. Depending on the operator these would be:
pre-parsing
post-parsing
These functions are for internal, parser use only. They are never to be called directly by the application.
Definition in file operators-abnf.c.
void vAlt | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 66 of file operators-abnf.c.
void vCat | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 99 of file operators-abnf.c.
void vRep | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 148 of file operators-abnf.c.
void vRnm | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 245 of file operators-abnf.c.
void vTbs | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 386 of file operators-abnf.c.
void vTls | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 347 of file operators-abnf.c.
void vTrg | ( | parser * | spCtx, |
const opcode * | spOp | ||
) |
Definition at line 323 of file operators-abnf.c.