company logo

Dictionary :: parser - Get OSI parser

The function returns the OSI parser, which might be used for checking OSI expressions or passing the parser to an extended parser definition (BNFParser::create()).

Return value:  Parent parser ( odaba::BNFParser & )

Implementation details

odaba::BNFParser & Dictionary  :: parser (  )

When the dictionary is a valid dictionary handle, the OSI parser is returned. Otherwise, an exception is thrown.