javacc-7.0.3.classes.templates.cpp.DumpVarDeclarations.template Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
JAVACC_CHARSTREAM* input_stream;
int jjrounds[${stateSetSize}];
int jjstateSet[2 * ${stateSetSize}];
JJString jjimage;
JJString image;
int jjimageLen;
int lengthOfMatch;
JJChar curChar;
TokenManagerErrorHandler* errorHandler = nullptr;
public:
void setErrorHandler(TokenManagerErrorHandler *eh) {
if (errorHandler) delete errorHandler, errorHandler = nullptr;
errorHandler = eh;
}