jparse
Class JavaParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byjparse.JavaParser
All Implemented Interfaces:
JavaTokenTypes

public class JavaParser
extends antlr.LLkParser
implements JavaTokenTypes

A Java 1.2 parser. This parser is based on, but differs significantly from, version 1.17 of the public domain ANTLR parser written by: John Mitchell johnm@non.net Terence Parr parrt@magelang.com John Lilley jlilley@empathy.com Scott Stanchfield thetick@magelang.com Markus Mohnen mohnen@informatik.rwth-aachen.de Peter Williams pwilliams@netdynamics.com Note that this parser does not suffer from the bugs identified on the ANTLR mailing list for the public domain parser.


Field Summary
static String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_21
           
static antlr.collections.impl.BitSet _tokenSet_22
           
static antlr.collections.impl.BitSet _tokenSet_23
           
static antlr.collections.impl.BitSet _tokenSet_24
           
static antlr.collections.impl.BitSet _tokenSet_25
           
static antlr.collections.impl.BitSet _tokenSet_26
           
static antlr.collections.impl.BitSet _tokenSet_27
           
static antlr.collections.impl.BitSet _tokenSet_28
           
static antlr.collections.impl.BitSet _tokenSet_29
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_30
           
static antlr.collections.impl.BitSet _tokenSet_31
           
static antlr.collections.impl.BitSet _tokenSet_32
           
static antlr.collections.impl.BitSet _tokenSet_33
           
static antlr.collections.impl.BitSet _tokenSet_34
           
static antlr.collections.impl.BitSet _tokenSet_35
           
static antlr.collections.impl.BitSet _tokenSet_36
           
static antlr.collections.impl.BitSet _tokenSet_37
           
static antlr.collections.impl.BitSet _tokenSet_38
           
static antlr.collections.impl.BitSet _tokenSet_39
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_40
           
static antlr.collections.impl.BitSet _tokenSet_41
           
static antlr.collections.impl.BitSet _tokenSet_42
           
static antlr.collections.impl.BitSet _tokenSet_43
           
static antlr.collections.impl.BitSet _tokenSet_44
           
static antlr.collections.impl.BitSet _tokenSet_45
           
static antlr.collections.impl.BitSet _tokenSet_46
           
static antlr.collections.impl.BitSet _tokenSet_47
           
static antlr.collections.impl.BitSet _tokenSet_48
           
static antlr.collections.impl.BitSet _tokenSet_49
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_50
           
static antlr.collections.impl.BitSet _tokenSet_51
           
static antlr.collections.impl.BitSet _tokenSet_52
           
static antlr.collections.impl.BitSet _tokenSet_53
           
static antlr.collections.impl.BitSet _tokenSet_54
           
static antlr.collections.impl.BitSet _tokenSet_55
           
static antlr.collections.impl.BitSet _tokenSet_56
           
static antlr.collections.impl.BitSet _tokenSet_57
           
static antlr.collections.impl.BitSet _tokenSet_58
           
static antlr.collections.impl.BitSet _tokenSet_59
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_60
           
static antlr.collections.impl.BitSet _tokenSet_61
           
static antlr.collections.impl.BitSet _tokenSet_62
           
static antlr.collections.impl.BitSet _tokenSet_63
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
private  File file
          The file to read from.
private  LineReader input
          The reader used by the lexer.
 
Fields inherited from class antlr.LLkParser
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface jparse.JavaTokenTypes
ARRAY_DECLARATOR, ARRAY_INIT, ASSIGN, BAND, BAND_ASSIGN, BNOT, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, CASE_GROUP, CHAR_LITERAL, COLON, COMMA, CONCAT_ASSIGN, CONCATENATION, CONST, CONSTRUCTOR_CALL, CTOR_DEF, DEC, DIV, DIV_ASSIGN, DOT, ELIST, EMPTY_STAT, EOF, EQUAL, ESC, EXPONENT, EXPRESSION_STAT, EXTENDS_CLAUSE, FILE, FLOAT_SUFFIX, FOR_CONDITION, FOR_INIT, FOR_ITERATOR, GE, GOTO, GT, HEX_DIGIT, IDENT, IMPLEMENTS_CLAUSE, INC, INDEX_OP, INSTANCE_INIT, LABELED_STAT, LAND, LBRACK, LCURLY, LE, LITERAL_abstract, LITERAL_boolean, LITERAL_break, LITERAL_byte, LITERAL_case, LITERAL_catch, LITERAL_char, LITERAL_class, LITERAL_continue, LITERAL_default, LITERAL_do, LITERAL_double, LITERAL_else, LITERAL_extends, LITERAL_false, LITERAL_final, LITERAL_finally, LITERAL_float, LITERAL_for, LITERAL_if, LITERAL_implements, LITERAL_import, LITERAL_instanceof, LITERAL_int, LITERAL_interface, LITERAL_long, LITERAL_native, LITERAL_new, LITERAL_null, LITERAL_package, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_return, LITERAL_short, LITERAL_static, LITERAL_strictfp, LITERAL_super, LITERAL_switch, LITERAL_synchronized, LITERAL_this, LITERAL_throw, LITERAL_throws, LITERAL_transient, LITERAL_true, LITERAL_try, LITERAL_void, LITERAL_volatile, LITERAL_while, LNOT, LOR, LPAREN, LT, METHOD_CALL, METHOD_DEF, MINUS, MINUS_ASSIGN, ML_COMMENT, MOD, MOD_ASSIGN, MODIFIERS, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, OBJBLOCK, PARAMETER_DEF, PARAMETERS, PAREN_EXPR, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, QUESTION, RBRACK, RCURLY, RPAREN, SEMI, SL, SL_ASSIGN, SL_COMMENT, SLIST, SR, SR_ASSIGN, STAR, STAR_ASSIGN, STRING_LITERAL, TYPE, TYPE_STAT, TYPECAST, UNARY_MINUS, UNARY_PLUS, VARIABLE_DEF, VARIABLE_DEFS, VOCAB, WS
 
Constructor Summary
  JavaParser(antlr.ParserSharedInputState state)
           
  JavaParser(antlr.TokenBuffer tokenBuf)
           
protected JavaParser(antlr.TokenBuffer tokenBuf, int k)
           
  JavaParser(antlr.TokenStream lexer)
           
protected JavaParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
protected  void additiveExpression()
           
protected  void andExpression()
           
protected  void anonymousClassBlock(IdentifierAST superclass)
           
protected  void arrayInitializer()
           
protected  void assignmentExpression()
           
protected  void buildTokenTypeASTClassMap()
           
protected  void builtInType()
           
protected  void builtInTypeSpec()
           
protected  void casesGroup()
           
protected  void classBlock()
           
protected  void classDefinition(ModifierAST modifiers)
           
protected  void classTypeSpec()
           
protected  void commaInitializer()
           
 void compilationUnit()
           
protected  void compoundStatement()
           
protected  void conditionalExpression()
           
protected  void constant()
           
protected  void declaration()
           
protected  void declaratorBrackets()
           
protected  void equalityExpression()
           
protected  void exclusiveOrExpression()
           
protected  void expression()
           
protected  void expressionList()
           
protected  void field()
           
protected  void forCond()
           
protected  void forInit()
           
protected  void forIter()
           
protected  void handler()
           
protected  void identifier()
           
protected  void identifierStar()
           
protected  void implementsClause()
           
protected  void importDefinition()
           
protected  void inclusiveOrExpression()
           
protected  void initializer()
           
protected  void interfaceDefinition(ModifierAST modifiers)
           
protected  void interfaceExtends()
           
protected  void logicalAndExpression()
           
protected  void logicalOrExpression()
           
private static long[] mk_tokenSet_0()
           
private static long[] mk_tokenSet_1()
           
private static long[] mk_tokenSet_10()
           
private static long[] mk_tokenSet_11()
           
private static long[] mk_tokenSet_12()
           
private static long[] mk_tokenSet_13()
           
private static long[] mk_tokenSet_14()
           
private static long[] mk_tokenSet_15()
           
private static long[] mk_tokenSet_16()
           
private static long[] mk_tokenSet_17()
           
private static long[] mk_tokenSet_18()
           
private static long[] mk_tokenSet_19()
           
private static long[] mk_tokenSet_2()
           
private static long[] mk_tokenSet_20()
           
private static long[] mk_tokenSet_21()
           
private static long[] mk_tokenSet_22()
           
private static long[] mk_tokenSet_23()
           
private static long[] mk_tokenSet_24()
           
private static long[] mk_tokenSet_25()
           
private static long[] mk_tokenSet_26()
           
private static long[] mk_tokenSet_27()
           
private static long[] mk_tokenSet_28()
           
private static long[] mk_tokenSet_29()
           
private static long[] mk_tokenSet_3()
           
private static long[] mk_tokenSet_30()
           
private static long[] mk_tokenSet_31()
           
private static long[] mk_tokenSet_32()
           
private static long[] mk_tokenSet_33()
           
private static long[] mk_tokenSet_34()
           
private static long[] mk_tokenSet_35()
           
private static long[] mk_tokenSet_36()
           
private static long[] mk_tokenSet_37()
           
private static long[] mk_tokenSet_38()
           
private static long[] mk_tokenSet_39()
           
private static long[] mk_tokenSet_4()
           
private static long[] mk_tokenSet_40()
           
private static long[] mk_tokenSet_41()
           
private static long[] mk_tokenSet_42()
           
private static long[] mk_tokenSet_43()
           
private static long[] mk_tokenSet_44()
           
private static long[] mk_tokenSet_45()
           
private static long[] mk_tokenSet_46()
           
private static long[] mk_tokenSet_47()
           
private static long[] mk_tokenSet_48()
           
private static long[] mk_tokenSet_49()
           
private static long[] mk_tokenSet_5()
           
private static long[] mk_tokenSet_50()
           
private static long[] mk_tokenSet_51()
           
private static long[] mk_tokenSet_52()
           
private static long[] mk_tokenSet_53()
           
private static long[] mk_tokenSet_54()
           
private static long[] mk_tokenSet_55()
           
private static long[] mk_tokenSet_56()
           
private static long[] mk_tokenSet_57()
           
private static long[] mk_tokenSet_58()
           
private static long[] mk_tokenSet_59()
           
private static long[] mk_tokenSet_6()
           
private static long[] mk_tokenSet_60()
           
private static long[] mk_tokenSet_61()
           
private static long[] mk_tokenSet_62()
           
private static long[] mk_tokenSet_63()
           
private static long[] mk_tokenSet_7()
           
private static long[] mk_tokenSet_8()
           
private static long[] mk_tokenSet_9()
           
protected  int modifier()
           
protected  void modifiers()
           
protected  void multiplicativeExpression()
           
protected  void newArrayDeclarator()
           
protected  void newExpression()
           
protected  void packageDefinition()
           
protected  void parameterDeclaration()
           
protected  void parameterDeclarationList()
           
protected  void postfixExpression()
           
protected  void primaryExpression()
           
protected  void relationalExpression()
           
 void reportError(antlr.RecognitionException ex)
          Report an error to the user in the format used by Sun's javac
 void reportError(String msg)
          Report an error to the user in the format used by Sun's javac
(package private)  void setFileAndReader(File f, LineReader in)
          Set file to read from, and the reader to use for fetching lines from that file
protected  void shiftExpression()
           
protected  void statement()
           
protected  void superClassClause()
           
protected  void throwsClause()
           
protected  void tryBlock()
           
protected  void type()
           
protected  void typeDefinition()
           
protected  void typeSpec()
           
protected  void unaryExpression()
           
protected  void unaryExpressionNotPlusMinus()
           
protected  void variableDeclarator()
           
protected  void variableDefinitions()
           
protected  void varInitializer()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private File file
The file to read from.


input

private LineReader input
The reader used by the lexer. This reader knows how to fetch a numbered line from the file. Only use this to fetch lines! Reading characters from it will do horrible things to the lexer.


_tokenNames

public static final String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19

_tokenSet_20

public static final antlr.collections.impl.BitSet _tokenSet_20

_tokenSet_21

public static final antlr.collections.impl.BitSet _tokenSet_21

_tokenSet_22

public static final antlr.collections.impl.BitSet _tokenSet_22

_tokenSet_23

public static final antlr.collections.impl.BitSet _tokenSet_23

_tokenSet_24

public static final antlr.collections.impl.BitSet _tokenSet_24

_tokenSet_25

public static final antlr.collections.impl.BitSet _tokenSet_25

_tokenSet_26

public static final antlr.collections.impl.BitSet _tokenSet_26

_tokenSet_27

public static final antlr.collections.impl.BitSet _tokenSet_27

_tokenSet_28

public static final antlr.collections.impl.BitSet _tokenSet_28

_tokenSet_29

public static final antlr.collections.impl.BitSet _tokenSet_29

_tokenSet_30

public static final antlr.collections.impl.BitSet _tokenSet_30

_tokenSet_31

public static final antlr.collections.impl.BitSet _tokenSet_31

_tokenSet_32

public static final antlr.collections.impl.BitSet _tokenSet_32

_tokenSet_33

public static final antlr.collections.impl.BitSet _tokenSet_33

_tokenSet_34

public static final antlr.collections.impl.BitSet _tokenSet_34

_tokenSet_35

public static final antlr.collections.impl.BitSet _tokenSet_35

_tokenSet_36

public static final antlr.collections.impl.BitSet _tokenSet_36

_tokenSet_37

public static final antlr.collections.impl.BitSet _tokenSet_37

_tokenSet_38

public static final antlr.collections.impl.BitSet _tokenSet_38

_tokenSet_39

public static final antlr.collections.impl.BitSet _tokenSet_39

_tokenSet_40

public static final antlr.collections.impl.BitSet _tokenSet_40

_tokenSet_41

public static final antlr.collections.impl.BitSet _tokenSet_41

_tokenSet_42

public static final antlr.collections.impl.BitSet _tokenSet_42

_tokenSet_43

public static final antlr.collections.impl.BitSet _tokenSet_43

_tokenSet_44

public static final antlr.collections.impl.BitSet _tokenSet_44

_tokenSet_45

public static final antlr.collections.impl.BitSet _tokenSet_45

_tokenSet_46

public static final antlr.collections.impl.BitSet _tokenSet_46

_tokenSet_47

public static final antlr.collections.impl.BitSet _tokenSet_47

_tokenSet_48

public static final antlr.collections.impl.BitSet _tokenSet_48

_tokenSet_49

public static final antlr.collections.impl.BitSet _tokenSet_49

_tokenSet_50

public static final antlr.collections.impl.BitSet _tokenSet_50

_tokenSet_51

public static final antlr.collections.impl.BitSet _tokenSet_51

_tokenSet_52

public static final antlr.collections.impl.BitSet _tokenSet_52

_tokenSet_53

public static final antlr.collections.impl.BitSet _tokenSet_53

_tokenSet_54

public static final antlr.collections.impl.BitSet _tokenSet_54

_tokenSet_55

public static final antlr.collections.impl.BitSet _tokenSet_55

_tokenSet_56

public static final antlr.collections.impl.BitSet _tokenSet_56

_tokenSet_57

public static final antlr.collections.impl.BitSet _tokenSet_57

_tokenSet_58

public static final antlr.collections.impl.BitSet _tokenSet_58

_tokenSet_59

public static final antlr.collections.impl.BitSet _tokenSet_59

_tokenSet_60

public static final antlr.collections.impl.BitSet _tokenSet_60

_tokenSet_61

public static final antlr.collections.impl.BitSet _tokenSet_61

_tokenSet_62

public static final antlr.collections.impl.BitSet _tokenSet_62

_tokenSet_63

public static final antlr.collections.impl.BitSet _tokenSet_63
Constructor Detail

JavaParser

protected JavaParser(antlr.TokenBuffer tokenBuf,
                     int k)

JavaParser

public JavaParser(antlr.TokenBuffer tokenBuf)

JavaParser

protected JavaParser(antlr.TokenStream lexer,
                     int k)

JavaParser

public JavaParser(antlr.TokenStream lexer)

JavaParser

public JavaParser(antlr.ParserSharedInputState state)
Method Detail

setFileAndReader

void setFileAndReader(File f,
                      LineReader in)
Set file to read from, and the reader to use for fetching lines from that file

Parameters:
f - the file to read from
in - the reader

reportError

public void reportError(antlr.RecognitionException ex)
Report an error to the user in the format used by Sun's javac

Parameters:
ex - an exception detailing the problem

reportError

public void reportError(String msg)
Report an error to the user in the format used by Sun's javac

Parameters:
msg - the message to print

compilationUnit

public final void compilationUnit()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

packageDefinition

protected final void packageDefinition()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

importDefinition

protected final void importDefinition()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeDefinition

protected final void typeDefinition()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

identifier

protected final void identifier()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

identifierStar

protected final void identifierStar()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

modifiers

protected final void modifiers()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

classDefinition

protected final void classDefinition(ModifierAST modifiers)
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

interfaceDefinition

protected final void interfaceDefinition(ModifierAST modifiers)
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

modifier

protected final int modifier()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

superClassClause

protected final void superClassClause()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

implementsClause

protected final void implementsClause()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

classBlock

protected final void classBlock()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

interfaceExtends

protected final void interfaceExtends()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

field

protected final void field()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameterDeclarationList

protected final void parameterDeclarationList()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

throwsClause

protected final void throwsClause()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

compoundStatement

protected final void compoundStatement()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeSpec

protected final void typeSpec()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declaratorBrackets

protected final void declaratorBrackets()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableDefinitions

protected final void variableDefinitions()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

classTypeSpec

protected final void classTypeSpec()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

builtInTypeSpec

protected final void builtInTypeSpec()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

builtInType

protected final void builtInType()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

type

protected final void type()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableDeclarator

protected final void variableDeclarator()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

varInitializer

protected final void varInitializer()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initializer

protected final void initializer()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expression

protected final void expression()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

arrayInitializer

protected final void arrayInitializer()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

commaInitializer

protected final void commaInitializer()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameterDeclaration

protected final void parameterDeclaration()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

statement

protected final void statement()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declaration

protected final void declaration()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

forInit

protected final void forInit()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

forCond

protected final void forCond()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

forIter

protected final void forIter()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

casesGroup

protected final void casesGroup()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

tryBlock

protected final void tryBlock()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expressionList

protected final void expressionList()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

handler

protected final void handler()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

assignmentExpression

protected final void assignmentExpression()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

conditionalExpression

protected final void conditionalExpression()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalOrExpression

protected final void logicalOrExpression()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalAndExpression

protected final void logicalAndExpression()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

inclusiveOrExpression

protected final void inclusiveOrExpression()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

exclusiveOrExpression

protected final void exclusiveOrExpression()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

andExpression

protected final void andExpression()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

equalityExpression

protected final void equalityExpression()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

relationalExpression

protected final void relationalExpression()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

shiftExpression

protected final void shiftExpression()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

additiveExpression

protected final void additiveExpression()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

multiplicativeExpression

protected final void multiplicativeExpression()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unaryExpression

protected final void unaryExpression()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unaryExpressionNotPlusMinus

protected final void unaryExpressionNotPlusMinus()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

postfixExpression

protected final void postfixExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

primaryExpression

protected final void primaryExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

newExpression

protected final void newExpression()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

constant

protected final void constant()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anonymousClassBlock

protected final void anonymousClassBlock(IdentifierAST superclass)
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

newArrayDeclarator

protected final void newArrayDeclarator()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()

mk_tokenSet_0

private static final long[] mk_tokenSet_0()

mk_tokenSet_1

private static final long[] mk_tokenSet_1()

mk_tokenSet_2

private static final long[] mk_tokenSet_2()

mk_tokenSet_3

private static final long[] mk_tokenSet_3()

mk_tokenSet_4

private static final long[] mk_tokenSet_4()

mk_tokenSet_5

private static final long[] mk_tokenSet_5()

mk_tokenSet_6

private static final long[] mk_tokenSet_6()

mk_tokenSet_7

private static final long[] mk_tokenSet_7()

mk_tokenSet_8

private static final long[] mk_tokenSet_8()

mk_tokenSet_9

private static final long[] mk_tokenSet_9()

mk_tokenSet_10

private static final long[] mk_tokenSet_10()

mk_tokenSet_11

private static final long[] mk_tokenSet_11()

mk_tokenSet_12

private static final long[] mk_tokenSet_12()

mk_tokenSet_13

private static final long[] mk_tokenSet_13()

mk_tokenSet_14

private static final long[] mk_tokenSet_14()

mk_tokenSet_15

private static final long[] mk_tokenSet_15()

mk_tokenSet_16

private static final long[] mk_tokenSet_16()

mk_tokenSet_17

private static final long[] mk_tokenSet_17()

mk_tokenSet_18

private static final long[] mk_tokenSet_18()

mk_tokenSet_19

private static final long[] mk_tokenSet_19()

mk_tokenSet_20

private static final long[] mk_tokenSet_20()

mk_tokenSet_21

private static final long[] mk_tokenSet_21()

mk_tokenSet_22

private static final long[] mk_tokenSet_22()

mk_tokenSet_23

private static final long[] mk_tokenSet_23()

mk_tokenSet_24

private static final long[] mk_tokenSet_24()

mk_tokenSet_25

private static final long[] mk_tokenSet_25()

mk_tokenSet_26

private static final long[] mk_tokenSet_26()

mk_tokenSet_27

private static final long[] mk_tokenSet_27()

mk_tokenSet_28

private static final long[] mk_tokenSet_28()

mk_tokenSet_29

private static final long[] mk_tokenSet_29()

mk_tokenSet_30

private static final long[] mk_tokenSet_30()

mk_tokenSet_31

private static final long[] mk_tokenSet_31()

mk_tokenSet_32

private static final long[] mk_tokenSet_32()

mk_tokenSet_33

private static final long[] mk_tokenSet_33()

mk_tokenSet_34

private static final long[] mk_tokenSet_34()

mk_tokenSet_35

private static final long[] mk_tokenSet_35()

mk_tokenSet_36

private static final long[] mk_tokenSet_36()

mk_tokenSet_37

private static final long[] mk_tokenSet_37()

mk_tokenSet_38

private static final long[] mk_tokenSet_38()

mk_tokenSet_39

private static final long[] mk_tokenSet_39()

mk_tokenSet_40

private static final long[] mk_tokenSet_40()

mk_tokenSet_41

private static final long[] mk_tokenSet_41()

mk_tokenSet_42

private static final long[] mk_tokenSet_42()

mk_tokenSet_43

private static final long[] mk_tokenSet_43()

mk_tokenSet_44

private static final long[] mk_tokenSet_44()

mk_tokenSet_45

private static final long[] mk_tokenSet_45()

mk_tokenSet_46

private static final long[] mk_tokenSet_46()

mk_tokenSet_47

private static final long[] mk_tokenSet_47()

mk_tokenSet_48

private static final long[] mk_tokenSet_48()

mk_tokenSet_49

private static final long[] mk_tokenSet_49()

mk_tokenSet_50

private static final long[] mk_tokenSet_50()

mk_tokenSet_51

private static final long[] mk_tokenSet_51()

mk_tokenSet_52

private static final long[] mk_tokenSet_52()

mk_tokenSet_53

private static final long[] mk_tokenSet_53()

mk_tokenSet_54

private static final long[] mk_tokenSet_54()

mk_tokenSet_55

private static final long[] mk_tokenSet_55()

mk_tokenSet_56

private static final long[] mk_tokenSet_56()

mk_tokenSet_57

private static final long[] mk_tokenSet_57()

mk_tokenSet_58

private static final long[] mk_tokenSet_58()

mk_tokenSet_59

private static final long[] mk_tokenSet_59()

mk_tokenSet_60

private static final long[] mk_tokenSet_60()

mk_tokenSet_61

private static final long[] mk_tokenSet_61()

mk_tokenSet_62

private static final long[] mk_tokenSet_62()

mk_tokenSet_63

private static final long[] mk_tokenSet_63()