Provides a simple implementation of the ParseListener class. More...
Public Member Functions | |
void | insertClass (ClassCollection *cc, std::string name) |
This implementation of the insertClass method simply calls the parseClasses (String, ParseListener) method with arguments className + ".net" and this . | |
void | parseError (int line, const std::string &msg) |
This implementation of the parseError method simply prints the line number and parse error message to stderr . |
Provides a simple implementation of the ParseListener class.
It is assumed that that the NET file for a Class for which an instance is required can be found in the directory from which the application program is started.
void HAPI::DefaultParseListener::insertClass | ( | ClassCollection * | cc, | |
std::string | name | |||
) | [virtual] |
This implementation of the insertClass
method simply calls the parseClasses (String, ParseListener)
method with arguments className + ".net"
and this
.
Note that this simple implementation requires that the application program is started in the directory where the relevant NET files are stored.
Implements HAPI::ClassParseListener.
void HAPI::DefaultParseListener::parseError | ( | int | line, | |
const std::string & | msg | |||
) | [virtual] |
This implementation of the parseError
method simply prints the line number and parse error message to stderr
.
Implements HAPI::ParseListener.