company logo

BNFNode :: count - Get number of sub nodes

Sub-nodes for an BNF node are lexical units the current lexical item consists of.

Return value:  Number of items ( int32  )

The value contains the number of items to be processed or stored in a collection.

Implementation details

int32 BNFNode  :: count (  )

The function returns the number of sub nodes at next lower level. When the BNF tree node is not valid, the function throws an exception.