All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javacc-7.0.3.examples.JavaGrammars.cpp.myparser.h Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version
#include "gen/ErrorHandler.h"
#include "gen/Token.h"
#include "gen/JavaParser.h"

namespace java { namespace parser {

class MyParser {
};

class MyErrorHandler: public ErrorHandler {
      virtual void handleUnexpectedToken(int expectedKind, JAVACC_STRING_TYPE expectedToken, Token *actual, JavaParser *parser) { }
      virtual void handleParseError(Token *last, Token *unexpected, JAVACC_SIMPLE_STRING production, JavaParser *parser) { }

};

} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy