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

Demonstrates two modes of back referencing. More...

Go to the source code of this file.

Namespaces

 examples.basics.back_reference
 

Variables

string examples.basics.back_reference.title
 
string examples.basics.back_reference.usyntax
 
string examples.basics.back_reference.rsyntax
 
string examples.basics.back_reference.rssyntax
 
 examples.basics.back_reference.api = Api()
 
 examples.basics.back_reference.grammar = api.generate(usyntax)
 
 examples.basics.back_reference.parser = Parser(grammar)
 
string examples.basics.back_reference.input = '<level1><level2><level3></level3></level3></level3>'
 
 examples.basics.back_reference.result = parser.parse(utils.string_to_tuple(input))
 
 examples.basics.back_reference.end
 

Detailed Description

Demonstrates two modes of back referencing.

Definition in file back_reference.py.

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