public class JJTreeParser extends java.lang.Object implements JJTreeParserTreeConstants, JJTreeParserConstants
Modifier and Type | Field and Description |
---|---|
protected boolean |
isJavaLanguage |
Token |
jj_nt
Next token.
|
protected JJTJJTreeParserState |
jjtree |
Token |
token
Current token.
|
JJTreeParserTokenManager |
token_source
Generated Token Manager.
|
JJTBNF, JJTBNFACTION, JJTBNFASSIGNMENT, JJTBNFCHOICE, JJTBNFDECLARATION, JJTBNFLOOKAHEAD, JJTBNFNODESCOPE, JJTBNFNONTERMINAL, JJTBNFONEORMORE, JJTBNFPARENTHESIZED, JJTBNFSEQUENCE, JJTBNFTRYBLOCK, JJTBNFZEROORMORE, JJTBNFZEROORONE, JJTCHARDESCRIPTOR, JJTCOMPILATIONUNIT, JJTEXPANSIONNODESCOPE, JJTGRAMMAR, JJTJAVACODE, JJTJAVACODEBODY, JJTNODEDESCRIPTOR, JJTNODEDESCRIPTOREXPRESSION, jjtNodeName, JJTOPTIONBINDING, JJTOPTIONS, JJTPRIMARYEXPRESSION, JJTPRODUCTIONS, JJTRE, JJTRECHARLIST, JJTRECHOICE, JJTREEOF, JJTRENAMED, JJTREONEORMORE, JJTREPARENTHESIZED, JJTREREFERENCE, JJTRESEQUENCE, JJTRESPEC, JJTRESTRINGLITERAL, JJTREZEROORMORE, JJTREZEROORONE, JJTRREPETITIONRANGE, JJTTOKENDECLS, JJTVOID
_DEFAULT, _EOF, _IGNORE_CASE, _JAVACODE, _LOOKAHEAD, _MORE, _PARSER_BEGIN, _PARSER_END, _SKIP, _SPECIAL_TOKEN, _TOKEN, _TOKEN_MGR_DECLS, ABSTRACT, ANDASSIGN, ASSIGN, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, DOUBLECOLON, ELSE, EOF, EQ, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HASH, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RUNSIGNEDSHIFT, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
Constructor and Description |
---|
JJTreeParser(java.io.InputStream stream)
Constructor with InputStream.
|
JJTreeParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding
|
JJTreeParser(JJTreeParserTokenManager tm)
Constructor with generated Token Manager.
|
JJTreeParser(java.io.Reader stream)
Constructor.
|
protected JJTJJTreeParserState jjtree
protected boolean isJavaLanguage
public JJTreeParserTokenManager token_source
public Token token
public Token jj_nt
public JJTreeParser(java.io.InputStream stream)
public JJTreeParser(java.io.InputStream stream, java.lang.String encoding)
public JJTreeParser(java.io.Reader stream)
public JJTreeParser(JJTreeParserTokenManager tm)
public final void javacc_input() throws ParseException
ParseException
public final void javacc_options() throws ParseException
ParseException
public final void option_binding() throws ParseException
ParseException
public final void production() throws ParseException
ParseException
public final void javacode_production() throws ParseException
ParseException
public final void bnf_production() throws ParseException
ParseException
public final void AccessModifier() throws ParseException
ParseException
public final void regular_expr_production() throws ParseException
ParseException
public final void token_manager_decls() throws ParseException
ParseException
public final void regexpr_kind() throws ParseException
ParseException
public final void regexpr_spec() throws ParseException
ParseException
public final JJTreeNode expansion_choices(ASTProduction p) throws ParseException
ParseException
public final void expansion(ASTProduction p) throws ParseException
ParseException
public final void local_lookahead(ASTProduction p) throws ParseException
ParseException
public final JJTreeNode expansion_unit(ASTProduction p) throws ParseException
ParseException
public final void regular_expression() throws ParseException
ParseException
public final void complex_regular_expression_choices() throws ParseException
ParseException
public final void complex_regular_expression() throws ParseException
ParseException
public final void complex_regular_expression_unit() throws ParseException
ParseException
public final void character_list() throws ParseException
ParseException
public final void character_descriptor() throws ParseException
ParseException
public final Token identifier() throws ParseException
ParseException
public final ASTNodeDescriptor node_descriptor() throws ParseException
ParseException
public final java.lang.String JavaIdentifier() throws ParseException
ParseException
public final void CompilationUnit() throws ParseException
ParseException
public final void PackageDeclaration() throws ParseException
ParseException
public final void ImportDeclaration() throws ParseException
ParseException
public final void Modifiers() throws ParseException
ParseException
public final void TypeDeclaration() throws ParseException
ParseException
public final void ClassOrInterfaceDeclaration() throws ParseException
ParseException
public final void ExtendsList() throws ParseException
ParseException
public final void ImplementsList() throws ParseException
ParseException
public final void EnumDeclaration() throws ParseException
ParseException
public final void EnumBody() throws ParseException
ParseException
public final void EnumConstant() throws ParseException
ParseException
public final void TypeParameters() throws ParseException
ParseException
public final void TypeParameter() throws ParseException
ParseException
public final void TypeBound() throws ParseException
ParseException
public final void ClassOrInterfaceBody() throws ParseException
ParseException
public final void ClassOrInterfaceBodyDeclaration() throws ParseException
ParseException
public final void FieldDeclaration() throws ParseException
ParseException
public final void VariableDeclarator() throws ParseException
ParseException
public final void VariableDeclaratorId() throws ParseException
ParseException
public final void VariableInitializer() throws ParseException
ParseException
public final void ArrayInitializer() throws ParseException
ParseException
public final void MethodDeclaration() throws ParseException
ParseException
public final void MethodDeclarator() throws ParseException
ParseException
public final void FormalParameters() throws ParseException
ParseException
public final void FormalParameter() throws ParseException
ParseException
public final void ConstructorDeclaration() throws ParseException
ParseException
public final void ExplicitConstructorInvocation() throws ParseException
ParseException
public final void Initializer() throws ParseException
ParseException
public final void Type() throws ParseException
ParseException
public final void ReferenceType() throws ParseException
ParseException
public final void Template() throws ParseException
ParseException
public final void TemplatePack() throws ParseException
ParseException
public final void TemplateBase() throws ParseException
ParseException
public final void ClassOrInterfaceType() throws ParseException
ParseException
public final void TypeArguments() throws ParseException
ParseException
public final void TypeArgument() throws ParseException
ParseException
public final void WildcardBounds() throws ParseException
ParseException
public final void PrimitiveType() throws ParseException
ParseException
public final void ResultType() throws ParseException
ParseException
public final java.lang.String Name() throws ParseException
ParseException
public final void NameList() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void AssignmentOperator() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalOrExpression() throws ParseException
ParseException
public final void ConditionalAndExpression() throws ParseException
ParseException
public final void InclusiveOrExpression() throws ParseException
ParseException
public final void ExclusiveOrExpression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void EqualityExpression() throws ParseException
ParseException
public final void InstanceOfExpression() throws ParseException
ParseException
public final void RelationalExpression() throws ParseException
ParseException
public final void ShiftExpression() throws ParseException
ParseException
public final void AdditiveExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PreIncrementExpression() throws ParseException
ParseException
public final void PreDecrementExpression() throws ParseException
ParseException
public final void UnaryExpressionNotPlusMinus() throws ParseException
ParseException
public final void CastLookahead() throws ParseException
ParseException
public final void PostfixExpression() throws ParseException
ParseException
public final void CastExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void MemberSelector() throws ParseException
ParseException
public final void PrimaryPrefix() throws ParseException
ParseException
public final void PrimarySuffix() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final Token IntegerLiteral() throws ParseException
ParseException
public final Token BooleanLiteral() throws ParseException
ParseException
public final Token StringLiteral() throws ParseException
ParseException
public final void NullLiteral() throws ParseException
ParseException
public final void Arguments() throws ParseException
ParseException
public final void ArgumentList() throws ParseException
ParseException
public final void AllocationExpression() throws ParseException
ParseException
public final void ArrayDimsAndInits() throws ParseException
ParseException
public final void Statement() throws ParseException
ParseException
public final void AssertStatement() throws ParseException
ParseException
public final void LabeledStatement() throws ParseException
ParseException
public final void Block() throws ParseException
ParseException
public final void BlockStatement() throws ParseException
ParseException
public final void LocalVariableDeclaration() throws ParseException
ParseException
public final void EmptyStatement() throws ParseException
ParseException
public final void StatementExpression() throws ParseException
ParseException
public final void SwitchStatement() throws ParseException
ParseException
public final void SwitchLabel() throws ParseException
ParseException
public final void IfStatement() throws ParseException
ParseException
public final void WhileStatement() throws ParseException
ParseException
public final void DoStatement() throws ParseException
ParseException
public final void ForStatement() throws ParseException
ParseException
public final void ForInit() throws ParseException
ParseException
public final void StatementExpressionList() throws ParseException
ParseException
public final void ForUpdate() throws ParseException
ParseException
public final void BreakStatement() throws ParseException
ParseException
public final void ContinueStatement() throws ParseException
ParseException
public final void ReturnStatement() throws ParseException
ParseException
public final void ThrowStatement() throws ParseException
ParseException
public final void SynchronizedStatement() throws ParseException
ParseException
public final void TryStatement() throws ParseException
ParseException
public final void RUNSIGNEDSHIFT() throws ParseException
ParseException
public final void RSIGNEDSHIFT() throws ParseException
ParseException
public final void Annotation() throws ParseException
ParseException
public final void NormalAnnotation() throws ParseException
ParseException
public final void MarkerAnnotation() throws ParseException
ParseException
public final void SingleMemberAnnotation() throws ParseException
ParseException
public final void MemberValuePairs() throws ParseException
ParseException
public final void MemberValuePair() throws ParseException
ParseException
public final void MemberValue() throws ParseException
ParseException
public final void MemberValueArrayInitializer() throws ParseException
ParseException
public final void AnnotationTypeDeclaration() throws ParseException
ParseException
public final void AnnotationTypeBody() throws ParseException
ParseException
public final void AnnotationTypeMemberDeclaration() throws ParseException
ParseException
public final void DefaultValue() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(JJTreeParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()