dlvhex
2.5.0
|
Implements a plugin into the parser for parsing special non-standard HEX-syntax. More...
#include <include/dlvhex2/HexParserModule.h>
Public Types | |
enum | Type { TOPLEVEL, BODYATOM, HEADATOM, TERM } |
Defines on which level the parser is called. More... | |
Public Member Functions | |
virtual | ~HexParserModule () |
Destructor. | |
Type | getType () const |
Gets the type of the module. | |
HexParserModule (Type type) | |
Constructor. | |
virtual HexParserModuleGrammarPtr | createGrammarModule ()=0 |
Needs to be implemented and defines the custom syntax to parser. | |
Protected Attributes | |
Type | type |
Type of the parser module. |
Implements a plugin into the parser for parsing special non-standard HEX-syntax.
Definition at line 51 of file HexParserModule.h.
Defines on which level the parser is called.
Definition at line 55 of file HexParserModule.h.
virtual HexParserModule::~HexParserModule | ( | ) | [inline, virtual] |
Destructor.
Definition at line 68 of file HexParserModule.h.
HexParserModule::HexParserModule | ( | Type | type | ) | [inline] |
Constructor.
type | See HexParserModule::Type. |
Definition at line 75 of file HexParserModule.h.
virtual HexParserModuleGrammarPtr HexParserModule::createGrammarModule | ( | ) | [pure virtual] |
Needs to be implemented and defines the custom syntax to parser.
Custom | grammar. |
Type HexParserModule::getType | ( | ) | const [inline] |
Gets the type of the module.
Definition at line 72 of file HexParserModule.h.
References type.
Type HexParserModule::type [protected] |
Type of the parser module.
Definition at line 83 of file HexParserModule.h.
Referenced by getType().