company logo

BNFNode :: hasParent - Does parser has got a parent

The function checks, whether the BNFNode has a parent or not.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool BNFNode  :: hasParent (  )

The function returns true, when the parser is not the top parser, but a subordinated one. Otherwise, the function returns false.