BNFNode :: toSymbol - Convert BNF tree node
When a BNF tree node is identical with a BNF tree node for a lower level symbol ( isSymbol() ) , the tree node may be "converted" to the lower level node passed in sSymbol . When the BNF tree nodes are not the same, an invalid BNF tree node will be returned.
Return value: BNF tree node ( odaba::BNFNode & )
Implementation details
odaba::BNFNode
BNFNode  :: toSymbol ( odaba::String &sSymbol )
- sSymbol
- BNF symbol name
The BNF symbol name is a name that has been defined as symbol in the BNF parser definition.