BNFNode :: print - Print BNF tree
The function prints (part of) a BNF tree beginning with the current BNF tree node. The symbol name as well as the value are printed. When passing true in bRecursive, all BNF tree nodes in the hierarchy below are printed.
Implementation overview
- Write BNF tree structure to standard output
BNFNode :: print ( bRecursive ) - Write BNF tree structure to file
BNFNode :: print ( sPath, bRecursive )
Implementation details
- to list
-
Write BNF tree structure to file
BNFNode  :: print ( odaba::String &sPath, bool bRecursive )
The function writes the BNF tree structure to the file passed in sPath.
- sPath - File path
- bRecursive
- Process recursive
The function is called recursively for subordinated elements.
to list