Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Functions
parser-translate-init.c File Reference

Private parser utility functions. Never called directly by user. More...

#include "./lib.h"
#include "./parserp.h"
Include dependency graph for parser-translate-init.c:

Go to the source code of this file.

Functions

void vTranslateRules (parser *spCtx, rule *spRules, opcode *spOpcodes, luint *luipData)
 Translate the initialization data for the rules into the internal rules format. More...
 
void vTranslateUdts (parser *spCtx, udt *spUdts, luint *luipData)
 Translate the initialization data for the UDTs into the internal UDT format. More...
 
void vTranslateOpcodes (parser *spCtx, rule *spRules, udt *spUdts, opcode *spOpcodes, luint *luipData)
 Translate the initialization data for the opcodes into the internal opcode format. More...
 

Detailed Description

Private parser utility functions. Never called directly by user.

This set of functions is called by the parser's constructor to translate the initialization data into the rules, UDTs and opcodes.

Definition in file parser-translate-init.c.

Function Documentation

◆ vTranslateOpcodes()

void vTranslateOpcodes ( parser *  spCtx,
rule spRules,
udt spUdts,
opcode *  spOpcodes,
luint luipData 
)

Translate the initialization data for the opcodes into the internal opcode format.

Definition at line 76 of file parser-translate-init.c.

◆ vTranslateRules()

void vTranslateRules ( parser *  spCtx,
rule spRules,
opcode *  spOpcodes,
luint luipData 
)

Translate the initialization data for the rules into the internal rules format.

Definition at line 43 of file parser-translate-init.c.

◆ vTranslateUdts()

void vTranslateUdts ( parser *  spCtx,
udt spUdts,
luint luipData 
)

Translate the initialization data for the UDTs into the internal UDT format.

Definition at line 60 of file parser-translate-init.c.

APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.