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

These are the callback functions which translate the AST from the syntax phase. More...

#include "./api.h"
#include "./apip.h"
#include "../library/parserp.h"
#include "./semantics.h"
#include "sabnf-grammar.h"
Include dependency graph for semantic-callbacks.c:

Go to the source code of this file.

Functions

void vSabnfGrammarAstCallbacks (void *vpAstCtx)
 Set the callback functions for the AST translation of the semantic phase parse to opcodes. More...
 

Detailed Description

These are the callback functions which translate the AST from the syntax phase.

All of the hard work of determining the parser's opcodes is done here.

Definition in file semantic-callbacks.c.

Function Documentation

◆ vSabnfGrammarAstCallbacks()

void vSabnfGrammarAstCallbacks ( void *  vpAstCtx)

Set the callback functions for the AST translation of the semantic phase parse to opcodes.

Parameters
vpAstCtxPointer to an AST context.

Definition at line 740 of file semantic-callbacks.c.

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