company logo

BNFNode :: hasParent - Does parser has got a parent

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

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 (  )