JavaRecognizer Class Reference
Java 1.3 Recognizer. More...
#include <JavaRecognizer.hpp>
Inheritance diagram for JavaRecognizer:

Public Member Functions | |
void | setDriver (Driver *d) |
void | setFileName (const QString &fileName) |
void | reportError (const antlr::RecognitionException &ex) |
void | reportError (const std::string &errorMessage) |
void | reportMessage (const std::string &message) |
void | initializeASTFactory (antlr::ASTFactory &factory) |
JavaRecognizer (antlr::TokenBuffer &tokenBuf) | |
JavaRecognizer (antlr::TokenStream &lexer) | |
JavaRecognizer (const antlr::ParserSharedInputState &state) | |
int | getNumTokens () const |
const char * | getTokenName (int type) const |
const char *const * | getTokenNames () const |
void | compilationUnit () |
void | packageDefinition () |
void | importDefinition () |
void | typeDefinition () |
void | identifier () |
void | identifierStar () |
void | modifiers () |
void | classDefinition (RefJavaAST modifiers) |
void | interfaceDefinition (RefJavaAST modifiers) |
void | declaration () |
A declaration is the creation of a reference or primitive-type variable Create a separate Type/Var tree for each var in the var list. | |
void | typeSpec (bool addImagNode) |
void | variableDefinitions (RefJavaAST mods, RefJavaAST t) |
void | classTypeSpec (bool addImagNode) |
void | builtInTypeSpec (bool addImagNode) |
void | builtInType () |
void | type () |
void | modifier () |
void | superClassClause () |
void | implementsClause () |
void | classBlock () |
void | interfaceExtends () |
void | field () |
void | ctorHead () |
void | constructorBody () |
void | parameterDeclarationList () |
void | declaratorBrackets (RefJavaAST typ) |
void | throwsClause () |
void | compoundStatement () |
void | explicitConstructorInvocation () |
Catch obvious constructor calls, but not the expr.super(...) calls. | |
void | statement () |
void | argList () |
void | variableDeclarator (RefJavaAST mods, RefJavaAST t) |
Declaration of a variable. | |
void | varInitializer () |
void | initializer () |
void | arrayInitializer () |
void | expression () |
void | parameterDeclaration () |
void | parameterModifier () |
void | forInit () |
void | forCond () |
void | forIter () |
void | casesGroup () |
void | tryBlock () |
void | aCase () |
void | caseSList () |
void | expressionList () |
void | handler () |
void | finallyClause () |
void | assignmentExpression () |
void | conditionalExpression () |
void | logicalOrExpression () |
void | logicalAndExpression () |
void | inclusiveOrExpression () |
void | exclusiveOrExpression () |
void | andExpression () |
void | equalityExpression () |
void | relationalExpression () |
void | shiftExpression () |
void | additiveExpression () |
void | multiplicativeExpression () |
void | unaryExpression () |
void | unaryExpressionNotPlusMinus () |
void | postfixExpression () |
void | primaryExpression () |
void | newExpression () |
object instantiation. | |
void | identPrimary () |
Match a, a.b.c refs, a.b.c(...) refs, a.b.c[], a.b.c[].class, and a.b.c.class refs. | |
void | constant () |
void | newArrayDeclarator () |
RefJavaAST | getAST () |
Protected Member Functions | |
JavaRecognizer (antlr::TokenBuffer &tokenBuf, int k) | |
JavaRecognizer (antlr::TokenStream &lexer, int k) | |
Protected Attributes | |
RefJavaAST | returnAST |
Private Attributes | |
Driver * | m_driver |
Static Private Attributes | |
const char * | tokenNames [] |
const int | NUM_TOKENS = 152 |
const unsigned long | _tokenSet_0_data_ [] = { 0UL, 3758105472UL, 383UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_0 |
const unsigned long | _tokenSet_1_data_ [] = { 2UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_1 |
const unsigned long | _tokenSet_2_data_ [] = { 2UL, 3758121856UL, 383UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_2 |
const unsigned long | _tokenSet_3_data_ [] = { 2UL, 3758105472UL, 383UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_3 |
const unsigned long | _tokenSet_4_data_ [] = { 0UL, 67215360UL, 687616UL, 4194296UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_4 |
const unsigned long | _tokenSet_5_data_ [] = { 0UL, 8192UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_5 |
const unsigned long | _tokenSet_6_data_ [] = { 0UL, 3758097280UL, 63UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_6 |
const unsigned long | _tokenSet_7_data_ [] = { 0UL, 134086656UL, 320UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_7 |
const unsigned long | _tokenSet_8_data_ [] = { 2UL, 3892192128UL, 4294027135UL, 3221225473UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_8 |
const unsigned long | _tokenSet_9_data_ [] = { 2UL, 3892192128UL, 1919UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_9 |
const unsigned long | _tokenSet_10_data_ [] = { 0UL, 67182592UL, 674816UL, 4194296UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_10 |
const unsigned long | _tokenSet_11_data_ [] = { 0UL, 201433088UL, 683008UL, 4194296UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_11 |
const unsigned long | _tokenSet_12_data_ [] = { 0UL, 32768UL, 8192UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_12 |
const unsigned long | _tokenSet_13_data_ [] = { 0UL, 3892183936UL, 383UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_13 |
const unsigned long | _tokenSet_14_data_ [] = { 0UL, 0UL, 4608UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_14 |
const unsigned long | _tokenSet_15_data_ [] = { 0UL, 0UL, 512UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_15 |
const unsigned long | _tokenSet_16_data_ [] = { 2UL, 4294943616UL, 4294700927UL, 4294967289UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_16 |
const unsigned long | _tokenSet_17_data_ [] = { 0UL, 4026434432UL, 8575UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_17 |
const unsigned long | _tokenSet_18_data_ [] = { 0UL, 201359360UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_18 |
const unsigned long | _tokenSet_19_data_ [] = { 0UL, 40960UL, 133120UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_19 |
const unsigned long | _tokenSet_20_data_ [] = { 0UL, 3892192128UL, 1919UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_20 |
const unsigned long | _tokenSet_21_data_ [] = { 0UL, 3892192128UL, 1070704255UL, 3221225473UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_21 |
const unsigned long | _tokenSet_22_data_ [] = { 0UL, 4294878080UL, 1071359871UL, 4294967289UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_22 |
const unsigned long | _tokenSet_23_data_ [] = { 0UL, 3892192128UL, 1070703231UL, 3221225473UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_23 |
const unsigned long | _tokenSet_24_data_ [] = { 0UL, 0UL, 16384UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_24 |
const unsigned long | _tokenSet_25_data_ [] = { 0UL, 8192UL, 412160UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_25 |
const unsigned long | _tokenSet_26_data_ [] = { 0UL, 8192UL, 512UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_26 |
const unsigned long | _tokenSet_27_data_ [] = { 0UL, 3892192128UL, 4294027135UL, 3221225479UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_27 |
const unsigned long | _tokenSet_28_data_ [] = { 0UL, 3892192128UL, 4294026879UL, 3221225473UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_28 |
const unsigned long | _tokenSet_29_data_ [] = { 0UL, 4294878080UL, 4294682495UL, 4294967295UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_29 |
const unsigned long | _tokenSet_30_data_ [] = { 0UL, 3892183936UL, 63UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_30 |
const unsigned long | _tokenSet_31_data_ [] = { 0UL, 4026434432UL, 63UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_31 |
const unsigned long | _tokenSet_32_data_ [] = { 0UL, 134086656UL, 106496UL, 3221225472UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_32 |
const unsigned long | _tokenSet_33_data_ [] = { 0UL, 536780800UL, 237568UL, 4294967288UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_33 |
const unsigned long | _tokenSet_34_data_ [] = { 0UL, 3758097280UL, 127UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_34 |
const unsigned long | _tokenSet_35_data_ [] = { 0UL, 3825206144UL, 127UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_35 |
const unsigned long | _tokenSet_36_data_ [] = { 0UL, 8192UL, 2048UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_36 |
const unsigned long | _tokenSet_37_data_ [] = { 0UL, 8192UL, 3072UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_37 |
const unsigned long | _tokenSet_38_data_ [] = { 0UL, 134086656UL, 107008UL, 3221225472UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_38 |
const unsigned long | _tokenSet_39_data_ [] = { 0UL, 402759680UL, 674816UL, 4294967288UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_39 |
const unsigned long | _tokenSet_40_data_ [] = { 0UL, 73728UL, 543744UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_40 |
const unsigned long | _tokenSet_41_data_ [] = { 0UL, 0UL, 18432UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_41 |
const unsigned long | _tokenSet_42_data_ [] = { 0UL, 134086656UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_42 |
const unsigned long | _tokenSet_43_data_ [] = { 0UL, 536780800UL, 239616UL, 4294967288UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_43 |
const unsigned long | _tokenSet_44_data_ [] = { 0UL, 134086656UL, 630784UL, 3221225472UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_44 |
const unsigned long | _tokenSet_45_data_ [] = { 0UL, 0UL, 3221226496UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_45 |
const unsigned long | _tokenSet_46_data_ [] = { 0UL, 3892192128UL, 4291929727UL, 3221225473UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_46 |
const unsigned long | _tokenSet_47_data_ [] = { 0UL, 8192UL, 16384UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_47 |
const unsigned long | _tokenSet_48_data_ [] = { 0UL, 3892192128UL, 4294026879UL, 3221225479UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_48 |
const unsigned long | _tokenSet_49_data_ [] = { 0UL, 73728UL, 674816UL, 16376UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_49 |
const unsigned long | _tokenSet_50_data_ [] = { 0UL, 73728UL, 674816UL, 32760UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_50 |
const unsigned long | _tokenSet_51_data_ [] = { 0UL, 73728UL, 674816UL, 65528UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_51 |
const unsigned long | _tokenSet_52_data_ [] = { 0UL, 73728UL, 674816UL, 131064UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_52 |
const unsigned long | _tokenSet_53_data_ [] = { 0UL, 73728UL, 674816UL, 262136UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_53 |
const unsigned long | _tokenSet_54_data_ [] = { 0UL, 73728UL, 674816UL, 524280UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_54 |
const unsigned long | _tokenSet_55_data_ [] = { 0UL, 73728UL, 674816UL, 1048568UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_55 |
const unsigned long | _tokenSet_56_data_ [] = { 0UL, 73728UL, 674816UL, 4194296UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_56 |
const unsigned long | _tokenSet_57_data_ [] = { 0UL, 73728UL, 674816UL, 134217720UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_57 |
const unsigned long | _tokenSet_58_data_ [] = { 0UL, 73728UL, 674816UL, 1073741816UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_58 |
const unsigned long | _tokenSet_59_data_ [] = { 0UL, 268435456UL, 0UL, 0UL, 3UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_59 |
const unsigned long | _tokenSet_60_data_ [] = { 0UL, 73728UL, 674816UL, 4294967288UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_60 |
const unsigned long | _tokenSet_61_data_ [] = { 0UL, 268509184UL, 674816UL, 4294967288UL, 3UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_61 |
const unsigned long | _tokenSet_62_data_ [] = { 0UL, 134086656UL, 106496UL, 0UL, 65472UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_62 |
const unsigned long | _tokenSet_63_data_ [] = { 0UL, 536846336UL, 781312UL, 4294967288UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_63 |
const unsigned long | _tokenSet_64_data_ [] = { 0UL, 4294943616UL, 4294700927UL, 4294967289UL, 65535UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_64 |
const unsigned long | _tokenSet_65_data_ [] = { 0UL, 134152192UL, 106496UL, 3221225472UL, 65532UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_65 |
const unsigned long | _tokenSet_66_data_ [] = { 0UL, 402759680UL, 675328UL, 4294967288UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_66 |
Detailed Description
Java 1.3 Recognizer.
* Run 'java Main [-showtree] directory-full-of-java-files' *
[The -showtree option pops up a Swing frame that shows the AST constructed from the parser.]
* Run 'java Main <directory full of java files>' *
Contributing authors: 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 pete.williams@sun.com Allan Jacobs Allan.Jacobs@eng.sun.com Steve Messick messick@redhills.com John Pybus john@pybus.org
Version 1.00 December 9, 1997 -- initial release Version 1.01 December 10, 1997 fixed bug in octal def (0..7 not 0..8) Version 1.10 August 1998 (parrt) added tree construction fixed definition of WS,comments for mac,pc,unix newlines added unary plus Version 1.11 (Nov 20, 1998) Added "shutup" option to turn off last ambig warning. Fixed inner class def to allow named class defs as statements synchronized requires compound not simple statement add [] after builtInType DOT class in primaryExpression "const" is reserved but not valid..removed from modifiers Version 1.12 (Feb 2, 1999) Changed LITERAL_xxx to xxx in tree grammar. Updated java.g to use tokens {...} now for 2.6.0 (new feature).
Version 1.13 (Apr 23, 1999) Didn't have (stat)? for else clause in tree parser. Didn't gen ASTs for interface extends. Updated tree parser too. Updated to 2.6.0. Version 1.14 (Jun 20, 1999) Allowed final/abstract on local classes. Removed local interfaces from methods Put instanceof precedence where it belongs...in relationalExpr It also had expr not type as arg; fixed it. Missing ! on SEMI in classBlock fixed: (expr) + "string" was parsed incorrectly (+ as unary plus). fixed: didn't like Object[].class in parser or tree parser Version 1.15 (Jun 26, 1999) Screwed up rule with instanceof in it. :( Fixed. Tree parser didn't like (expr).something; fixed. Allowed multiple inheritance in tree grammar. oops. Version 1.16 (August 22, 1999) Extending an interface built a wacky tree: had extra EXTENDS. Tree grammar didn't allow multiple superinterfaces. Tree grammar didn't allow empty var initializer: {} Version 1.17 (October 12, 1999) ESC lexer rule allowed 399 max not 377 max. java.tree.g didn't handle the expression of synchronized statements. Version 1.18 (August 12, 2001) Terence updated to Java 2 Version 1.3 by observing/combining work of Allan Jacobs and Steve Messick. Handles 1.3 src. Summary: o primary didn't include boolean.class kind of thing o constructor calls parsed explicitly now: see explicitConstructorInvocation o add strictfp modifier o missing objBlock after new expression in tree grammar o merged local class definition alternatives, moved after declaration o fixed problem with ClassName.super.field o reordered some alternatives to make things more efficient o long and double constants were not differentiated from int/float o whitespace rule was inefficient: matched only one char o add an examples directory with some nasty 1.3 cases o made Main.java use buffered IO and a Reader for Unicode support o supports UNICODE? Using Unicode charVocabulay makes code file big, but only in the bitsets at the end. I need to make ANTLR generate unicode bitsets more efficiently. Version 1.19 (April 25, 2002) Terence added in nice fixes by John Pybus concerning floating constants and problems with super() calls. John did a nice reorg of the primary/postfix expression stuff to read better and makes f.g.super() parse properly (it was METHOD_CALL not a SUPER_CTOR_CALL). Also:
o "finally" clause was a root...made it a child of "try" o Added stuff for asserts too for Java 1.4, but *commented out* as it is not backward compatible.
Version 1.20 (October 27, 2002)
Terence ended up reorging John Pybus' stuff to remove some nondeterminisms and some syntactic predicates. Note that the grammar is stricter now; e.g., this(...) must be the first statement.
Trinary ?: operator wasn't working as array name: (isBig ? bigDigits : digits)[i];
Checked parser/tree parser on source for Resin-2.0.5, jive-2.1.1, jdk 1.3.1, Lucene, antlr 2.7.2a4, and the 110k-line jGuru server source.
Version tracking now done with following ID:
- Id
- JavaRecognizer.hpp,v 1.11 2003/09/18 13:07:56 aclu Exp
This grammar is in the PUBLIC DOMAIN
Definition at line 142 of file JavaRecognizer.hpp.
Constructor & Destructor Documentation
|
Definition at line 8 of file JavaRecognizer.cpp. References ANTLR_USE_NAMESPACE, and JavaRecognizer(). Referenced by JavaRecognizer(). |
|
Definition at line 13 of file JavaRecognizer.cpp. References ANTLR_USE_NAMESPACE, and JavaRecognizer(). |
|
Definition at line 18 of file JavaRecognizer.cpp. References ANTLR_USE_NAMESPACE, and JavaRecognizer(). |
|
Definition at line 23 of file JavaRecognizer.cpp. References ANTLR_USE_NAMESPACE, and JavaRecognizer(). |
|
Definition at line 28 of file JavaRecognizer.cpp. References ANTLR_USE_NAMESPACE, JavaRecognizer(), and ParserSharedInputState. |
Member Function Documentation
|
Definition at line 3522 of file JavaRecognizer.cpp. References _tokenSet_46, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by casesGroup(). |
|
Definition at line 4513 of file JavaRecognizer.cpp. References _tokenSet_58, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), multiplicativeExpression(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by shiftExpression(). |
|
Definition at line 4182 of file JavaRecognizer.cpp. References _tokenSet_54, ANTLR_USE_NAMESPACE, equalityExpression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by exclusiveOrExpression(). |
|
Definition at line 2588 of file JavaRecognizer.cpp. References _tokenSet_24, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, expressionList(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by explicitConstructorInvocation(), identPrimary(), newExpression(), and postfixExpression(). |
|
Definition at line 2842 of file JavaRecognizer.cpp. References _tokenSet_38, _tokenSet_39, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), initializer(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by initializer(), and newExpression(). |
|
Definition at line 3742 of file JavaRecognizer.cpp. References _tokenSet_40, ANTLR_USE_NAMESPACE, conditionalExpression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by conditionalExpression(), expression(), and primaryExpression(). |
|
Definition at line 836 of file JavaRecognizer.cpp. References _tokenSet_11, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by builtInTypeSpec(), primaryExpression(), and type(). |
|
Definition at line 768 of file JavaRecognizer.cpp. References _tokenSet_10, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, builtInType(), builtInTypeSpec(), ASTPair::child, ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by builtInTypeSpec(), typeSpec(), and unaryExpressionNotPlusMinus(). |
|
Definition at line 3346 of file JavaRecognizer.cpp. References _tokenSet_44, _tokenSet_45, aCase(), ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, caseSList(), ASTPair::child, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by statement(). |
|
Definition at line 3575 of file JavaRecognizer.cpp. References _tokenSet_23, _tokenSet_45, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and statement(). Referenced by casesGroup(). |
|
Definition at line 1299 of file JavaRecognizer.cpp. References _tokenSet_16, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, field(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by classDefinition(), interfaceDefinition(), and newExpression(). |
|
Definition at line 448 of file JavaRecognizer.cpp. References _tokenSet_8, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, classBlock(), classDefinition(), ASTRefCount< T >::get(), implementsClause(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and superClassClause(). Referenced by classDefinition(), field(), statement(), and typeDefinition(). |
|
Definition at line 700 of file JavaRecognizer.cpp. References _tokenSet_10, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, classTypeSpec(), ASTRefCount< T >::get(), identifier(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by classTypeSpec(), typeSpec(), and unaryExpressionNotPlusMinus(). |
|
Definition at line 33 of file JavaRecognizer.cpp. References _tokenSet_0, _tokenSet_1, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), importDefinition(), nullAST, packageDefinition(), RefJavaAST, reportError(), returnAST, ASTPair::root, and typeDefinition(). |
|
Definition at line 2024 of file JavaRecognizer.cpp. References _tokenSet_23, _tokenSet_27, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, ASTPair::root, and statement(). Referenced by field(), finallyClause(), handler(), statement(), and tryBlock(). |
|
Definition at line 3930 of file JavaRecognizer.cpp. References _tokenSet_49, ANTLR_USE_NAMESPACE, assignmentExpression(), ASTRefCount< T >::get(), logicalOrExpression(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by assignmentExpression(). |
|
Definition at line 5876 of file JavaRecognizer.cpp. References _tokenSet_39, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by primaryExpression(). |
|
Definition at line 1776 of file JavaRecognizer.cpp. References _tokenSet_20, _tokenSet_21, _tokenSet_22, _tokenSet_23, ANTLR_USE_NAMESPACE, explicitConstructorInvocation(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, ASTPair::root, and statement(). Referenced by field(). |
|
Definition at line 1724 of file JavaRecognizer.cpp. References _tokenSet_15, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, parameterDeclarationList(), RefJavaAST, reportError(), returnAST, ASTPair::root, and throwsClause(). Referenced by field(). |
|
A declaration is the creation of a reference or primitive-type variable Create a separate Type/Var tree for each var in the var list.
Definition at line 556 of file JavaRecognizer.cpp. References _tokenSet_5, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), modifiers(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, typeSpec(), and variableDefinitions(). Referenced by forInit(), and statement(). |
|
Definition at line 1918 of file JavaRecognizer.cpp. References _tokenSet_25, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, declaratorBrackets(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by declaratorBrackets(), field(), parameterDeclaration(), and variableDeclarator(). |
|
Definition at line 4227 of file JavaRecognizer.cpp. References _tokenSet_55, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, relationalExpression(), reportError(), returnAST, and ASTPair::root. Referenced by andExpression(). |
|
Definition at line 4137 of file JavaRecognizer.cpp. References _tokenSet_53, andExpression(), ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by inclusiveOrExpression(). |
|
Catch obvious constructor calls, but not the expr.super(...) calls.
Definition at line 2074 of file JavaRecognizer.cpp. References _tokenSet_21, ANTLR_USE_NAMESPACE, argList(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by constructorBody(). |
|
Definition at line 2958 of file JavaRecognizer.cpp. References _tokenSet_40, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, assignmentExpression(), ASTPair::child, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by aCase(), expressionList(), forCond(), initializer(), newArrayDeclarator(), postfixExpression(), and statement(). |
|
Definition at line 3623 of file JavaRecognizer.cpp. References _tokenSet_47, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, expression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. |
|
Definition at line 1458 of file JavaRecognizer.cpp. References _tokenSet_13, _tokenSet_17, _tokenSet_18, _tokenSet_19, _tokenSet_20, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, classDefinition(), compoundStatement(), constructorBody(), ctorHead(), declaratorBrackets(), ASTRefCount< T >::get(), interfaceDefinition(), modifiers(), nullAST, parameterDeclarationList(), RefJavaAST, reportError(), returnAST, ASTPair::root, throwsClause(), typeSpec(), and variableDefinitions(). Referenced by classBlock(). |
|
Definition at line 3712 of file JavaRecognizer.cpp. References _tokenSet_28, ANTLR_USE_NAMESPACE, compoundStatement(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by tryBlock(). |
|
Definition at line 3184 of file JavaRecognizer.cpp. References _tokenSet_5, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, expression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by statement(). |
|
Definition at line 3115 of file JavaRecognizer.cpp. References _tokenSet_30, _tokenSet_31, _tokenSet_32, _tokenSet_43, _tokenSet_5, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, declaration(), expressionList(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by statement(). |
|
Definition at line 3265 of file JavaRecognizer.cpp. References _tokenSet_24, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, expressionList(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by statement(). |
|
Definition at line 6062 of file JavaRecognizer.cpp. References RefJavaAST, and returnAST. |
|
Definition at line 176 of file JavaRecognizer.hpp. References NUM_TOKENS. Referenced by getTokenName(). |
|
Definition at line 180 of file JavaRecognizer.hpp. References getNumTokens(), getTokenName(), and tokenNames. Referenced by getTokenName(). |
|
Definition at line 185 of file JavaRecognizer.hpp. References tokenNames. |
|
Definition at line 3676 of file JavaRecognizer.cpp. References _tokenSet_48, ANTLR_USE_NAMESPACE, compoundStatement(), ASTRefCount< T >::get(), nullAST, parameterDeclaration(), RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by tryBlock(). |
|
Definition at line 274 of file JavaRecognizer.cpp. References _tokenSet_4, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by classTypeSpec(), implementsClause(), interfaceExtends(), packageDefinition(), superClassClause(), throwsClause(), and type(). |
|
Definition at line 323 of file JavaRecognizer.cpp. References _tokenSet_5, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by importDefinition(). |
|
Match a, a.b.c refs, a.b.c(...) refs, a.b.c[], a.b.c[].class, and a.b.c.class refs. Also this(...) and super(...). Match this or super. Definition at line 5768 of file JavaRecognizer.cpp. References _tokenSet_39, _tokenSet_64, ANTLR_USE_NAMESPACE, argList(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by primaryExpression(). |
|
Definition at line 1223 of file JavaRecognizer.cpp. References _tokenSet_15, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), identifier(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by classDefinition(). |
|
Definition at line 158 of file JavaRecognizer.cpp. References _tokenSet_2, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierStar(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by compilationUnit(). |
|
Definition at line 4092 of file JavaRecognizer.cpp. References _tokenSet_52, ANTLR_USE_NAMESPACE, exclusiveOrExpression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by logicalAndExpression(). |
|
Definition at line 6067 of file JavaRecognizer.cpp. References initializeASTFactory(). Referenced by initializeASTFactory(). |
|
Definition at line 2771 of file JavaRecognizer.cpp. References _tokenSet_37, ANTLR_USE_NAMESPACE, arrayInitializer(), expression(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by arrayInitializer(), and varInitializer(). |
|
Definition at line 503 of file JavaRecognizer.cpp. References _tokenSet_9, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, classBlock(), ASTRefCount< T >::get(), interfaceDefinition(), interfaceExtends(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by field(), interfaceDefinition(), and typeDefinition(). |
|
Definition at line 1382 of file JavaRecognizer.cpp. References _tokenSet_15, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), identifier(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by interfaceDefinition(). |
|
Definition at line 4047 of file JavaRecognizer.cpp. References _tokenSet_51, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), inclusiveOrExpression(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by logicalOrExpression(). |
|
Definition at line 4002 of file JavaRecognizer.cpp. References _tokenSet_50, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), logicalAndExpression(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by conditionalExpression(). |
|
Definition at line 1011 of file JavaRecognizer.cpp. References _tokenSet_13, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by modifiers(). |
|
Definition at line 400 of file JavaRecognizer.cpp. References _tokenSet_6, _tokenSet_7, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), modifier(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by declaration(), field(), statement(), and typeDefinition(). |
|
Definition at line 4580 of file JavaRecognizer.cpp. References _tokenSet_59, _tokenSet_60, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and unaryExpression(). Referenced by additiveExpression(). |
|
Definition at line 5967 of file JavaRecognizer.cpp. References _tokenSet_65, _tokenSet_66, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by newExpression(). |
|
object instantiation. Trees are built as illustrated by the following input/tree pairs: new T() new | T -- ELIST | arg1 -- arg2 -- .. -- argn new int[] new | int -- ARRAY_DECLARATOR new int[] {1,2} new | int -- ARRAY_DECLARATOR -- ARRAY_INIT | EXPR -- EXPR | | 1 2 new int[3] new | int -- ARRAY_DECLARATOR | EXPR | 3 new int[1][2] new | int -- ARRAY_DECLARATOR | ARRAY_DECLARATOR -- EXPR | | EXPR 1 | 2 Definition at line 5584 of file JavaRecognizer.cpp. References _tokenSet_39, ANTLR_USE_NAMESPACE, argList(), arrayInitializer(), classBlock(), ASTRefCount< T >::get(), newArrayDeclarator(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and type(). Referenced by postfixExpression(), and primaryExpression(). |
|
Definition at line 120 of file JavaRecognizer.cpp. References _tokenSet_2, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, nullToken, RefJavaAST, RefToken, reportError(), returnAST, and ASTPair::root. Referenced by compilationUnit(). |
|
Definition at line 2995 of file JavaRecognizer.cpp. References _tokenSet_41, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, declaratorBrackets(), ASTRefCount< T >::get(), nullAST, nullToken, parameterModifier(), RefJavaAST, reportError(), returnAST, ASTPair::root, and typeSpec(). Referenced by handler(), and parameterDeclarationList(). |
|
Definition at line 1839 of file JavaRecognizer.cpp. References _tokenSet_24, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), nullAST, parameterDeclaration(), RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by ctorHead(), and field(). |
|
Definition at line 3049 of file JavaRecognizer.cpp. References _tokenSet_42, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by parameterDeclaration(). |
|
Definition at line 4947 of file JavaRecognizer.cpp. References _tokenSet_61, ANTLR_USE_NAMESPACE, argList(), expression(), ASTRefCount< T >::get(), newExpression(), nullAST, nullToken, primaryExpression(), RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by unaryExpressionNotPlusMinus(). |
|
Definition at line 5336 of file JavaRecognizer.cpp. References _tokenSet_39, _tokenSet_64, ANTLR_USE_NAMESPACE, assignmentExpression(), builtInType(), constant(), ASTRefCount< T >::get(), identPrimary(), newExpression(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by postfixExpression(). |
|
Definition at line 4294 of file JavaRecognizer.cpp. References _tokenSet_56, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, shiftExpression(), and typeSpec(). Referenced by equalityExpression(). |
|
Definition at line 157 of file JavaRecognizer.hpp. References Driver::addProblem(), Driver::currentFileName(), and m_driver. |
|
|
Definition at line 161 of file JavaRecognizer.hpp. References Driver::addProblem(), Driver::currentFileName(), m_driver, message(), and reportMessage(). Referenced by reportMessage(). |
|
Definition at line 150 of file JavaRecognizer.hpp. References m_driver, and setDriver(). Referenced by setDriver(). |
|
Definition at line 151 of file JavaRecognizer.hpp. References Driver::currentFileName(), m_driver, and setFileName(). Referenced by setFileName(). |
|
Definition at line 4436 of file JavaRecognizer.cpp. References _tokenSet_57, additiveExpression(), ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by relationalExpression(). |
|
Definition at line 2149 of file JavaRecognizer.cpp. References _tokenSet_23, _tokenSet_28, _tokenSet_29, _tokenSet_30, _tokenSet_31, _tokenSet_32, _tokenSet_33, _tokenSet_34, _tokenSet_35, ANTLR_USE_NAMESPACE, casesGroup(), classDefinition(), compoundStatement(), declaration(), expression(), forCond(), forInit(), forIter(), ASTRefCount< T >::get(), modifiers(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, ASTPair::root, and tryBlock(). Referenced by caseSList(), compoundStatement(), and constructorBody(). |
|
Definition at line 1168 of file JavaRecognizer.cpp. References _tokenSet_14, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), identifier(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by classDefinition(). |
|
Definition at line 1978 of file JavaRecognizer.cpp. References _tokenSet_26, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by ctorHead(), and field(). |
|
Definition at line 3400 of file JavaRecognizer.cpp. References _tokenSet_28, ANTLR_USE_NAMESPACE, compoundStatement(), finallyClause(), ASTRefCount< T >::get(), handler(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by statement(). |
|
Definition at line 960 of file JavaRecognizer.cpp. References _tokenSet_12, ANTLR_USE_NAMESPACE, builtInType(), ASTRefCount< T >::get(), identifier(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by newExpression(). |
|
Definition at line 196 of file JavaRecognizer.cpp. References _tokenSet_3, ANTLR_USE_NAMESPACE, classDefinition(), ASTRefCount< T >::get(), interfaceDefinition(), modifiers(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by compilationUnit(). |
|
Definition at line 603 of file JavaRecognizer.cpp. References _tokenSet_10, ANTLR_USE_NAMESPACE, builtInTypeSpec(), classTypeSpec(), ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and typeSpec(). Referenced by declaration(), field(), parameterDeclaration(), relationalExpression(), and typeSpec(). |
|
Definition at line 4657 of file JavaRecognizer.cpp. References _tokenSet_61, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, and unaryExpressionNotPlusMinus(). Referenced by multiplicativeExpression(), and unaryExpressionNotPlusMinus(). |
|
Definition at line 4785 of file JavaRecognizer.cpp. References _tokenSet_61, _tokenSet_62, _tokenSet_63, ANTLR_USE_NAMESPACE, builtInTypeSpec(), classTypeSpec(), ASTRefCount< T >::get(), nullAST, nullToken, postfixExpression(), RefJavaAST, reportError(), returnAST, ASTPair::root, and unaryExpression(). Referenced by unaryExpression(). |
|
Declaration of a variable. This can be a class/instance variable, or a local variable in a method It can also include possible initialization. Definition at line 2673 of file JavaRecognizer.cpp. References _tokenSet_36, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, declaratorBrackets(), ASTRefCount< T >::get(), nullAST, nullToken, RefJavaAST, reportError(), returnAST, ASTPair::root, variableDeclarator(), and varInitializer(). Referenced by variableDeclarator(), and variableDefinitions(). |
|
Definition at line 656 of file JavaRecognizer.cpp. References _tokenSet_5, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefJavaAST, reportError(), returnAST, ASTPair::root, variableDeclarator(), and variableDefinitions(). Referenced by declaration(), field(), and variableDefinitions(). |
|
Definition at line 2724 of file JavaRecognizer.cpp. References _tokenSet_36, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), initializer(), nullAST, RefJavaAST, reportError(), returnAST, and ASTPair::root. Referenced by variableDeclarator(). |
Member Data Documentation
|
Referenced by compilationUnit(). |
|
Definition at line 6227 of file JavaRecognizer.cpp. |
|
Referenced by compilationUnit(). |
|
Referenced by builtInTypeSpec(), classTypeSpec(), and typeSpec(). |
|
Definition at line 6277 of file JavaRecognizer.cpp. |
|
Referenced by builtInType(). |
|
Definition at line 6282 of file JavaRecognizer.cpp. |
|
Referenced by type(). |
|
Definition at line 6288 of file JavaRecognizer.cpp. |
|
Referenced by field(), and modifier(). |
|
Definition at line 6291 of file JavaRecognizer.cpp. |
|
Referenced by superClassClause(). |
|
Definition at line 6297 of file JavaRecognizer.cpp. |
|
Referenced by ctorHead(), implementsClause(), and interfaceExtends(). |
|
Definition at line 6300 of file JavaRecognizer.cpp. |
|
Referenced by classBlock(). |
|
Definition at line 6303 of file JavaRecognizer.cpp. |
|
Referenced by field(). |
|
Definition at line 6316 of file JavaRecognizer.cpp. |
|
Referenced by field(). |
|
Definition at line 6322 of file JavaRecognizer.cpp. |
|
Referenced by field(). |
|
Definition at line 6325 of file JavaRecognizer.cpp. |
|
Definition at line 6232 of file JavaRecognizer.cpp. |
|
Referenced by importDefinition(), and packageDefinition(). |
|
Referenced by constructorBody(), and field(). |
|
Definition at line 6328 of file JavaRecognizer.cpp. |
|
Referenced by constructorBody(), and explicitConstructorInvocation(). |
|
Definition at line 6334 of file JavaRecognizer.cpp. |
|
Referenced by constructorBody(). |
|
Definition at line 6343 of file JavaRecognizer.cpp. |
|
Referenced by caseSList(), compoundStatement(), constructorBody(), and statement(). |
|
Definition at line 6355 of file JavaRecognizer.cpp. |
|
Referenced by argList(), forIter(), and parameterDeclarationList(). |
|
Definition at line 6364 of file JavaRecognizer.cpp. |
|
Referenced by declaratorBrackets(). |
|
Definition at line 6367 of file JavaRecognizer.cpp. |
|
Referenced by throwsClause(). |
|
Definition at line 6370 of file JavaRecognizer.cpp. |
|
Referenced by compoundStatement(). |
|
Definition at line 6373 of file JavaRecognizer.cpp. |
|
Referenced by finallyClause(), statement(), and tryBlock(). |
|
Definition at line 6382 of file JavaRecognizer.cpp. |
|
Referenced by statement(). |
|
Definition at line 6391 of file JavaRecognizer.cpp. |
|
Definition at line 6235 of file JavaRecognizer.cpp. |
|
Referenced by typeDefinition(). |
|
Referenced by forInit(), and statement(). |
|
Definition at line 6404 of file JavaRecognizer.cpp. |
|
Referenced by forInit(), and statement(). |
|
Definition at line 6409 of file JavaRecognizer.cpp. |
|
Referenced by forInit(), and statement(). |
|
Definition at line 6414 of file JavaRecognizer.cpp. |
|
Referenced by statement(). |
|
Definition at line 6420 of file JavaRecognizer.cpp. |
|
Referenced by statement(). |
|
Definition at line 6429 of file JavaRecognizer.cpp. |
|
Referenced by statement(). |
|
Definition at line 6433 of file JavaRecognizer.cpp. |
|
Referenced by variableDeclarator(), and varInitializer(). |
|
Definition at line 6437 of file JavaRecognizer.cpp. |
|
Referenced by initializer(). |
|
Definition at line 6440 of file JavaRecognizer.cpp. |
|
Referenced by arrayInitializer(). |
|
Definition at line 6443 of file JavaRecognizer.cpp. |
|
Referenced by arrayInitializer(), constant(), identPrimary(), newExpression(), and primaryExpression(). |
|
Definition at line 6449 of file JavaRecognizer.cpp. |
|
Definition at line 6240 of file JavaRecognizer.cpp. |
|
Referenced by identifier(). |
|
Referenced by assignmentExpression(), and expression(). |
|
Definition at line 6456 of file JavaRecognizer.cpp. |
|
Referenced by parameterDeclaration(). |
|
Definition at line 6459 of file JavaRecognizer.cpp. |
|
Referenced by parameterModifier(). |
|
Definition at line 6462 of file JavaRecognizer.cpp. |
|
Referenced by forInit(). |
|
Definition at line 6466 of file JavaRecognizer.cpp. |
|
Referenced by casesGroup(). |
|
Definition at line 6475 of file JavaRecognizer.cpp. |
|
Referenced by casesGroup(), and caseSList(). |
|
Definition at line 6481 of file JavaRecognizer.cpp. |
|
Referenced by aCase(). |
|
Definition at line 6484 of file JavaRecognizer.cpp. |
|
Referenced by expressionList(). |
|
Definition at line 6493 of file JavaRecognizer.cpp. |
|
Referenced by handler(). |
|
Definition at line 6496 of file JavaRecognizer.cpp. |
|
Referenced by conditionalExpression(). |
|
Definition at line 6505 of file JavaRecognizer.cpp. |
|
Definition at line 6245 of file JavaRecognizer.cpp. |
|
Referenced by declaration(), forCond(), forInit(), identifierStar(), and variableDefinitions(). |
|
Referenced by logicalOrExpression(). |
|
Definition at line 6510 of file JavaRecognizer.cpp. |
|
Referenced by logicalAndExpression(). |
|
Definition at line 6515 of file JavaRecognizer.cpp. |
|
Referenced by inclusiveOrExpression(). |
|
Definition at line 6520 of file JavaRecognizer.cpp. |
|
Referenced by exclusiveOrExpression(). |
|
Definition at line 6525 of file JavaRecognizer.cpp. |
|
Referenced by andExpression(). |
|
Definition at line 6530 of file JavaRecognizer.cpp. |
|
Referenced by equalityExpression(). |
|
Definition at line 6535 of file JavaRecognizer.cpp. |
|
Referenced by relationalExpression(). |
|
Definition at line 6540 of file JavaRecognizer.cpp. |
|
Referenced by shiftExpression(). |
|
Definition at line 6545 of file JavaRecognizer.cpp. |
|
Referenced by additiveExpression(). |
|
Definition at line 6551 of file JavaRecognizer.cpp. |
|
Referenced by multiplicativeExpression(). |
|
Definition at line 6557 of file JavaRecognizer.cpp. |
|
Definition at line 6251 of file JavaRecognizer.cpp. |
|
Referenced by modifiers(). |
|
Referenced by multiplicativeExpression(). |
|
Definition at line 6560 of file JavaRecognizer.cpp. |
|
Referenced by postfixExpression(), unaryExpression(), and unaryExpressionNotPlusMinus(). |
|
Definition at line 6566 of file JavaRecognizer.cpp. |
|
Referenced by unaryExpressionNotPlusMinus(). |
|
Definition at line 6572 of file JavaRecognizer.cpp. |
|
Referenced by unaryExpressionNotPlusMinus(). |
|
Definition at line 6577 of file JavaRecognizer.cpp. |
|
Referenced by identPrimary(), and primaryExpression(). |
|
Definition at line 6586 of file JavaRecognizer.cpp. |
|
Referenced by newArrayDeclarator(). |
|
Definition at line 6599 of file JavaRecognizer.cpp. |
|
Referenced by newArrayDeclarator(). |
|
Definition at line 6605 of file JavaRecognizer.cpp. |
|
Definition at line 6254 of file JavaRecognizer.cpp. |
|
Referenced by modifiers(). |
|
Definition at line 6258 of file JavaRecognizer.cpp. |
|
Referenced by classDefinition(). |
|
Definition at line 6262 of file JavaRecognizer.cpp. |
|
Referenced by interfaceDefinition(). |
|
Definition at line 6271 of file JavaRecognizer.cpp. |
|
Definition at line 147 of file JavaRecognizer.hpp. Referenced by reportError(), reportMessage(), setDriver(), and setFileName(). |
|
Definition at line 281 of file JavaRecognizer.hpp. Referenced by getNumTokens(). |
|
|
Definition at line 6071 of file JavaRecognizer.cpp. Referenced by getTokenName(), and getTokenNames(). |
The documentation for this class was generated from the following files:
- languages/java/JavaRecognizer.hpp
- languages/java/JavaRecognizer.cpp