javacc-7.0.1.examples.JavaGrammars.cpp.gen.JavaParser.h 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.
#ifndef JAVAPARSER_H
#define JAVAPARSER_H
#include "JavaCC.h"
#include "CharStream.h"
#include "Token.h"
#include "TokenManager.h"
#include "myparser.h"
#include "JavaParserConstants.h"
#include "JJTJavaParserState.h"
#include "ErrorHandler.h"
#include "JavaParserTree.h"
namespace java {
namespace parser {
struct JJCalls {
int gen;
int arg;
JJCalls* next;
Token* first;
~JJCalls() { if (next) delete next; }
JJCalls() { next = nullptr; arg = 0; gen = -1; first = nullptr; }
};
class JavaParser : public MyParser {
public:
void CompilationUnit();
void PackageDeclaration();
void ImportDeclaration();
void TypeDeclaration();
void ClassDeclaration();
void UnmodifiedClassDeclaration();
void ClassBody();
void NestedClassDeclaration();
void ClassBodyDeclaration();
void MethodDeclarationLookahead();
void InterfaceDeclaration();
void NestedInterfaceDeclaration();
void UnmodifiedInterfaceDeclaration();
void InterfaceMemberDeclaration();
void FieldDeclaration();
void VariableDeclarator();
void VariableDeclaratorId();
void VariableInitializer();
void ArrayInitializer();
void MethodDeclaration();
void MethodDeclarator();
void FormalParameters();
void FormalParameter();
void ConstructorDeclaration();
void ExplicitConstructorInvocation();
void Initializer();
void Type();
void PrimitiveType();
void ResultType();
void Name();
void NameList();
void Expression();
void AssignmentOperator();
void ConditionalExpression();
void ConditionalOrExpression();
void ConditionalAndExpression();
void InclusiveOrExpression();
void ExclusiveOrExpression();
void AndExpression();
void EqualityExpression();
void InstanceOfExpression();
void RelationalExpression();
void ShiftExpression();
void AdditiveExpression();
void MultiplicativeExpression();
void UnaryExpression();
void PreIncrementExpression();
void PreDecrementExpression();
void UnaryExpressionNotPlusMinus();
void CastLookahead();
void PostfixExpression();
void CastExpression();
void PrimaryExpression();
void PrimaryPrefix();
void PrimarySuffix();
void Literal();
void BooleanLiteral();
void NullLiteral();
void Arguments();
void ArgumentList();
void AllocationExpression();
void ArrayDimsAndInits();
void Statement();
void LabeledStatement();
void Block();
void BlockStatement();
void LocalVariableDeclaration();
void EmptyStatement();
void StatementExpression();
void SwitchStatement();
void SwitchLabel();
void IfStatement();
void WhileStatement();
void DoStatement();
void ForStatement();
void ForInit();
void StatementExpressionList();
void ForUpdate();
void BreakStatement();
void ContinueStatement();
void ReturnStatement();
void ThrowStatement();
void SynchronizedStatement();
void TryStatement();
inline bool jj_2_1(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_1() || jj_done);
{ jj_save(0, xla); }
}
inline bool jj_2_2(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_2() || jj_done);
{ jj_save(1, xla); }
}
inline bool jj_2_3(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_3() || jj_done);
{ jj_save(2, xla); }
}
inline bool jj_2_4(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_4() || jj_done);
{ jj_save(3, xla); }
}
inline bool jj_2_5(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_5() || jj_done);
{ jj_save(4, xla); }
}
inline bool jj_2_6(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_6() || jj_done);
{ jj_save(5, xla); }
}
inline bool jj_2_7(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_7() || jj_done);
{ jj_save(6, xla); }
}
inline bool jj_2_8(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_8() || jj_done);
{ jj_save(7, xla); }
}
inline bool jj_2_9(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_9() || jj_done);
{ jj_save(8, xla); }
}
inline bool jj_2_10(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_10() || jj_done);
{ jj_save(9, xla); }
}
inline bool jj_2_11(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_11() || jj_done);
{ jj_save(10, xla); }
}
inline bool jj_2_12(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_12() || jj_done);
{ jj_save(11, xla); }
}
inline bool jj_2_13(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_13() || jj_done);
{ jj_save(12, xla); }
}
inline bool jj_2_14(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_14() || jj_done);
{ jj_save(13, xla); }
}
inline bool jj_2_15(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_15() || jj_done);
{ jj_save(14, xla); }
}
inline bool jj_2_16(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_16() || jj_done);
{ jj_save(15, xla); }
}
inline bool jj_2_17(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_17() || jj_done);
{ jj_save(16, xla); }
}
inline bool jj_2_18(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_18() || jj_done);
{ jj_save(17, xla); }
}
inline bool jj_2_19(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_19() || jj_done);
{ jj_save(18, xla); }
}
inline bool jj_2_20(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_20() || jj_done);
{ jj_save(19, xla); }
}
inline bool jj_2_21(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_21() || jj_done);
{ jj_save(20, xla); }
}
inline bool jj_2_22(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_22() || jj_done);
{ jj_save(21, xla); }
}
inline bool jj_2_23(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_23() || jj_done);
{ jj_save(22, xla); }
}
inline bool jj_2_24(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_24() || jj_done);
{ jj_save(23, xla); }
}
inline bool jj_2_25(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_25() || jj_done);
{ jj_save(24, xla); }
}
inline bool jj_2_26(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_26() || jj_done);
{ jj_save(25, xla); }
}
inline bool jj_2_27(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_27() || jj_done);
{ jj_save(26, xla); }
}
inline bool jj_2_28(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_28() || jj_done);
{ jj_save(27, xla); }
}
inline bool jj_2_29(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
jj_done = false;
return (!jj_3_29() || jj_done);
{ jj_save(28, xla); }
}
inline bool jj_3R_97()
{
if (jj_done) return true;
if (jj_3R_105()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_93()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_97()) {
jj_scanpos = xsp;
if (jj_3R_98()) {
jj_scanpos = xsp;
if (jj_3R_99()) {
jj_scanpos = xsp;
if (jj_3R_100()) return true;
}
}
}
return false;
}
inline bool jj_3R_82()
{
if (jj_done) return true;
if (jj_3R_93()) return true;
return false;
}
inline bool jj_3R_63()
{
if (jj_done) return true;
if (jj_scan_token(LBRACE)) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_82()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3R_61()
{
if (jj_done) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_106()) return true;
return false;
}
inline bool jj_3R_127()
{
if (jj_done) return true;
if (jj_3R_142()) return true;
return false;
}
inline bool jj_3_25()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3R_126()
{
if (jj_done) return true;
if (jj_3R_141()) return true;
return false;
}
inline bool jj_3R_125()
{
if (jj_done) return true;
if (jj_3R_140()) return true;
return false;
}
inline bool jj_3R_124()
{
if (jj_done) return true;
if (jj_3R_139()) return true;
return false;
}
inline bool jj_3R_123()
{
if (jj_done) return true;
if (jj_3R_138()) return true;
return false;
}
inline bool jj_3R_122()
{
if (jj_done) return true;
if (jj_3R_137()) return true;
return false;
}
inline bool jj_3R_121()
{
if (jj_done) return true;
if (jj_3R_136()) return true;
return false;
}
inline bool jj_3R_120()
{
if (jj_done) return true;
if (jj_3R_135()) return true;
return false;
}
inline bool jj_3R_119()
{
if (jj_done) return true;
if (jj_3R_134()) return true;
return false;
}
inline bool jj_3R_118()
{
if (jj_done) return true;
if (jj_3R_133()) return true;
return false;
}
inline bool jj_3R_117()
{
if (jj_done) return true;
if (jj_3R_132()) return true;
return false;
}
inline bool jj_3R_116()
{
if (jj_done) return true;
if (jj_3R_131()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_115()
{
if (jj_done) return true;
if (jj_3R_130()) return true;
return false;
}
inline bool jj_3R_114()
{
if (jj_done) return true;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3R_106()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_27()) {
jj_scanpos = xsp;
if (jj_3R_114()) {
jj_scanpos = xsp;
if (jj_3R_115()) {
jj_scanpos = xsp;
if (jj_3R_116()) {
jj_scanpos = xsp;
if (jj_3R_117()) {
jj_scanpos = xsp;
if (jj_3R_118()) {
jj_scanpos = xsp;
if (jj_3R_119()) {
jj_scanpos = xsp;
if (jj_3R_120()) {
jj_scanpos = xsp;
if (jj_3R_121()) {
jj_scanpos = xsp;
if (jj_3R_122()) {
jj_scanpos = xsp;
if (jj_3R_123()) {
jj_scanpos = xsp;
if (jj_3R_124()) {
jj_scanpos = xsp;
if (jj_3R_125()) {
jj_scanpos = xsp;
if (jj_3R_126()) {
jj_scanpos = xsp;
if (jj_3R_127()) return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}
inline bool jj_3_27()
{
if (jj_done) return true;
if (jj_3R_61()) return true;
return false;
}
inline bool jj_3R_156()
{
if (jj_done) return true;
if (jj_3R_160()) return true;
return false;
}
inline bool jj_3R_159()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3_24()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3R_155()
{
if (jj_done) return true;
Token * xsp;
if (jj_3R_159()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_159()) { jj_scanpos = xsp; break; }
}
if (jj_3R_83()) return true;
return false;
}
inline bool jj_3_26()
{
if (jj_done) return true;
Token * xsp;
if (jj_3_24()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_24()) { jj_scanpos = xsp; break; }
}
while (true) {
xsp = jj_scanpos;
if (jj_3_25()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_148()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_26()) {
jj_scanpos = xsp;
if (jj_3R_155()) return true;
}
return false;
}
inline bool jj_3R_150()
{
if (jj_done) return true;
if (jj_3R_54()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_156()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_95()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_149()
{
if (jj_done) return true;
if (jj_3R_148()) return true;
return false;
}
inline bool jj_3R_77()
{
if (jj_done) return true;
if (jj_scan_token(NEW)) return true;
if (jj_3R_47()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_149()) {
jj_scanpos = xsp;
if (jj_3R_150()) return true;
}
return false;
}
inline bool jj_3_23()
{
if (jj_done) return true;
if (jj_scan_token(NEW)) return true;
if (jj_3R_56()) return true;
if (jj_3R_148()) return true;
return false;
}
inline bool jj_3R_59()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_23()) {
jj_scanpos = xsp;
if (jj_3R_77()) return true;
}
return false;
}
inline bool jj_3R_90()
{
if (jj_done) return true;
if (jj_3R_60()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_95()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_70()
{
if (jj_done) return true;
if (jj_3R_90()) return true;
return false;
}
inline bool jj_3R_54()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_70()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
inline bool jj_3R_110()
{
if (jj_done) return true;
if (jj_scan_token(NULLL)) return true;
return false;
}
inline bool jj_3R_109()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(58)) {
jj_scanpos = xsp;
if (jj_scan_token(28)) return true;
}
return false;
}
inline bool jj_3R_91()
{
if (jj_done) return true;
if (jj_3R_94()) return true;
return false;
}
inline bool jj_3R_102()
{
if (jj_done) return true;
if (jj_3R_110()) return true;
return false;
}
inline bool jj_3R_101()
{
if (jj_done) return true;
if (jj_3R_109()) return true;
return false;
}
inline bool jj_3R_94()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(63)) {
jj_scanpos = xsp;
if (jj_scan_token(67)) {
jj_scanpos = xsp;
if (jj_scan_token(69)) {
jj_scanpos = xsp;
if (jj_scan_token(70)) {
jj_scanpos = xsp;
if (jj_3R_101()) {
jj_scanpos = xsp;
if (jj_3R_102()) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_75()
{
if (jj_done) return true;
if (jj_3R_54()) return true;
return false;
}
inline bool jj_3R_74()
{
if (jj_done) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
inline bool jj_3R_73()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3_22()
{
if (jj_done) return true;
if (jj_scan_token(DOT)) return true;
if (jj_3R_59()) return true;
return false;
}
inline bool jj_3_20()
{
if (jj_done) return true;
if (jj_3R_58()) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(CLASS)) return true;
return false;
}
inline bool jj_3_21()
{
if (jj_done) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(THIS)) return true;
return false;
}
inline bool jj_3R_57()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_21()) {
jj_scanpos = xsp;
if (jj_3_22()) {
jj_scanpos = xsp;
if (jj_3R_73()) {
jj_scanpos = xsp;
if (jj_3R_74()) {
jj_scanpos = xsp;
if (jj_3R_75()) return true;
}
}
}
}
return false;
}
inline bool jj_3R_89()
{
if (jj_done) return true;
if (jj_3R_47()) return true;
return false;
}
inline bool jj_3_19()
{
if (jj_done) return true;
if (jj_3R_57()) return true;
return false;
}
inline bool jj_3R_88()
{
if (jj_done) return true;
if (jj_3R_58()) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(CLASS)) return true;
return false;
}
inline bool jj_3R_87()
{
if (jj_done) return true;
if (jj_3R_59()) return true;
return false;
}
inline bool jj_3R_86()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
inline bool jj_3R_85()
{
if (jj_done) return true;
if (jj_scan_token(SUPER)) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
inline bool jj_3R_238()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(96)) {
jj_scanpos = xsp;
if (jj_scan_token(97)) return true;
}
return false;
}
inline bool jj_3R_84()
{
if (jj_done) return true;
if (jj_3R_94()) return true;
return false;
}
inline bool jj_3R_69()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_84()) {
jj_scanpos = xsp;
if (jj_scan_token(54)) {
jj_scanpos = xsp;
if (jj_3R_85()) {
jj_scanpos = xsp;
if (jj_3R_86()) {
jj_scanpos = xsp;
if (jj_3R_87()) {
jj_scanpos = xsp;
if (jj_3R_88()) {
jj_scanpos = xsp;
if (jj_3R_89()) return true;
}
}
}
}
}
}
return false;
}
inline bool jj_3_18()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_56()) return true;
return false;
}
inline bool jj_3R_53()
{
if (jj_done) return true;
if (jj_3R_69()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_19()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_228()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_62()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_202()) return true;
return false;
}
inline bool jj_3R_221()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_227()) {
jj_scanpos = xsp;
if (jj_3R_228()) return true;
}
return false;
}
inline bool jj_3R_227()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_62()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_176()) return true;
return false;
}
inline bool jj_3_17()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(LBRACKET)) return true;
return false;
}
inline bool jj_3R_222()
{
if (jj_done) return true;
if (jj_3R_53()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_238()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_72()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(RPAREN)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(87)) {
jj_scanpos = xsp;
if (jj_scan_token(86)) {
jj_scanpos = xsp;
if (jj_scan_token(74)) {
jj_scanpos = xsp;
if (jj_scan_token(71)) {
jj_scanpos = xsp;
if (jj_scan_token(54)) {
jj_scanpos = xsp;
if (jj_scan_token(51)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_3R_91()) return true;
}
}
}
}
}
}
}
return false;
}
inline bool jj_3R_71()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3_16()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_56()) return true;
return false;
}
inline bool jj_3R_55()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_16()) {
jj_scanpos = xsp;
if (jj_3R_71()) {
jj_scanpos = xsp;
if (jj_3R_72()) return true;
}
}
return false;
}
inline bool jj_3_15()
{
if (jj_done) return true;
if (jj_3R_55()) return true;
return false;
}
inline bool jj_3R_215()
{
if (jj_done) return true;
if (jj_3R_222()) return true;
return false;
}
inline bool jj_3R_214()
{
if (jj_done) return true;
if (jj_3R_221()) return true;
return false;
}
inline bool jj_3R_202()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_213()) {
jj_scanpos = xsp;
if (jj_3R_214()) {
jj_scanpos = xsp;
if (jj_3R_215()) return true;
}
}
return false;
}
inline bool jj_3R_213()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(87)) {
jj_scanpos = xsp;
if (jj_scan_token(86)) return true;
}
if (jj_3R_176()) return true;
return false;
}
inline bool jj_3R_154()
{
if (jj_done) return true;
if (jj_scan_token(DECR)) return true;
if (jj_3R_53()) return true;
return false;
}
inline bool jj_3R_201()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(98)) {
jj_scanpos = xsp;
if (jj_scan_token(99)) return true;
}
if (jj_3R_169()) return true;
return false;
}
inline bool jj_3R_212()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(100)) {
jj_scanpos = xsp;
if (jj_scan_token(101)) {
jj_scanpos = xsp;
if (jj_scan_token(105)) return true;
}
}
if (jj_3R_176()) return true;
return false;
}
inline bool jj_3R_153()
{
if (jj_done) return true;
if (jj_scan_token(INCR)) return true;
if (jj_3R_53()) return true;
return false;
}
inline bool jj_3R_186()
{
if (jj_done) return true;
if (jj_3R_202()) return true;
return false;
}
inline bool jj_3R_182()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(106)) {
jj_scanpos = xsp;
if (jj_scan_token(107)) {
jj_scanpos = xsp;
if (jj_scan_token(108)) return true;
}
}
if (jj_3R_166()) return true;
return false;
}
inline bool jj_3R_185()
{
if (jj_done) return true;
if (jj_3R_154()) return true;
return false;
}
inline bool jj_3R_184()
{
if (jj_done) return true;
if (jj_3R_153()) return true;
return false;
}
inline bool jj_3R_176()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_183()) {
jj_scanpos = xsp;
if (jj_3R_184()) {
jj_scanpos = xsp;
if (jj_3R_185()) {
jj_scanpos = xsp;
if (jj_3R_186()) return true;
}
}
}
return false;
}
inline bool jj_3R_183()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(98)) {
jj_scanpos = xsp;
if (jj_scan_token(99)) return true;
}
if (jj_3R_176()) return true;
return false;
}
inline bool jj_3R_175()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(85)) {
jj_scanpos = xsp;
if (jj_scan_token(84)) {
jj_scanpos = xsp;
if (jj_scan_token(91)) {
jj_scanpos = xsp;
if (jj_scan_token(92)) return true;
}
}
}
if (jj_3R_162()) return true;
return false;
}
inline bool jj_3R_168()
{
if (jj_done) return true;
if (jj_scan_token(INSTANCEOF)) return true;
if (jj_3R_62()) return true;
return false;
}
inline bool jj_3R_169()
{
if (jj_done) return true;
if (jj_3R_176()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_212()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_165()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(90)) {
jj_scanpos = xsp;
if (jj_scan_token(93)) return true;
}
if (jj_3R_152()) return true;
return false;
}
inline bool jj_3R_166()
{
if (jj_done) return true;
if (jj_3R_169()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_201()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_162()
{
if (jj_done) return true;
if (jj_3R_166()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_182()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_161()
{
if (jj_done) return true;
if (jj_scan_token(BIT_AND)) return true;
if (jj_3R_144()) return true;
return false;
}
inline bool jj_3R_158()
{
if (jj_done) return true;
if (jj_3R_162()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_175()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_151()
{
if (jj_done) return true;
if (jj_scan_token(BIT_OR)) return true;
if (jj_3R_113()) return true;
return false;
}
inline bool jj_3R_152()
{
if (jj_done) return true;
if (jj_3R_158()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_168()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_157()
{
if (jj_done) return true;
if (jj_scan_token(XOR)) return true;
if (jj_3R_129()) return true;
return false;
}
inline bool jj_3R_143()
{
if (jj_done) return true;
if (jj_scan_token(SC_AND)) return true;
if (jj_3R_104()) return true;
return false;
}
inline bool jj_3R_144()
{
if (jj_done) return true;
if (jj_3R_152()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_165()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_128()
{
if (jj_done) return true;
if (jj_scan_token(SC_OR)) return true;
if (jj_3R_96()) return true;
return false;
}
inline bool jj_3R_129()
{
if (jj_done) return true;
if (jj_3R_144()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_161()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_111()
{
if (jj_done) return true;
if (jj_scan_token(HOOK)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_78()) return true;
return false;
}
inline bool jj_3R_113()
{
if (jj_done) return true;
if (jj_3R_129()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_157()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_104()
{
if (jj_done) return true;
if (jj_3R_113()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_151()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_96()
{
if (jj_done) return true;
if (jj_3R_104()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_143()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_92()
{
if (jj_done) return true;
if (jj_3R_96()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_128()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_78()
{
if (jj_done) return true;
if (jj_3R_92()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_111()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_112()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(83)) {
jj_scanpos = xsp;
if (jj_scan_token(111)) {
jj_scanpos = xsp;
if (jj_scan_token(112)) {
jj_scanpos = xsp;
if (jj_scan_token(116)) {
jj_scanpos = xsp;
if (jj_scan_token(109)) {
jj_scanpos = xsp;
if (jj_scan_token(110)) {
jj_scanpos = xsp;
if (jj_scan_token(117)) {
jj_scanpos = xsp;
if (jj_scan_token(118)) {
jj_scanpos = xsp;
if (jj_scan_token(119)) {
jj_scanpos = xsp;
if (jj_scan_token(113)) {
jj_scanpos = xsp;
if (jj_scan_token(115)) {
jj_scanpos = xsp;
if (jj_scan_token(114)) return true;
}
}
}
}
}
}
}
}
}
}
}
return false;
}
inline bool jj_3R_103()
{
if (jj_done) return true;
if (jj_3R_112()) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_60()
{
if (jj_done) return true;
if (jj_3R_78()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_103()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_219()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_47()) return true;
return false;
}
inline bool jj_3R_208()
{
if (jj_done) return true;
if (jj_3R_47()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_219()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3_14()
{
if (jj_done) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
inline bool jj_3R_47()
{
if (jj_done) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_14()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_81()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3R_76()
{
if (jj_done) return true;
if (jj_3R_62()) return true;
return false;
}
inline bool jj_3R_58()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(60)) {
jj_scanpos = xsp;
if (jj_3R_76()) return true;
}
return false;
}
inline bool jj_3R_80()
{
if (jj_done) return true;
if (jj_3R_47()) return true;
return false;
}
inline bool jj_3R_56()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(14)) {
jj_scanpos = xsp;
if (jj_scan_token(19)) {
jj_scanpos = xsp;
if (jj_scan_token(16)) {
jj_scanpos = xsp;
if (jj_scan_token(49)) {
jj_scanpos = xsp;
if (jj_scan_token(38)) {
jj_scanpos = xsp;
if (jj_scan_token(40)) {
jj_scanpos = xsp;
if (jj_scan_token(31)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) return true;
}
}
}
}
}
}
}
return false;
}
inline bool jj_3R_191()
{
if (jj_done) return true;
if (jj_scan_token(THROWS)) return true;
if (jj_3R_208()) return true;
return false;
}
inline bool jj_3R_79()
{
if (jj_done) return true;
if (jj_3R_56()) return true;
return false;
}
inline bool jj_3R_62()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_79()) {
jj_scanpos = xsp;
if (jj_3R_80()) return true;
}
while (true) {
xsp = jj_scanpos;
if (jj_3R_81()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3_13()
{
if (jj_done) return true;
if (jj_scan_token(THIS)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_43()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) jj_scanpos = xsp;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3_11()
{
if (jj_done) return true;
if (jj_3R_52()) return true;
return false;
}
inline bool jj_3_12()
{
if (jj_done) return true;
if (jj_3R_53()) return true;
if (jj_scan_token(DOT)) return true;
return false;
}
inline bool jj_3R_209()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3R_68()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_12()) jj_scanpos = xsp;
if (jj_scan_token(SUPER)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_218()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_217()) return true;
return false;
}
inline bool jj_3R_52()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_67()) {
jj_scanpos = xsp;
if (jj_3R_68()) return true;
}
return false;
}
inline bool jj_3R_67()
{
if (jj_done) return true;
if (jj_scan_token(THIS)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_196()
{
if (jj_done) return true;
if (jj_scan_token(THROWS)) return true;
if (jj_3R_208()) return true;
return false;
}
inline bool jj_3R_193()
{
if (jj_done) return true;
if (jj_3R_93()) return true;
return false;
}
inline bool jj_3R_192()
{
if (jj_done) return true;
if (jj_3R_52()) return true;
return false;
}
inline bool jj_3R_189()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
return false;
}
inline bool jj_3R_179()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_189()) jj_scanpos = xsp;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_3R_190()) return true;
xsp = jj_scanpos;
if (jj_3R_191()) jj_scanpos = xsp;
if (jj_scan_token(LBRACE)) return true;
xsp = jj_scanpos;
if (jj_3R_192()) jj_scanpos = xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_193()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3_10()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_51()) return true;
return false;
}
inline bool jj_3R_207()
{
if (jj_done) return true;
if (jj_3R_217()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_218()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_217()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(29)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_3R_210()) return true;
return false;
}
inline bool jj_3R_190()
{
if (jj_done) return true;
if (jj_scan_token(LPAREN)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_207()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
inline bool jj_3R_195()
{
if (jj_done) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_3R_190()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_209()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_197()
{
if (jj_done) return true;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3R_194()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) {
jj_scanpos = xsp;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) {
jj_scanpos = xsp;
if (jj_scan_token(53)) return true;
}
}
}
}
}
}
}
return false;
}
inline bool jj_3R_163()
{
if (jj_done) return true;
if (jj_3R_51()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_10()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_180()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_194()) { jj_scanpos = xsp; break; }
}
if (jj_3R_58()) return true;
if (jj_3R_195()) return true;
xsp = jj_scanpos;
if (jj_3R_196()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_3R_197()) {
jj_scanpos = xsp;
if (jj_scan_token(80)) return true;
}
return false;
}
inline bool jj_3R_211()
{
if (jj_done) return true;
if (jj_scan_token(ASSIGN)) return true;
if (jj_3R_51()) return true;
return false;
}
inline bool jj_3R_200()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_199()) return true;
return false;
}
inline bool jj_3R_220()
{
if (jj_done) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
inline bool jj_3R_83()
{
if (jj_done) return true;
if (jj_scan_token(LBRACE)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_163()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_scan_token(81)) jj_scanpos = xsp;
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3R_66()
{
if (jj_done) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_51()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_65()) {
jj_scanpos = xsp;
if (jj_3R_66()) return true;
}
return false;
}
inline bool jj_3R_65()
{
if (jj_done) return true;
if (jj_3R_83()) return true;
return false;
}
inline bool jj_3R_210()
{
if (jj_done) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_220()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_199()
{
if (jj_done) return true;
if (jj_3R_210()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_211()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_205()
{
if (jj_done) return true;
if (jj_scan_token(EXTENDS)) return true;
if (jj_3R_208()) return true;
return false;
}
inline bool jj_3_9()
{
if (jj_done) return true;
if (jj_3R_48()) return true;
return false;
}
inline bool jj_3R_198()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) {
jj_scanpos = xsp;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(57)) {
jj_scanpos = xsp;
if (jj_scan_token(61)) return true;
}
}
}
}
}
}
return false;
}
inline bool jj_3R_50()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_181()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_198()) { jj_scanpos = xsp; break; }
}
if (jj_3R_62()) return true;
if (jj_3R_199()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_200()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3_8()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_50()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(INTERFACE)) return true;
return false;
}
inline bool jj_3R_49()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3_7()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_49()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
inline bool jj_3R_226()
{
if (jj_done) return true;
if (jj_3R_181()) return true;
return false;
}
inline bool jj_3R_225()
{
if (jj_done) return true;
if (jj_3R_180()) return true;
return false;
}
inline bool jj_3R_224()
{
if (jj_done) return true;
if (jj_3R_178()) return true;
return false;
}
inline bool jj_3R_206()
{
if (jj_done) return true;
if (jj_3R_216()) return true;
return false;
}
inline bool jj_3R_216()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_223()) {
jj_scanpos = xsp;
if (jj_3R_224()) {
jj_scanpos = xsp;
if (jj_3R_225()) {
jj_scanpos = xsp;
if (jj_3R_226()) return true;
}
}
}
return false;
}
inline bool jj_3R_223()
{
if (jj_done) return true;
if (jj_3R_177()) return true;
return false;
}
inline bool jj_3R_108()
{
if (jj_done) return true;
if (jj_scan_token(INTERFACE)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_205()) jj_scanpos = xsp;
if (jj_scan_token(LBRACE)) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_206()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3R_188()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_178()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_188()) { jj_scanpos = xsp; break; }
}
if (jj_3R_108()) return true;
return false;
}
inline bool jj_3R_64()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) {
jj_scanpos = xsp;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) {
jj_scanpos = xsp;
if (jj_scan_token(53)) return true;
}
}
}
}
}
}
}
return false;
}
inline bool jj_3R_204()
{
if (jj_done) return true;
if (jj_scan_token(IMPLEMENTS)) return true;
if (jj_3R_208()) return true;
return false;
}
inline bool jj_3_6()
{
if (jj_done) return true;
if (jj_3R_48()) return true;
return false;
}
inline bool jj_3R_46()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
return false;
}
inline bool jj_3R_48()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_64()) { jj_scanpos = xsp; break; }
}
if (jj_3R_58()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
inline bool jj_3_5()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_46()) jj_scanpos = xsp;
if (jj_3R_47()) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
inline bool jj_3R_45()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3_4()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_45()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(INTERFACE)) return true;
return false;
}
inline bool jj_3R_44()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_174()
{
if (jj_done) return true;
if (jj_3R_181()) return true;
return false;
}
inline bool jj_3_3()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_44()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
inline bool jj_3R_173()
{
if (jj_done) return true;
if (jj_3R_180()) return true;
return false;
}
inline bool jj_3R_172()
{
if (jj_done) return true;
if (jj_3R_179()) return true;
return false;
}
inline bool jj_3R_171()
{
if (jj_done) return true;
if (jj_3R_178()) return true;
return false;
}
inline bool jj_3R_170()
{
if (jj_done) return true;
if (jj_3R_177()) return true;
return false;
}
inline bool jj_3R_203()
{
if (jj_done) return true;
if (jj_scan_token(EXTENDS)) return true;
if (jj_3R_47()) return true;
return false;
}
inline bool jj_3_2()
{
if (jj_done) return true;
if (jj_3R_43()) return true;
return false;
}
inline bool jj_3R_167()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3_2()) {
jj_scanpos = xsp;
if (jj_3R_170()) {
jj_scanpos = xsp;
if (jj_3R_171()) {
jj_scanpos = xsp;
if (jj_3R_172()) {
jj_scanpos = xsp;
if (jj_3R_173()) {
jj_scanpos = xsp;
if (jj_3R_174()) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_187()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) return true;
}
}
}
}
}
return false;
}
inline bool jj_3R_164()
{
if (jj_done) return true;
if (jj_3R_167()) return true;
return false;
}
inline bool jj_3R_177()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_187()) { jj_scanpos = xsp; break; }
}
if (jj_3R_107()) return true;
return false;
}
inline bool jj_3R_160()
{
if (jj_done) return true;
if (jj_scan_token(LBRACE)) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_164()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3R_107()
{
if (jj_done) return true;
if (jj_scan_token(CLASS)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_203()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_3R_204()) jj_scanpos = xsp;
if (jj_3R_160()) return true;
return false;
}
inline bool jj_3R_42()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(13)) {
jj_scanpos = xsp;
if (jj_scan_token(29)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) return true;
}
}
return false;
}
inline bool jj_3_1()
{
if (jj_done) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_42()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
inline bool jj_3R_237()
{
if (jj_done) return true;
if (jj_scan_token(FINALLY)) return true;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3R_236()
{
if (jj_done) return true;
if (jj_scan_token(CATCH)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_217()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3R_142()
{
if (jj_done) return true;
if (jj_scan_token(TRY)) return true;
if (jj_3R_63()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_236()) { jj_scanpos = xsp; break; }
}
xsp = jj_scanpos;
if (jj_3R_237()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_141()
{
if (jj_done) return true;
if (jj_scan_token(SYNCHRONIZED)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_63()) return true;
return false;
}
inline bool jj_3R_234()
{
if (jj_done) return true;
if (jj_3R_243()) return true;
return false;
}
inline bool jj_3R_235()
{
if (jj_done) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_140()
{
if (jj_done) return true;
if (jj_scan_token(THROW)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_250()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_131()) return true;
return false;
}
inline bool jj_3R_139()
{
if (jj_done) return true;
if (jj_scan_token(RETURN)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_235()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_138()
{
if (jj_done) return true;
if (jj_scan_token(CONTINUE)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(71)) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_233()
{
if (jj_done) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_137()
{
if (jj_done) return true;
if (jj_scan_token(BREAK)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(71)) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_231()
{
if (jj_done) return true;
if (jj_scan_token(ELSE)) return true;
if (jj_3R_106()) return true;
return false;
}
inline bool jj_3R_243()
{
if (jj_done) return true;
if (jj_3R_249()) return true;
return false;
}
inline bool jj_3_29()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(29)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
inline bool jj_3R_249()
{
if (jj_done) return true;
if (jj_3R_131()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_250()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_232()
{
if (jj_done) return true;
if (jj_3R_242()) return true;
return false;
}
inline bool jj_3R_248()
{
if (jj_done) return true;
if (jj_3R_249()) return true;
return false;
}
inline bool jj_3R_242()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_247()) {
jj_scanpos = xsp;
if (jj_3R_248()) return true;
}
return false;
}
inline bool jj_3R_247()
{
if (jj_done) return true;
if (jj_3R_105()) return true;
return false;
}
inline bool jj_3R_136()
{
if (jj_done) return true;
if (jj_scan_token(FOR)) return true;
if (jj_scan_token(LPAREN)) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_232()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
xsp = jj_scanpos;
if (jj_3R_233()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
xsp = jj_scanpos;
if (jj_3R_234()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
return false;
}
inline bool jj_3R_135()
{
if (jj_done) return true;
if (jj_scan_token(DO)) return true;
if (jj_3R_106()) return true;
if (jj_scan_token(WHILE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_134()
{
if (jj_done) return true;
if (jj_scan_token(WHILE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
return false;
}
inline bool jj_3R_133()
{
if (jj_done) return true;
if (jj_scan_token(IF)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_231()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_241()
{
if (jj_done) return true;
if (jj_3R_93()) return true;
return false;
}
inline bool jj_3R_246()
{
if (jj_done) return true;
if (jj_scan_token(_DEFAULT)) return true;
if (jj_scan_token(COLON)) return true;
return false;
}
inline bool jj_3R_229()
{
if (jj_done) return true;
if (jj_scan_token(COMMA)) return true;
if (jj_3R_199()) return true;
return false;
}
inline bool jj_3R_240()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_245()) {
jj_scanpos = xsp;
if (jj_3R_246()) return true;
}
return false;
}
inline bool jj_3R_245()
{
if (jj_done) return true;
if (jj_scan_token(CASE)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(COLON)) return true;
return false;
}
inline bool jj_3R_230()
{
if (jj_done) return true;
if (jj_3R_240()) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_241()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3R_132()
{
if (jj_done) return true;
if (jj_scan_token(SWITCH)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_scan_token(LBRACE)) return true;
Token * xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_230()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
inline bool jj_3R_244()
{
if (jj_done) return true;
if (jj_3R_112()) return true;
if (jj_3R_60()) return true;
return false;
}
inline bool jj_3R_239()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(96)) {
jj_scanpos = xsp;
if (jj_scan_token(97)) {
jj_scanpos = xsp;
if (jj_3R_244()) return true;
}
}
return false;
}
inline bool jj_3R_147()
{
if (jj_done) return true;
if (jj_3R_53()) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_239()) jj_scanpos = xsp;
return false;
}
inline bool jj_3R_146()
{
if (jj_done) return true;
if (jj_3R_154()) return true;
return false;
}
inline bool jj_3R_131()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_3R_145()) {
jj_scanpos = xsp;
if (jj_3R_146()) {
jj_scanpos = xsp;
if (jj_3R_147()) return true;
}
}
return false;
}
inline bool jj_3R_145()
{
if (jj_done) return true;
if (jj_3R_153()) return true;
return false;
}
inline bool jj_3R_130()
{
if (jj_done) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
inline bool jj_3R_105()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(29)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_3R_199()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_229()) { jj_scanpos = xsp; break; }
}
return false;
}
inline bool jj_3_28()
{
if (jj_done) return true;
Token * xsp;
xsp = jj_scanpos;
if (jj_scan_token(29)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
inline bool jj_3R_100()
{
if (jj_done) return true;
if (jj_3R_108()) return true;
return false;
}
inline bool jj_3R_99()
{
if (jj_done) return true;
if (jj_3R_107()) return true;
return false;
}
inline bool jj_3R_98()
{
if (jj_done) return true;
if (jj_3R_106()) return true;
return false;
}
public:
void setErrorHandler(ErrorHandler *eh) {
if (errorHandler) delete errorHandler;
errorHandler = eh;
}
TokenManager *token_source = nullptr;
CharStream *jj_input_stream = nullptr;
/** Current token. */
Token *token = nullptr;
/** Next token. */
Token *jj_nt = nullptr;
private:
int jj_ntk;
JJCalls jj_2_rtns[30];
bool jj_rescan;
int jj_gc;
Token *jj_scanpos, *jj_lastpos;
int jj_la;
/** Whether we are looking ahead. */
bool jj_lookingAhead;
bool jj_semLA;
int jj_gen;
int jj_la1[113];
ErrorHandler *errorHandler = nullptr;
protected:
bool hasError;
Token *head;
public:
JavaParser(TokenManager *tokenManager);
virtual ~JavaParser();
void ReInit(TokenManager* tokenManager);
void clear();
Token * jj_consume_token(int kind);
bool jj_scan_token(int kind);
Token * getNextToken();
Token * getToken(int index);
int jj_ntk_f();
private:
int jj_kind;
int **jj_expentries;
int *jj_expentry;
void jj_add_error_token(int kind, int pos);
protected:
/** Generate ParseException. */
virtual void parseError();
private:
int indent; // trace indentation
bool trace = false; // trace enabled if true
public:
bool trace_enabled();
void enable_tracing();
void disable_tracing();
void jj_rescan_token();
void jj_save(int index, int xla);
JJTJavaParserState jjtree;
private:
bool jj_done;
};
}
}
#endif