Version 1.0
Copyright © 2022 Lowell D. Thomas
Python APG
 … an ABNF Parser Generator
Classes | Namespaces | Functions
ast.py File Reference

A class for creating and translating the Abstract Syntax Tree (AST). More...

Go to the source code of this file.

Classes

class  apg_py.lib.ast.Ast
 A class for capturing the AST as the parser traverses the parse tree. More...
 

Namespaces

 apg_py.lib.ast
 

Functions

def apg_py.lib.ast.inner_add_callback (nodes, name, callback)
 Set a callback function for a named node. More...
 
def apg_py.lib.ast.inner_translate (input, nodes, records, data=None)
 Traverse the AST and call the user's callback functions for translation of the saved AST node phrases. More...
 

Detailed Description

A class for creating and translating the Abstract Syntax Tree (AST).

Definition in file ast.py.

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