BNFNode :: BNFNode - Constructor
BNF tree nodes are returned by parser functions and usually not created by the application.
Implementation overview
- Create copy node
BNFNode :: BNFNode ( cBNFNode ) - - Title unknown
BNFNode :: BNFNode (  )
Implementation details
-
Create copy node
BNFNode  :: BNFNode ( odaba::BNFNode &cBNFNode )
The constructor creates a copy node for the BNF tree node passed in cBNFNode . When creating copy nodes for top nodes returned from parser ( BNFParser ::Analyze() , BNFParser ::AnalyzeFile() ), those will share the node data. Destroying a BNFNode will not release data, which has to be done explicitly by calling release(), but only once for all copy nodes.
- cBNFNode - BNF tree node
to list
- to list