From 7a7b2dcaa27fc499c129ab7adad50fdb9200e7cc Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 11 Jun 2008 23:58:27 +0000 Subject: [PATCH] removing these files from svn, they're auto-generated --- app/src/antlr/java/JavaLexer.java | 1899 --------- app/src/antlr/java/JavaLexer.smap | 1211 ------ app/src/antlr/java/JavaRecognizer.java | 5048 ------------------------ app/src/antlr/java/JavaRecognizer.smap | 3442 ---------------- app/src/antlr/java/JavaTokenTypes.java | 157 - app/src/antlr/java/JavaTokenTypes.txt | 151 - 6 files changed, 11908 deletions(-) delete mode 100644 app/src/antlr/java/JavaLexer.java delete mode 100644 app/src/antlr/java/JavaLexer.smap delete mode 100644 app/src/antlr/java/JavaRecognizer.java delete mode 100644 app/src/antlr/java/JavaRecognizer.smap delete mode 100644 app/src/antlr/java/JavaTokenTypes.java delete mode 100644 app/src/antlr/java/JavaTokenTypes.txt diff --git a/app/src/antlr/java/JavaLexer.java b/app/src/antlr/java/JavaLexer.java deleted file mode 100644 index f78dc2a86..000000000 --- a/app/src/antlr/java/JavaLexer.java +++ /dev/null @@ -1,1899 +0,0 @@ -// $ANTLR 2.7.7 (2006-11-01): "src/antlr/java/java.g" -> "JavaLexer.java"$ - -package antlr.java; - -import java.io.InputStream; -import antlr.TokenStreamException; -import antlr.TokenStreamIOException; -import antlr.TokenStreamRecognitionException; -import antlr.CharStreamException; -import antlr.CharStreamIOException; -import antlr.ANTLRException; -import java.io.Reader; -import java.util.Hashtable; -import antlr.CharScanner; -import antlr.InputBuffer; -import antlr.ByteBuffer; -import antlr.CharBuffer; -import antlr.Token; -import antlr.CommonToken; -import antlr.RecognitionException; -import antlr.NoViableAltForCharException; -import antlr.MismatchedCharException; -import antlr.TokenStream; -import antlr.ANTLRHashString; -import antlr.LexerSharedInputState; -import antlr.collections.impl.BitSet; -import antlr.SemanticException; - -public class JavaLexer extends antlr.CharScanner implements JavaTokenTypes, TokenStream - { -public JavaLexer(InputStream in) { - this(new ByteBuffer(in)); -} -public JavaLexer(Reader in) { - this(new CharBuffer(in)); -} -public JavaLexer(InputBuffer ib) { - this(new LexerSharedInputState(ib)); -} -public JavaLexer(LexerSharedInputState state) { - super(state); - caseSensitiveLiterals = true; - setCaseSensitive(true); - literals = new Hashtable(); - literals.put(new ANTLRHashString("byte", this), new Integer(51)); - literals.put(new ANTLRHashString("public", this), new Integer(62)); - literals.put(new ANTLRHashString("case", this), new Integer(95)); - literals.put(new ANTLRHashString("short", this), new Integer(53)); - literals.put(new ANTLRHashString("break", this), new Integer(89)); - literals.put(new ANTLRHashString("while", this), new Integer(87)); - literals.put(new ANTLRHashString("new", this), new Integer(138)); - literals.put(new ANTLRHashString("instanceof", this), new Integer(123)); - literals.put(new ANTLRHashString("implements", this), new Integer(76)); - literals.put(new ANTLRHashString("synchronized", this), new Integer(68)); - literals.put(new ANTLRHashString("float", this), new Integer(55)); - literals.put(new ANTLRHashString("package", this), new Integer(44)); - literals.put(new ANTLRHashString("return", this), new Integer(91)); - literals.put(new ANTLRHashString("throw", this), new Integer(93)); - literals.put(new ANTLRHashString("null", this), new Integer(137)); - literals.put(new ANTLRHashString("threadsafe", this), new Integer(67)); - literals.put(new ANTLRHashString("protected", this), new Integer(63)); - literals.put(new ANTLRHashString("class", this), new Integer(70)); - literals.put(new ANTLRHashString("throws", this), new Integer(82)); - literals.put(new ANTLRHashString("do", this), new Integer(88)); - literals.put(new ANTLRHashString("strictfp", this), new Integer(41)); - literals.put(new ANTLRHashString("super", this), new Integer(80)); - literals.put(new ANTLRHashString("transient", this), new Integer(65)); - literals.put(new ANTLRHashString("native", this), new Integer(66)); - literals.put(new ANTLRHashString("interface", this), new Integer(72)); - literals.put(new ANTLRHashString("final", this), new Integer(39)); - literals.put(new ANTLRHashString("if", this), new Integer(84)); - literals.put(new ANTLRHashString("double", this), new Integer(57)); - literals.put(new ANTLRHashString("volatile", this), new Integer(69)); - literals.put(new ANTLRHashString("assert", this), new Integer(94)); - literals.put(new ANTLRHashString("catch", this), new Integer(99)); - literals.put(new ANTLRHashString("try", this), new Integer(97)); - literals.put(new ANTLRHashString("int", this), new Integer(54)); - literals.put(new ANTLRHashString("for", this), new Integer(86)); - literals.put(new ANTLRHashString("extends", this), new Integer(71)); - literals.put(new ANTLRHashString("boolean", this), new Integer(50)); - literals.put(new ANTLRHashString("char", this), new Integer(52)); - literals.put(new ANTLRHashString("private", this), new Integer(61)); - literals.put(new ANTLRHashString("default", this), new Integer(96)); - literals.put(new ANTLRHashString("false", this), new Integer(136)); - literals.put(new ANTLRHashString("this", this), new Integer(79)); - literals.put(new ANTLRHashString("static", this), new Integer(64)); - literals.put(new ANTLRHashString("abstract", this), new Integer(40)); - literals.put(new ANTLRHashString("continue", this), new Integer(90)); - literals.put(new ANTLRHashString("finally", this), new Integer(98)); - literals.put(new ANTLRHashString("else", this), new Integer(85)); - literals.put(new ANTLRHashString("import", this), new Integer(46)); - literals.put(new ANTLRHashString("void", this), new Integer(49)); - literals.put(new ANTLRHashString("switch", this), new Integer(92)); - literals.put(new ANTLRHashString("true", this), new Integer(135)); - literals.put(new ANTLRHashString("long", this), new Integer(56)); -} - -public Token nextToken() throws TokenStreamException { - Token theRetToken=null; -tryAgain: - for (;;) { - Token _token = null; - int _ttype = Token.INVALID_TYPE; - resetText(); - try { // for char stream error handling - try { // for lexical error handling - switch ( LA(1)) { - case '?': - { - mQUESTION(true); - theRetToken=_returnToken; - break; - } - case '(': - { - mLPAREN(true); - theRetToken=_returnToken; - break; - } - case ')': - { - mRPAREN(true); - theRetToken=_returnToken; - break; - } - case '[': - { - mLBRACK(true); - theRetToken=_returnToken; - break; - } - case ']': - { - mRBRACK(true); - theRetToken=_returnToken; - break; - } - case '{': - { - mLCURLY(true); - theRetToken=_returnToken; - break; - } - case '}': - { - mRCURLY(true); - theRetToken=_returnToken; - break; - } - case ':': - { - mCOLON(true); - theRetToken=_returnToken; - break; - } - case ',': - { - mCOMMA(true); - theRetToken=_returnToken; - break; - } - case '~': - { - mBNOT(true); - theRetToken=_returnToken; - break; - } - case ';': - { - mSEMI(true); - theRetToken=_returnToken; - break; - } - case '\t': case '\n': case '\u000c': case '\r': - case ' ': - { - mWS(true); - theRetToken=_returnToken; - break; - } - case '\'': - { - mCHAR_LITERAL(true); - theRetToken=_returnToken; - break; - } - case '"': - { - mSTRING_LITERAL(true); - theRetToken=_returnToken; - break; - } - case '$': case 'A': case 'B': case 'C': - case 'D': case 'E': case 'F': case 'G': - case 'H': case 'I': case 'J': case 'K': - case 'L': case 'M': case 'N': case 'O': - case 'P': case 'Q': case 'R': case 'S': - case 'T': case 'U': case 'V': case 'W': - case 'X': case 'Y': case 'Z': case '_': - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - mIDENT(true); - theRetToken=_returnToken; - break; - } - case '.': case '0': case '1': case '2': - case '3': case '4': case '5': case '6': - case '7': case '8': case '9': - { - mNUM_INT(true); - theRetToken=_returnToken; - break; - } - default: - if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (LA(4)=='=')) { - mBSR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='=')) { - mSR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (LA(3)=='>') && (true)) { - mBSR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='<') && (LA(3)=='=')) { - mSL_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='=') && (LA(2)=='=')) { - mEQUAL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='!') && (LA(2)=='=')) { - mNOT_EQUAL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='=')) { - mDIV_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (LA(2)=='=')) { - mPLUS_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (LA(2)=='+')) { - mINC(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (LA(2)=='=')) { - mMINUS_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (LA(2)=='-')) { - mDEC(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='*') && (LA(2)=='=')) { - mSTAR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='%') && (LA(2)=='=')) { - mMOD_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='>') && (true)) { - mSR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (LA(2)=='=')) { - mGE(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='<') && (true)) { - mSL(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (LA(2)=='=')) { - mLE(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='^') && (LA(2)=='=')) { - mBXOR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (LA(2)=='=')) { - mBOR_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (LA(2)=='|')) { - mLOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (LA(2)=='=')) { - mBAND_ASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (LA(2)=='&')) { - mLAND(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='/')) { - mSL_COMMENT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (LA(2)=='*')) { - mML_COMMENT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='=') && (true)) { - mASSIGN(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='!') && (true)) { - mLNOT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='/') && (true)) { - mDIV(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='+') && (true)) { - mPLUS(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='-') && (true)) { - mMINUS(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='*') && (true)) { - mSTAR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='%') && (true)) { - mMOD(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='>') && (true)) { - mGT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='<') && (true)) { - mLT(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='^') && (true)) { - mBXOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='|') && (true)) { - mBOR(true); - theRetToken=_returnToken; - } - else if ((LA(1)=='&') && (true)) { - mBAND(true); - theRetToken=_returnToken; - } - else { - if (LA(1)==EOF_CHAR) {uponEOF(); _returnToken = makeToken(Token.EOF_TYPE);} - else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - } - if ( _returnToken==null ) continue tryAgain; // found SKIP token - _ttype = _returnToken.getType(); - _returnToken.setType(_ttype); - return _returnToken; - } - catch (RecognitionException e) { - throw new TokenStreamRecognitionException(e); - } - } - catch (CharStreamException cse) { - if ( cse instanceof CharStreamIOException ) { - throw new TokenStreamIOException(((CharStreamIOException)cse).io); - } - else { - throw new TokenStreamException(cse.getMessage()); - } - } - } -} - - public final void mQUESTION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = QUESTION; - int _saveIndex; - - match('?'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LPAREN; - int _saveIndex; - - match('('); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RPAREN; - int _saveIndex; - - match(')'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LBRACK; - int _saveIndex; - - match('['); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRBRACK(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RBRACK; - int _saveIndex; - - match(']'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LCURLY; - int _saveIndex; - - match('{'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mRCURLY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = RCURLY; - int _saveIndex; - - match('}'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCOLON(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = COLON; - int _saveIndex; - - match(':'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCOMMA(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = COMMA; - int _saveIndex; - - match(','); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ASSIGN; - int _saveIndex; - - match('='); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mEQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = EQUAL; - int _saveIndex; - - match("=="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LNOT; - int _saveIndex; - - match('!'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BNOT; - int _saveIndex; - - match('~'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mNOT_EQUAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = NOT_EQUAL; - int _saveIndex; - - match("!="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDIV(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DIV; - int _saveIndex; - - match('/'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDIV_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DIV_ASSIGN; - int _saveIndex; - - match("/="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mPLUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = PLUS; - int _saveIndex; - - match('+'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mPLUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = PLUS_ASSIGN; - int _saveIndex; - - match("+="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mINC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = INC; - int _saveIndex; - - match("++"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMINUS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MINUS; - int _saveIndex; - - match('-'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMINUS_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MINUS_ASSIGN; - int _saveIndex; - - match("-="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mDEC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = DEC; - int _saveIndex; - - match("--"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STAR; - int _saveIndex; - - match('*'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTAR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STAR_ASSIGN; - int _saveIndex; - - match("*="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMOD(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MOD; - int _saveIndex; - - match('%'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mMOD_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = MOD_ASSIGN; - int _saveIndex; - - match("%="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SR; - int _saveIndex; - - match(">>"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SR_ASSIGN; - int _saveIndex; - - match(">>="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBSR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BSR; - int _saveIndex; - - match(">>>"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBSR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BSR_ASSIGN; - int _saveIndex; - - match(">>>="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mGE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = GE; - int _saveIndex; - - match(">="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mGT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = GT; - int _saveIndex; - - match(">"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL; - int _saveIndex; - - match("<<"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL_ASSIGN; - int _saveIndex; - - match("<<="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LE; - int _saveIndex; - - match("<="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LT; - int _saveIndex; - - match('<'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBXOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BXOR; - int _saveIndex; - - match('^'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBXOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BXOR_ASSIGN; - int _saveIndex; - - match("^="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BOR; - int _saveIndex; - - match('|'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBOR_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BOR_ASSIGN; - int _saveIndex; - - match("|="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLOR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LOR; - int _saveIndex; - - match("||"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BAND; - int _saveIndex; - - match('&'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mBAND_ASSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = BAND_ASSIGN; - int _saveIndex; - - match("&="); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mLAND(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = LAND; - int _saveIndex; - - match("&&"); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSEMI(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SEMI; - int _saveIndex; - - match(';'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = WS; - int _saveIndex; - - { - int _cnt246=0; - _loop246: - do { - switch ( LA(1)) { - case ' ': - { - match(' '); - break; - } - case '\t': - { - match('\t'); - break; - } - case '\u000c': - { - match('\f'); - break; - } - case '\n': case '\r': - { - { - if ((LA(1)=='\r') && (LA(2)=='\n') && (true) && (true)) { - match("\r\n"); - } - else if ((LA(1)=='\r') && (true) && (true) && (true)) { - match('\r'); - } - else if ((LA(1)=='\n')) { - match('\n'); - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - newline(); - break; - } - default: - { - if ( _cnt246>=1 ) { break _loop246; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - } - _cnt246++; - } while (true); - } - _ttype = Token.SKIP; - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSL_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = SL_COMMENT; - int _saveIndex; - - match("//"); - { - _loop250: - do { - if ((_tokenSet_0.member(LA(1)))) { - { - match(_tokenSet_0); - } - } - else { - break _loop250; - } - - } while (true); - } - { - switch ( LA(1)) { - case '\n': - { - match('\n'); - break; - } - case '\r': - { - match('\r'); - { - if ((LA(1)=='\n')) { - match('\n'); - } - else { - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - _ttype = Token.SKIP; newline(); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mML_COMMENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ML_COMMENT; - int _saveIndex; - - match("/*"); - { - _loop256: - do { - if ((LA(1)=='\r') && (LA(2)=='\n') && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && ((LA(4) >= '\u0003' && LA(4) <= '\uffff'))) { - match('\r'); - match('\n'); - newline(); - } - else if (((LA(1)=='*') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')))&&( LA(2)!='/' )) { - match('*'); - } - else if ((LA(1)=='\r') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && ((LA(3) >= '\u0003' && LA(3) <= '\uffff')) && (true)) { - match('\r'); - newline(); - } - else if ((LA(1)=='\n')) { - match('\n'); - newline(); - } - else if ((_tokenSet_1.member(LA(1)))) { - { - match(_tokenSet_1); - } - } - else { - break _loop256; - } - - } while (true); - } - match("*/"); - _ttype = Token.SKIP; - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mCHAR_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = CHAR_LITERAL; - int _saveIndex; - - match('\''); - { - if ((LA(1)=='\\')) { - mESC(false); - } - else if ((_tokenSet_2.member(LA(1)))) { - matchNot('\''); - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - match('\''); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = ESC; - int _saveIndex; - - match('\\'); - { - switch ( LA(1)) { - case 'n': - { - match('n'); - break; - } - case 'r': - { - match('r'); - break; - } - case 't': - { - match('t'); - break; - } - case 'b': - { - match('b'); - break; - } - case 'f': - { - match('f'); - break; - } - case '"': - { - match('"'); - break; - } - case '\'': - { - match('\''); - break; - } - case '\\': - { - match('\\'); - break; - } - case 'u': - { - { - int _cnt266=0; - _loop266: - do { - if ((LA(1)=='u')) { - match('u'); - } - else { - if ( _cnt266>=1 ) { break _loop266; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt266++; - } while (true); - } - mHEX_DIGIT(false); - mHEX_DIGIT(false); - mHEX_DIGIT(false); - mHEX_DIGIT(false); - break; - } - case '0': case '1': case '2': case '3': - { - matchRange('0','3'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true) && (true)) { - matchRange('0','7'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true) && (true)) { - matchRange('0','7'); - } - else if (((LA(1) >= '\u0003' && LA(1) <= '\uffff')) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - } - else if (((LA(1) >= '\u0003' && LA(1) <= '\uffff')) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - break; - } - case '4': case '5': case '6': case '7': - { - matchRange('4','7'); - { - if (((LA(1) >= '0' && LA(1) <= '7')) && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true) && (true)) { - matchRange('0','7'); - } - else if (((LA(1) >= '\u0003' && LA(1) <= '\uffff')) && (true) && (true) && (true)) { - } - else { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = STRING_LITERAL; - int _saveIndex; - - match('"'); - { - _loop262: - do { - if ((LA(1)=='\\')) { - mESC(false); - } - else if ((_tokenSet_3.member(LA(1)))) { - { - match(_tokenSet_3); - } - } - else { - break _loop262; - } - - } while (true); - } - match('"'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mHEX_DIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = HEX_DIGIT; - int _saveIndex; - - { - switch ( LA(1)) { - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - matchRange('0','9'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': - { - matchRange('A','F'); - break; - } - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': - { - matchRange('a','f'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mVOCAB(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = VOCAB; - int _saveIndex; - - matchRange('\3','\377'); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mIDENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = IDENT; - int _saveIndex; - - { - switch ( LA(1)) { - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - matchRange('a','z'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': case 'G': case 'H': - case 'I': case 'J': case 'K': case 'L': - case 'M': case 'N': case 'O': case 'P': - case 'Q': case 'R': case 'S': case 'T': - case 'U': case 'V': case 'W': case 'X': - case 'Y': case 'Z': - { - matchRange('A','Z'); - break; - } - case '_': - { - match('_'); - break; - } - case '$': - { - match('$'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - _loop276: - do { - switch ( LA(1)) { - case 'a': case 'b': case 'c': case 'd': - case 'e': case 'f': case 'g': case 'h': - case 'i': case 'j': case 'k': case 'l': - case 'm': case 'n': case 'o': case 'p': - case 'q': case 'r': case 's': case 't': - case 'u': case 'v': case 'w': case 'x': - case 'y': case 'z': - { - matchRange('a','z'); - break; - } - case 'A': case 'B': case 'C': case 'D': - case 'E': case 'F': case 'G': case 'H': - case 'I': case 'J': case 'K': case 'L': - case 'M': case 'N': case 'O': case 'P': - case 'Q': case 'R': case 'S': case 'T': - case 'U': case 'V': case 'W': case 'X': - case 'Y': case 'Z': - { - matchRange('A','Z'); - break; - } - case '_': - { - match('_'); - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - matchRange('0','9'); - break; - } - case '$': - { - match('$'); - break; - } - default: - { - break _loop276; - } - } - } while (true); - } - _ttype = testLiteralsTable(_ttype); - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - public final void mNUM_INT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = NUM_INT; - int _saveIndex; - Token f1=null; - Token f2=null; - Token f3=null; - Token f4=null; - boolean isDecimal=false; Token t=null; - - switch ( LA(1)) { - case '.': - { - match('.'); - _ttype = DOT; - { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - { - int _cnt280=0; - _loop280: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt280>=1 ) { break _loop280; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt280++; - } while (true); - } - { - if ((LA(1)=='E'||LA(1)=='e')) { - mEXPONENT(false); - } - else { - } - - } - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f1=_returnToken; - t=f1; - } - else { - } - - } - - if (t != null && t.getText().toUpperCase().indexOf('F')>=0) { - _ttype = NUM_FLOAT; - } - else { - _ttype = NUM_DOUBLE; // assume double - } - - } - else { - } - - } - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - { - switch ( LA(1)) { - case '0': - { - match('0'); - isDecimal = true; - { - switch ( LA(1)) { - case 'X': case 'x': - { - { - switch ( LA(1)) { - case 'x': - { - match('x'); - break; - } - case 'X': - { - match('X'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - int _cnt287=0; - _loop287: - do { - if ((_tokenSet_4.member(LA(1))) && (true) && (true) && (true)) { - mHEX_DIGIT(false); - } - else { - if ( _cnt287>=1 ) { break _loop287; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt287++; - } while (true); - } - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - { - { - int _cnt289=0; - _loop289: - do { - if (((LA(1) >= '0' && LA(1) <= '7'))) { - matchRange('0','7'); - } - else { - if ( _cnt289>=1 ) { break _loop289; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt289++; - } while (true); - } - break; - } - default: - { - } - } - } - break; - } - case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': - case '9': - { - { - matchRange('1','9'); - } - { - _loop292: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - break _loop292; - } - - } while (true); - } - isDecimal=true; - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - if ((LA(1)=='L'||LA(1)=='l')) { - { - switch ( LA(1)) { - case 'l': - { - match('l'); - break; - } - case 'L': - { - match('L'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - _ttype = NUM_LONG; - } - else if (((LA(1)=='.'||LA(1)=='D'||LA(1)=='E'||LA(1)=='F'||LA(1)=='d'||LA(1)=='e'||LA(1)=='f'))&&(isDecimal)) { - { - switch ( LA(1)) { - case '.': - { - match('.'); - { - _loop297: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - break _loop297; - } - - } while (true); - } - { - if ((LA(1)=='E'||LA(1)=='e')) { - mEXPONENT(false); - } - else { - } - - } - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f2=_returnToken; - t=f2; - } - else { - } - - } - break; - } - case 'E': case 'e': - { - mEXPONENT(false); - { - if ((LA(1)=='D'||LA(1)=='F'||LA(1)=='d'||LA(1)=='f')) { - mFLOAT_SUFFIX(true); - f3=_returnToken; - t=f3; - } - else { - } - - } - break; - } - case 'D': case 'F': case 'd': case 'f': - { - mFLOAT_SUFFIX(true); - f4=_returnToken; - t=f4; - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - - if (t != null && t.getText().toUpperCase() .indexOf('F') >= 0) { - _ttype = NUM_FLOAT; - } - else { - _ttype = NUM_DOUBLE; // assume double - } - - } - else { - } - - } - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mEXPONENT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = EXPONENT; - int _saveIndex; - - { - switch ( LA(1)) { - case 'e': - { - match('e'); - break; - } - case 'E': - { - match('E'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - switch ( LA(1)) { - case '+': - { - match('+'); - break; - } - case '-': - { - match('-'); - break; - } - case '0': case '1': case '2': case '3': - case '4': case '5': case '6': case '7': - case '8': case '9': - { - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - } - { - int _cnt305=0; - _loop305: - do { - if (((LA(1) >= '0' && LA(1) <= '9'))) { - matchRange('0','9'); - } - else { - if ( _cnt305>=1 ) { break _loop305; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} - } - - _cnt305++; - } while (true); - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - protected final void mFLOAT_SUFFIX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { - int _ttype; Token _token=null; int _begin=text.length(); - _ttype = FLOAT_SUFFIX; - int _saveIndex; - - switch ( LA(1)) { - case 'f': - { - match('f'); - break; - } - case 'F': - { - match('F'); - break; - } - case 'd': - { - match('d'); - break; - } - case 'D': - { - match('D'); - break; - } - default: - { - throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); - } - } - if ( _createToken && _token==null && _ttype!=Token.SKIP ) { - _token = makeToken(_ttype); - _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); - } - _returnToken = _token; - } - - - private static final long[] mk_tokenSet_0() { - long[] data = new long[2048]; - data[0]=-9224L; - for (int i = 1; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); - private static final long[] mk_tokenSet_1() { - long[] data = new long[2048]; - data[0]=-4398046520328L; - for (int i = 1; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); - private static final long[] mk_tokenSet_2() { - long[] data = new long[2048]; - data[0]=-549755813896L; - data[1]=-268435457L; - for (int i = 2; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2()); - private static final long[] mk_tokenSet_3() { - long[] data = new long[2048]; - data[0]=-17179869192L; - data[1]=-268435457L; - for (int i = 2; i<=1023; i++) { data[i]=-1L; } - return data; - } - public static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3()); - private static final long[] mk_tokenSet_4() { - long[] data = new long[1025]; - data[0]=287948901175001088L; - data[1]=541165879422L; - return data; - } - public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4()); - - } diff --git a/app/src/antlr/java/JavaLexer.smap b/app/src/antlr/java/JavaLexer.smap deleted file mode 100644 index 4bb49d4a4..000000000 --- a/app/src/antlr/java/JavaLexer.smap +++ /dev/null @@ -1,1211 +0,0 @@ -SMAP -JavaLexer.java -G -*S G -*F -+ 0 java.g -java.g -*L -0:110 -0:116 -0:122 -0:128 -0:134 -0:140 -0:146 -0:152 -0:158 -0:164 -0:170 -0:177 -0:183 -0:189 -0:208 -0:216 -0:222 -0:226 -0:230 -0:234 -0:238 -0:242 -0:246 -0:250 -0:254 -0:258 -0:262 -0:266 -0:270 -0:274 -0:278 -0:282 -0:286 -0:290 -0:294 -0:298 -0:302 -0:306 -0:310 -0:314 -0:318 -0:322 -0:326 -0:330 -0:334 -0:338 -0:342 -0:346 -0:350 -0:354 -0:358 -0:362 -1:3 -1040:390 -1040:391 -1040:392 -1040:393 -1040:395 -1040:396 -1040:397 -1040:398 -1040:399 -1040:400 -1040:401 -1041:403 -1041:404 -1041:405 -1041:406 -1041:408 -1041:409 -1041:410 -1041:411 -1041:412 -1041:413 -1041:414 -1042:416 -1042:417 -1042:418 -1042:419 -1042:421 -1042:422 -1042:423 -1042:424 -1042:425 -1042:426 -1042:427 -1043:429 -1043:430 -1043:431 -1043:432 -1043:434 -1043:435 -1043:436 -1043:437 -1043:438 -1043:439 -1043:440 -1044:442 -1044:443 -1044:444 -1044:445 -1044:447 -1044:448 -1044:449 -1044:450 -1044:451 -1044:452 -1044:453 -1045:455 -1045:456 -1045:457 -1045:458 -1045:460 -1045:461 -1045:462 -1045:463 -1045:464 -1045:465 -1045:466 -1046:468 -1046:469 -1046:470 -1046:471 -1046:473 -1046:474 -1046:475 -1046:476 -1046:477 -1046:478 -1046:479 -1047:481 -1047:482 -1047:483 -1047:484 -1047:486 -1047:487 -1047:488 -1047:489 -1047:490 -1047:491 -1047:492 -1048:494 -1048:495 -1048:496 -1048:497 -1048:499 -1048:500 -1048:501 -1048:502 -1048:503 -1048:504 -1048:505 -1050:507 -1050:508 -1050:509 -1050:510 -1050:512 -1050:513 -1050:514 -1050:515 -1050:516 -1050:517 -1050:518 -1051:520 -1051:521 -1051:522 -1051:523 -1051:525 -1051:526 -1051:527 -1051:528 -1051:529 -1051:530 -1051:531 -1052:533 -1052:534 -1052:535 -1052:536 -1052:538 -1052:539 -1052:540 -1052:541 -1052:542 -1052:543 -1052:544 -1053:546 -1053:547 -1053:548 -1053:549 -1053:551 -1053:552 -1053:553 -1053:554 -1053:555 -1053:556 -1053:557 -1054:559 -1054:560 -1054:561 -1054:562 -1054:564 -1054:565 -1054:566 -1054:567 -1054:568 -1054:569 -1054:570 -1055:572 -1055:573 -1055:574 -1055:575 -1055:577 -1055:578 -1055:579 -1055:580 -1055:581 -1055:582 -1055:583 -1056:585 -1056:586 -1056:587 -1056:588 -1056:590 -1056:591 -1056:592 -1056:593 -1056:594 -1056:595 -1056:596 -1057:598 -1057:599 -1057:600 -1057:601 -1057:603 -1057:604 -1057:605 -1057:606 -1057:607 -1057:608 -1057:609 -1058:611 -1058:612 -1058:613 -1058:614 -1058:616 -1058:617 -1058:618 -1058:619 -1058:620 -1058:621 -1058:622 -1059:624 -1059:625 -1059:626 -1059:627 -1059:629 -1059:630 -1059:631 -1059:632 -1059:633 -1059:634 -1059:635 -1060:637 -1060:638 -1060:639 -1060:640 -1060:642 -1060:643 -1060:644 -1060:645 -1060:646 -1060:647 -1060:648 -1061:650 -1061:651 -1061:652 -1061:653 -1061:655 -1061:656 -1061:657 -1061:658 -1061:659 -1061:660 -1061:661 -1062:663 -1062:664 -1062:665 -1062:666 -1062:668 -1062:669 -1062:670 -1062:671 -1062:672 -1062:673 -1062:674 -1063:676 -1063:677 -1063:678 -1063:679 -1063:681 -1063:682 -1063:683 -1063:684 -1063:685 -1063:686 -1063:687 -1064:689 -1064:690 -1064:691 -1064:692 -1064:694 -1064:695 -1064:696 -1064:697 -1064:698 -1064:699 -1064:700 -1065:702 -1065:703 -1065:704 -1065:705 -1065:707 -1065:708 -1065:709 -1065:710 -1065:711 -1065:712 -1065:713 -1066:715 -1066:716 -1066:717 -1066:718 -1066:720 -1066:721 -1066:722 -1066:723 -1066:724 -1066:725 -1066:726 -1067:728 -1067:729 -1067:730 -1067:731 -1067:733 -1067:734 -1067:735 -1067:736 -1067:737 -1067:738 -1067:739 -1068:741 -1068:742 -1068:743 -1068:744 -1068:746 -1068:747 -1068:748 -1068:749 -1068:750 -1068:751 -1068:752 -1069:754 -1069:755 -1069:756 -1069:757 -1069:759 -1069:760 -1069:761 -1069:762 -1069:763 -1069:764 -1069:765 -1070:767 -1070:768 -1070:769 -1070:770 -1070:772 -1070:773 -1070:774 -1070:775 -1070:776 -1070:777 -1070:778 -1071:780 -1071:781 -1071:782 -1071:783 -1071:785 -1071:786 -1071:787 -1071:788 -1071:789 -1071:790 -1071:791 -1072:793 -1072:794 -1072:795 -1072:796 -1072:798 -1072:799 -1072:800 -1072:801 -1072:802 -1072:803 -1072:804 -1073:806 -1073:807 -1073:808 -1073:809 -1073:811 -1073:812 -1073:813 -1073:814 -1073:815 -1073:816 -1073:817 -1074:819 -1074:820 -1074:821 -1074:822 -1074:824 -1074:825 -1074:826 -1074:827 -1074:828 -1074:829 -1074:830 -1075:832 -1075:833 -1075:834 -1075:835 -1075:837 -1075:838 -1075:839 -1075:840 -1075:841 -1075:842 -1075:843 -1076:845 -1076:846 -1076:847 -1076:848 -1076:850 -1076:851 -1076:852 -1076:853 -1076:854 -1076:855 -1076:856 -1077:858 -1077:859 -1077:860 -1077:861 -1077:863 -1077:864 -1077:865 -1077:866 -1077:867 -1077:868 -1077:869 -1078:871 -1078:872 -1078:873 -1078:874 -1078:876 -1078:877 -1078:878 -1078:879 -1078:880 -1078:881 -1078:882 -1079:884 -1079:885 -1079:886 -1079:887 -1079:889 -1079:890 -1079:891 -1079:892 -1079:893 -1079:894 -1079:895 -1080:897 -1080:898 -1080:899 -1080:900 -1080:902 -1080:903 -1080:904 -1080:905 -1080:906 -1080:907 -1080:908 -1081:910 -1081:911 -1081:912 -1081:913 -1081:915 -1081:916 -1081:917 -1081:918 -1081:919 -1081:920 -1081:921 -1082:923 -1082:924 -1082:925 -1082:926 -1082:928 -1082:929 -1082:930 -1082:931 -1082:932 -1082:933 -1082:934 -1083:936 -1083:937 -1083:938 -1083:939 -1083:941 -1083:942 -1083:943 -1083:944 -1083:945 -1083:946 -1083:947 -1084:949 -1084:950 -1084:951 -1084:952 -1084:954 -1084:955 -1084:956 -1084:957 -1084:958 -1084:959 -1084:960 -1085:962 -1085:963 -1085:964 -1085:965 -1085:967 -1085:968 -1085:969 -1085:970 -1085:971 -1085:972 -1085:973 -1089:975 -1089:976 -1089:977 -1089:978 -1089:981 -1089:982 -1089:983 -1089:984 -1089:985 -1089:986 -1089:987 -1089:1020 -1089:1021 -1089:1022 -1089:1023 -1089:1024 -1089:1025 -1089:1026 -1089:1027 -1089:1029 -1089:1030 -1089:1031 -1089:1032 -1089:1033 -1089:1034 -1090:990 -1090:991 -1090:992 -1091:995 -1091:996 -1091:997 -1093:1000 -1093:1001 -1093:1005 -1093:1008 -1093:1011 -1093:1012 -1093:1013 -1093:1014 -1094:1003 -1094:1004 -1095:1006 -1095:1007 -1096:1009 -1096:1010 -1098:1017 -1100:1028 -1104:1036 -1104:1037 -1104:1038 -1104:1039 -1104:1083 -1104:1084 -1104:1085 -1104:1086 -1104:1087 -1104:1088 -1105:1041 -1106:1042 -1106:1043 -1106:1044 -1106:1045 -1106:1047 -1106:1049 -1106:1050 -1106:1051 -1106:1052 -1106:1054 -1106:1055 -1106:1057 -1106:1058 -1106:1059 -1106:1060 -1106:1063 -1106:1064 -1106:1065 -1106:1067 -1106:1068 -1106:1069 -1106:1071 -1106:1076 -1106:1077 -1106:1078 -1106:1079 -1106:1080 -1107:1082 -1111:1090 -1111:1091 -1111:1092 -1111:1093 -1111:1128 -1111:1129 -1111:1130 -1111:1131 -1111:1132 -1111:1133 -1112:1095 -1113:1096 -1113:1097 -1113:1098 -1113:1103 -1113:1106 -1113:1110 -1113:1114 -1113:1119 -1113:1120 -1113:1121 -1113:1122 -1113:1124 -1113:1125 -1124:1104 -1124:1105 -1125:1099 -1125:1100 -1125:1101 -1125:1102 -1126:1107 -1126:1108 -1126:1109 -1127:1111 -1127:1112 -1127:1113 -1128:1115 -1128:1117 -1130:1126 -1131:1127 -1136:1135 -1136:1136 -1136:1137 -1136:1138 -1136:1154 -1136:1155 -1136:1156 -1136:1157 -1136:1158 -1136:1159 -1137:1140 -1137:1142 -1137:1143 -1137:1144 -1137:1145 -1137:1146 -1137:1147 -1137:1148 -1137:1149 -1137:1150 -1137:1153 -1141:1287 -1141:1288 -1141:1289 -1141:1290 -1141:1311 -1141:1312 -1141:1313 -1141:1314 -1141:1315 -1141:1316 -1142:1292 -1142:1293 -1142:1294 -1142:1295 -1142:1296 -1142:1297 -1142:1298 -1142:1299 -1142:1301 -1142:1303 -1142:1304 -1142:1305 -1142:1306 -1142:1308 -1142:1309 -1142:1310 -1155:1161 -1155:1162 -1155:1163 -1155:1164 -1155:1280 -1155:1281 -1155:1282 -1155:1283 -1155:1284 -1155:1285 -1156:1166 -1157:1168 -1157:1169 -1157:1170 -1157:1171 -1157:1274 -1157:1275 -1157:1276 -1157:1277 -1157:1278 -1158:1174 -1158:1175 -1158:1176 -1159:1179 -1159:1180 -1159:1181 -1160:1184 -1160:1185 -1160:1186 -1161:1189 -1161:1190 -1161:1191 -1162:1194 -1162:1195 -1162:1196 -1163:1199 -1163:1200 -1163:1201 -1164:1204 -1164:1205 -1164:1206 -1165:1209 -1165:1210 -1165:1212 -1165:1213 -1165:1214 -1165:1215 -1165:1216 -1165:1217 -1165:1218 -1165:1219 -1165:1220 -1165:1222 -1165:1223 -1165:1224 -1165:1225 -1165:1226 -1165:1227 -1165:1228 -1166:1231 -1166:1232 -1166:1233 -1167:1248 -1167:1250 -1167:1251 -1167:1252 -1167:1253 -1171:1235 -1171:1236 -1172:1240 -1172:1242 -1172:1243 -1172:1244 -1172:1245 -1176:1238 -1176:1239 -1179:1258 -1179:1259 -1179:1260 -1180:1264 -1180:1266 -1180:1267 -1180:1268 -1180:1269 -1184:1262 -1184:1263 -1192:1318 -1192:1319 -1192:1320 -1192:1321 -1192:1350 -1192:1351 -1192:1352 -1192:1353 -1192:1354 -1192:1355 -1193:1324 -1193:1325 -1193:1326 -1193:1327 -1193:1328 -1193:1329 -1193:1332 -1193:1333 -1193:1334 -1193:1335 -1193:1338 -1193:1339 -1193:1340 -1193:1341 -1193:1344 -1193:1345 -1193:1346 -1193:1347 -1193:1348 -1200:1357 -1200:1358 -1200:1359 -1200:1360 -1200:1363 -1200:1364 -1200:1365 -1200:1366 -1200:1367 -1200:1368 -1201:1362 -1208:1370 -1208:1371 -1208:1372 -1208:1373 -1208:1465 -1208:1466 -1208:1467 -1208:1468 -1208:1469 -1208:1470 -1208:1471 -1210:1376 -1210:1377 -1210:1378 -1210:1379 -1210:1380 -1210:1381 -1210:1382 -1210:1383 -1210:1384 -1210:1385 -1210:1388 -1210:1389 -1210:1390 -1210:1391 -1210:1392 -1210:1393 -1210:1394 -1210:1395 -1210:1396 -1210:1399 -1210:1400 -1210:1401 -1210:1404 -1210:1405 -1210:1406 -1210:1409 -1210:1410 -1210:1411 -1210:1412 -1210:1413 -1210:1415 -1210:1416 -1210:1417 -1210:1418 -1210:1419 -1210:1420 -1210:1421 -1210:1422 -1210:1423 -1210:1424 -1210:1425 -1210:1426 -1210:1427 -1210:1430 -1210:1431 -1210:1432 -1210:1433 -1210:1434 -1210:1435 -1210:1436 -1210:1437 -1210:1438 -1210:1441 -1210:1442 -1210:1443 -1210:1446 -1210:1447 -1210:1448 -1210:1449 -1210:1450 -1210:1453 -1210:1454 -1210:1455 -1210:1458 -1210:1459 -1210:1460 -1210:1461 -1210:1462 -1210:1463 -1210:1464 -1215:1473 -1215:1474 -1215:1475 -1215:1476 -1215:1481 -1215:1483 -1215:1742 -1215:1743 -1215:1744 -1215:1745 -1215:1746 -1215:1747 -1215:1748 -1215:1749 -1215:1750 -1215:1751 -1215:1752 -1217:1484 -1217:1485 -1217:1486 -1217:1487 -1218:1477 -1218:1489 -1218:1491 -1218:1492 -1218:1493 -1218:1494 -1218:1495 -1218:1496 -1218:1497 -1218:1498 -1218:1499 -1218:1501 -1218:1502 -1218:1503 -1218:1505 -1218:1506 -1218:1507 -1218:1509 -1218:1513 -1218:1514 -1218:1515 -1218:1516 -1218:1517 -1218:1519 -1218:1530 -1218:1532 -1220:1523 -1221:1524 -1222:1525 -1223:1526 -1224:1527 -1225:1528 -1229:1537 -1229:1538 -1229:1539 -1229:1540 -1229:1542 -1229:1543 -1229:1544 -1229:1545 -1229:1546 -1229:1633 -1229:1634 -1229:1635 -1229:1636 -1229:1637 -1230:1548 -1230:1549 -1230:1550 -1230:1552 -1230:1553 -1230:1554 -1230:1555 -1230:1558 -1230:1559 -1230:1560 -1230:1563 -1230:1564 -1230:1565 -1230:1566 -1230:1567 -1230:1604 -1230:1606 -1230:1607 -1231:1570 -1231:1571 -1231:1572 -1231:1575 -1231:1576 -1231:1577 -1231:1578 -1231:1580 -1231:1581 -1231:1582 -1240:1573 -1240:1574 -1242:1585 -1242:1586 -1242:1587 -1242:1589 -1242:1590 -1242:1591 -1242:1592 -1242:1593 -1242:1594 -1242:1595 -1242:1596 -1242:1597 -1242:1599 -1242:1600 -1242:1601 -1244:1611 -1244:1612 -1244:1613 -1244:1614 -1244:1616 -1244:1618 -1244:1619 -1244:1620 -1244:1621 -1244:1622 -1244:1623 -1244:1624 -1244:1625 -1244:1626 -1244:1628 -1244:1629 -1244:1630 -1246:1640 -1246:1642 -1246:1643 -1246:1644 -1246:1645 -1246:1648 -1246:1649 -1246:1650 -1246:1653 -1246:1654 -1246:1655 -1246:1656 -1246:1657 -1246:1659 -1246:1660 -1246:1735 -1246:1737 -1250:1478 -1250:1661 -1250:1663 -1250:1664 -1250:1665 -1250:1666 -1250:1667 -1250:1668 -1250:1669 -1250:1670 -1250:1671 -1250:1672 -1250:1673 -1250:1674 -1250:1675 -1250:1677 -1250:1678 -1250:1680 -1250:1681 -1250:1682 -1250:1684 -1250:1688 -1250:1689 -1250:1690 -1250:1691 -1250:1692 -1250:1694 -1250:1721 -1250:1722 -1250:1723 -1250:1724 -1250:1725 -1251:1479 -1251:1699 -1251:1700 -1251:1701 -1251:1703 -1251:1704 -1251:1705 -1251:1706 -1251:1707 -1251:1709 -1252:1480 -1252:1714 -1252:1715 -1252:1716 -1252:1717 -1252:1718 -1255:1728 -1256:1729 -1257:1730 -1258:1731 -1259:1732 -1260:1733 -1268:1754 -1268:1755 -1268:1756 -1268:1757 -1268:1815 -1268:1816 -1268:1817 -1268:1818 -1268:1819 -1268:1820 -1269:1760 -1269:1761 -1269:1762 -1269:1763 -1269:1766 -1269:1767 -1269:1768 -1269:1771 -1269:1772 -1269:1773 -1269:1774 -1269:1775 -1269:1778 -1269:1779 -1269:1780 -1269:1781 -1269:1784 -1269:1785 -1269:1786 -1269:1795 -1269:1796 -1269:1797 -1269:1798 -1269:1799 -1269:1802 -1269:1803 -1269:1804 -1269:1805 -1269:1806 -1269:1807 -1269:1808 -1269:1809 -1269:1810 -1269:1812 -1269:1813 -1269:1814 -1274:1822 -1274:1823 -1274:1824 -1274:1825 -1274:1827 -1274:1848 -1274:1849 -1274:1850 -1274:1851 -1274:1852 -1274:1853 -1274:1854 -1274:1855 -1274:1856 -1274:1857 -1274:1858 -1275:1828 -1275:1829 -1275:1830 -1275:1833 -1275:1834 -1275:1835 -1275:1838 -1275:1839 -1275:1840 -1275:1843 -1275:1844 -1275:1845 -*E diff --git a/app/src/antlr/java/JavaRecognizer.java b/app/src/antlr/java/JavaRecognizer.java deleted file mode 100644 index fe3a82947..000000000 --- a/app/src/antlr/java/JavaRecognizer.java +++ /dev/null @@ -1,5048 +0,0 @@ -// $ANTLR 2.7.7 (2006-11-01): "src/antlr/java/java.g" -> "JavaRecognizer.java"$ - -package antlr.java; - -import antlr.TokenBuffer; -import antlr.TokenStreamException; -import antlr.TokenStreamIOException; -import antlr.ANTLRException; -import antlr.LLkParser; -import antlr.Token; -import antlr.TokenStream; -import antlr.RecognitionException; -import antlr.NoViableAltException; -import antlr.MismatchedTokenException; -import antlr.SemanticException; -import antlr.ParserSharedInputState; -import antlr.collections.impl.BitSet; -import antlr.collections.AST; -import java.util.Hashtable; -import antlr.ASTFactory; -import antlr.ASTPair; -import antlr.collections.impl.ASTArray; - -/** 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 '
- *
- * 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.
- *
- * This grammar is in the PUBLIC DOMAIN
- * 
- */ -public class JavaRecognizer extends antlr.LLkParser implements JavaTokenTypes - { - -protected JavaRecognizer(TokenBuffer tokenBuf, int k) { - super(tokenBuf,k); - tokenNames = _tokenNames; - buildTokenTypeASTClassMap(); - astFactory = new ASTFactory(getTokenTypeToASTClassMap()); -} - -public JavaRecognizer(TokenBuffer tokenBuf) { - this(tokenBuf,2); -} - -protected JavaRecognizer(TokenStream lexer, int k) { - super(lexer,k); - tokenNames = _tokenNames; - buildTokenTypeASTClassMap(); - astFactory = new ASTFactory(getTokenTypeToASTClassMap()); -} - -public JavaRecognizer(TokenStream lexer) { - this(lexer,2); -} - -public JavaRecognizer(ParserSharedInputState state) { - super(state,2); - tokenNames = _tokenNames; - buildTokenTypeASTClassMap(); - astFactory = new ASTFactory(getTokenTypeToASTClassMap()); -} - - public final void compilationUnit() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST compilationUnit_AST = null; - - { - switch ( LA(1)) { - case LITERAL_package: - { - packageDefinition(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case EOF: - case FINAL: - case ABSTRACT: - case STRICTFP: - case SEMI: - case LITERAL_import: - case LITERAL_private: - case LITERAL_public: - case LITERAL_protected: - case LITERAL_static: - case LITERAL_transient: - case LITERAL_native: - case LITERAL_threadsafe: - case LITERAL_synchronized: - case LITERAL_volatile: - case LITERAL_class: - case LITERAL_interface: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - { - _loop4: - do { - if ((LA(1)==LITERAL_import)) { - importDefinition(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop4; - } - - } while (true); - } - { - _loop6: - do { - if ((_tokenSet_0.member(LA(1)))) { - typeDefinition(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop6; - } - - } while (true); - } - match(Token.EOF_TYPE); - compilationUnit_AST = (AST)currentAST.root; - returnAST = compilationUnit_AST; - } - - public final void packageDefinition() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST packageDefinition_AST = null; - Token p = null; - AST p_AST = null; - - try { // for error handling - p = LT(1); - p_AST = astFactory.create(p); - astFactory.makeASTRoot(currentAST, p_AST); - match(LITERAL_package); - if ( inputState.guessing==0 ) { - p_AST.setType(PACKAGE_DEF); - } - identifier(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - packageDefinition_AST = (AST)currentAST.root; - } - catch (RecognitionException ex) { - if (inputState.guessing==0) { - reportError(ex); - recover(ex,_tokenSet_1); - } else { - throw ex; - } - } - returnAST = packageDefinition_AST; - } - - public final void importDefinition() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST importDefinition_AST = null; - Token i = null; - AST i_AST = null; - - try { // for error handling - i = LT(1); - i_AST = astFactory.create(i); - astFactory.makeASTRoot(currentAST, i_AST); - match(LITERAL_import); - if ( inputState.guessing==0 ) { - i_AST.setType(IMPORT); - } - identifierStar(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - importDefinition_AST = (AST)currentAST.root; - } - catch (RecognitionException ex) { - if (inputState.guessing==0) { - reportError(ex); - recover(ex,_tokenSet_1); - } else { - throw ex; - } - } - returnAST = importDefinition_AST; - } - - public final void typeDefinition() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST typeDefinition_AST = null; - AST m_AST = null; - - try { // for error handling - switch ( LA(1)) { - case FINAL: - case ABSTRACT: - case STRICTFP: - case LITERAL_private: - case LITERAL_public: - case LITERAL_protected: - case LITERAL_static: - case LITERAL_transient: - case LITERAL_native: - case LITERAL_threadsafe: - case LITERAL_synchronized: - case LITERAL_volatile: - case LITERAL_class: - case LITERAL_interface: - { - modifiers(); - m_AST = (AST)returnAST; - { - switch ( LA(1)) { - case LITERAL_class: - { - classDefinition(m_AST); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case LITERAL_interface: - { - interfaceDefinition(m_AST); - astFactory.addASTChild(currentAST, returnAST); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - typeDefinition_AST = (AST)currentAST.root; - break; - } - case SEMI: - { - match(SEMI); - typeDefinition_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - catch (RecognitionException ex) { - if (inputState.guessing==0) { - reportError(ex); - recover(ex,_tokenSet_2); - } else { - throw ex; - } - } - returnAST = typeDefinition_AST; - } - - public final void identifier() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST identifier_AST = null; - - AST tmp5_AST = null; - tmp5_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp5_AST); - match(IDENT); - { - _loop23: - do { - if ((LA(1)==DOT)) { - AST tmp6_AST = null; - tmp6_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp6_AST); - match(DOT); - AST tmp7_AST = null; - tmp7_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp7_AST); - match(IDENT); - } - else { - break _loop23; - } - - } while (true); - } - identifier_AST = (AST)currentAST.root; - returnAST = identifier_AST; - } - - public final void identifierStar() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST identifierStar_AST = null; - - AST tmp8_AST = null; - tmp8_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp8_AST); - match(IDENT); - { - _loop26: - do { - if ((LA(1)==DOT) && (LA(2)==IDENT)) { - AST tmp9_AST = null; - tmp9_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp9_AST); - match(DOT); - AST tmp10_AST = null; - tmp10_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp10_AST); - match(IDENT); - } - else { - break _loop26; - } - - } while (true); - } - { - switch ( LA(1)) { - case DOT: - { - AST tmp11_AST = null; - tmp11_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp11_AST); - match(DOT); - AST tmp12_AST = null; - tmp12_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp12_AST); - match(STAR); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - identifierStar_AST = (AST)currentAST.root; - returnAST = identifierStar_AST; - } - - public final void modifiers() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST modifiers_AST = null; - - { - _loop30: - do { - if ((_tokenSet_3.member(LA(1)))) { - modifier(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop30; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - modifiers_AST = (AST)currentAST.root; - modifiers_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(MODIFIERS,"MODIFIERS")).add(modifiers_AST)); - currentAST.root = modifiers_AST; - currentAST.child = modifiers_AST!=null &&modifiers_AST.getFirstChild()!=null ? - modifiers_AST.getFirstChild() : modifiers_AST; - currentAST.advanceChildToEnd(); - } - modifiers_AST = (AST)currentAST.root; - returnAST = modifiers_AST; - } - - public final void classDefinition( - AST modifiers - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST classDefinition_AST = null; - AST sc_AST = null; - AST ic_AST = null; - AST cb_AST = null; - - match(LITERAL_class); - AST tmp14_AST = null; - tmp14_AST = astFactory.create(LT(1)); - match(IDENT); - superClassClause(); - sc_AST = (AST)returnAST; - implementsClause(); - ic_AST = (AST)returnAST; - classBlock(); - cb_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - classDefinition_AST = (AST)currentAST.root; - classDefinition_AST = (AST)astFactory.make( (new ASTArray(6)).add(astFactory.create(CLASS_DEF,"CLASS_DEF")).add(modifiers).add(tmp14_AST).add(sc_AST).add(ic_AST).add(cb_AST)); - currentAST.root = classDefinition_AST; - currentAST.child = classDefinition_AST!=null &&classDefinition_AST.getFirstChild()!=null ? - classDefinition_AST.getFirstChild() : classDefinition_AST; - currentAST.advanceChildToEnd(); - } - returnAST = classDefinition_AST; - } - - public final void interfaceDefinition( - AST modifiers - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST interfaceDefinition_AST = null; - AST ie_AST = null; - AST cb_AST = null; - - match(LITERAL_interface); - AST tmp16_AST = null; - tmp16_AST = astFactory.create(LT(1)); - match(IDENT); - interfaceExtends(); - ie_AST = (AST)returnAST; - classBlock(); - cb_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - interfaceDefinition_AST = (AST)currentAST.root; - interfaceDefinition_AST = (AST)astFactory.make( (new ASTArray(5)).add(astFactory.create(INTERFACE_DEF,"INTERFACE_DEF")).add(modifiers).add(tmp16_AST).add(ie_AST).add(cb_AST)); - currentAST.root = interfaceDefinition_AST; - currentAST.child = interfaceDefinition_AST!=null &&interfaceDefinition_AST.getFirstChild()!=null ? - interfaceDefinition_AST.getFirstChild() : interfaceDefinition_AST; - currentAST.advanceChildToEnd(); - } - returnAST = interfaceDefinition_AST; - } - -/** 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. - */ - public final void declaration() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST declaration_AST = null; - AST m_AST = null; - AST t_AST = null; - AST v_AST = null; - - modifiers(); - m_AST = (AST)returnAST; - typeSpec(false); - t_AST = (AST)returnAST; - variableDefinitions(m_AST,t_AST); - v_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - declaration_AST = (AST)currentAST.root; - declaration_AST = v_AST; - currentAST.root = declaration_AST; - currentAST.child = declaration_AST!=null &&declaration_AST.getFirstChild()!=null ? - declaration_AST.getFirstChild() : declaration_AST; - currentAST.advanceChildToEnd(); - } - returnAST = declaration_AST; - } - - public final void typeSpec( - boolean addImagNode - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST typeSpec_AST = null; - - switch ( LA(1)) { - case IDENT: - { - classTypeSpec(addImagNode); - astFactory.addASTChild(currentAST, returnAST); - typeSpec_AST = (AST)currentAST.root; - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - { - builtInTypeSpec(addImagNode); - astFactory.addASTChild(currentAST, returnAST); - typeSpec_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = typeSpec_AST; - } - - public final void variableDefinitions( - AST mods, AST t - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST variableDefinitions_AST = null; - - variableDeclarator(getASTFactory().dupTree(mods), - getASTFactory().dupTree(t)); - astFactory.addASTChild(currentAST, returnAST); - { - _loop59: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - variableDeclarator(getASTFactory().dupTree(mods), - getASTFactory().dupTree(t)); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop59; - } - - } while (true); - } - variableDefinitions_AST = (AST)currentAST.root; - returnAST = variableDefinitions_AST; - } - - public final void classTypeSpec( - boolean addImagNode - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST classTypeSpec_AST = null; - Token lb = null; - AST lb_AST = null; - - identifier(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop15: - do { - if ((LA(1)==LBRACK)) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - break _loop15; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - classTypeSpec_AST = (AST)currentAST.root; - - if ( addImagNode ) { - classTypeSpec_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(classTypeSpec_AST)); - } - - currentAST.root = classTypeSpec_AST; - currentAST.child = classTypeSpec_AST!=null &&classTypeSpec_AST.getFirstChild()!=null ? - classTypeSpec_AST.getFirstChild() : classTypeSpec_AST; - currentAST.advanceChildToEnd(); - } - classTypeSpec_AST = (AST)currentAST.root; - returnAST = classTypeSpec_AST; - } - - public final void builtInTypeSpec( - boolean addImagNode - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST builtInTypeSpec_AST = null; - Token lb = null; - AST lb_AST = null; - - builtInType(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop18: - do { - if ((LA(1)==LBRACK)) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - break _loop18; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - builtInTypeSpec_AST = (AST)currentAST.root; - - if ( addImagNode ) { - builtInTypeSpec_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(builtInTypeSpec_AST)); - } - - currentAST.root = builtInTypeSpec_AST; - currentAST.child = builtInTypeSpec_AST!=null &&builtInTypeSpec_AST.getFirstChild()!=null ? - builtInTypeSpec_AST.getFirstChild() : builtInTypeSpec_AST; - currentAST.advanceChildToEnd(); - } - builtInTypeSpec_AST = (AST)currentAST.root; - returnAST = builtInTypeSpec_AST; - } - - public final void builtInType() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST builtInType_AST = null; - - switch ( LA(1)) { - case LITERAL_void: - { - AST tmp20_AST = null; - tmp20_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp20_AST); - match(LITERAL_void); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_boolean: - { - AST tmp21_AST = null; - tmp21_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp21_AST); - match(LITERAL_boolean); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_byte: - { - AST tmp22_AST = null; - tmp22_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp22_AST); - match(LITERAL_byte); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_char: - { - AST tmp23_AST = null; - tmp23_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp23_AST); - match(LITERAL_char); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_short: - { - AST tmp24_AST = null; - tmp24_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp24_AST); - match(LITERAL_short); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_int: - { - AST tmp25_AST = null; - tmp25_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp25_AST); - match(LITERAL_int); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_float: - { - AST tmp26_AST = null; - tmp26_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp26_AST); - match(LITERAL_float); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_long: - { - AST tmp27_AST = null; - tmp27_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp27_AST); - match(LITERAL_long); - builtInType_AST = (AST)currentAST.root; - break; - } - case LITERAL_double: - { - AST tmp28_AST = null; - tmp28_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp28_AST); - match(LITERAL_double); - builtInType_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = builtInType_AST; - } - - public final void type() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST type_AST = null; - - switch ( LA(1)) { - case IDENT: - { - identifier(); - astFactory.addASTChild(currentAST, returnAST); - type_AST = (AST)currentAST.root; - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - { - builtInType(); - astFactory.addASTChild(currentAST, returnAST); - type_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = type_AST; - } - - public final void modifier() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST modifier_AST = null; - - switch ( LA(1)) { - case LITERAL_private: - { - AST tmp29_AST = null; - tmp29_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp29_AST); - match(LITERAL_private); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_public: - { - AST tmp30_AST = null; - tmp30_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp30_AST); - match(LITERAL_public); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_protected: - { - AST tmp31_AST = null; - tmp31_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp31_AST); - match(LITERAL_protected); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_static: - { - AST tmp32_AST = null; - tmp32_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp32_AST); - match(LITERAL_static); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_transient: - { - AST tmp33_AST = null; - tmp33_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp33_AST); - match(LITERAL_transient); - modifier_AST = (AST)currentAST.root; - break; - } - case FINAL: - { - AST tmp34_AST = null; - tmp34_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp34_AST); - match(FINAL); - modifier_AST = (AST)currentAST.root; - break; - } - case ABSTRACT: - { - AST tmp35_AST = null; - tmp35_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp35_AST); - match(ABSTRACT); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_native: - { - AST tmp36_AST = null; - tmp36_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp36_AST); - match(LITERAL_native); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_threadsafe: - { - AST tmp37_AST = null; - tmp37_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp37_AST); - match(LITERAL_threadsafe); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_synchronized: - { - AST tmp38_AST = null; - tmp38_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp38_AST); - match(LITERAL_synchronized); - modifier_AST = (AST)currentAST.root; - break; - } - case LITERAL_volatile: - { - AST tmp39_AST = null; - tmp39_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp39_AST); - match(LITERAL_volatile); - modifier_AST = (AST)currentAST.root; - break; - } - case STRICTFP: - { - AST tmp40_AST = null; - tmp40_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp40_AST); - match(STRICTFP); - modifier_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = modifier_AST; - } - - public final void superClassClause() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST superClassClause_AST = null; - AST id_AST = null; - - { - switch ( LA(1)) { - case LITERAL_extends: - { - match(LITERAL_extends); - identifier(); - id_AST = (AST)returnAST; - break; - } - case LCURLY: - case LITERAL_implements: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - superClassClause_AST = (AST)currentAST.root; - superClassClause_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(EXTENDS_CLAUSE,"EXTENDS_CLAUSE")).add(id_AST)); - currentAST.root = superClassClause_AST; - currentAST.child = superClassClause_AST!=null &&superClassClause_AST.getFirstChild()!=null ? - superClassClause_AST.getFirstChild() : superClassClause_AST; - currentAST.advanceChildToEnd(); - } - returnAST = superClassClause_AST; - } - - public final void implementsClause() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST implementsClause_AST = null; - Token i = null; - AST i_AST = null; - - { - switch ( LA(1)) { - case LITERAL_implements: - { - i = LT(1); - i_AST = astFactory.create(i); - match(LITERAL_implements); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop46: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop46; - } - - } while (true); - } - break; - } - case LCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - implementsClause_AST = (AST)currentAST.root; - implementsClause_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(IMPLEMENTS_CLAUSE,"IMPLEMENTS_CLAUSE")).add(implementsClause_AST)); - currentAST.root = implementsClause_AST; - currentAST.child = implementsClause_AST!=null &&implementsClause_AST.getFirstChild()!=null ? - implementsClause_AST.getFirstChild() : implementsClause_AST; - currentAST.advanceChildToEnd(); - } - implementsClause_AST = (AST)currentAST.root; - returnAST = implementsClause_AST; - } - - public final void classBlock() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST classBlock_AST = null; - - match(LCURLY); - { - _loop38: - do { - switch ( LA(1)) { - case FINAL: - case ABSTRACT: - case STRICTFP: - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LITERAL_private: - case LITERAL_public: - case LITERAL_protected: - case LITERAL_static: - case LITERAL_transient: - case LITERAL_native: - case LITERAL_threadsafe: - case LITERAL_synchronized: - case LITERAL_volatile: - case LITERAL_class: - case LITERAL_interface: - case LCURLY: - { - field(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - { - match(SEMI); - break; - } - default: - { - break _loop38; - } - } - } while (true); - } - match(RCURLY); - if ( inputState.guessing==0 ) { - classBlock_AST = (AST)currentAST.root; - classBlock_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(OBJBLOCK,"OBJBLOCK")).add(classBlock_AST)); - currentAST.root = classBlock_AST; - currentAST.child = classBlock_AST!=null &&classBlock_AST.getFirstChild()!=null ? - classBlock_AST.getFirstChild() : classBlock_AST; - currentAST.advanceChildToEnd(); - } - classBlock_AST = (AST)currentAST.root; - returnAST = classBlock_AST; - } - - public final void interfaceExtends() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST interfaceExtends_AST = null; - Token e = null; - AST e_AST = null; - - { - switch ( LA(1)) { - case LITERAL_extends: - { - e = LT(1); - e_AST = astFactory.create(e); - match(LITERAL_extends); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop42: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop42; - } - - } while (true); - } - break; - } - case LCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - interfaceExtends_AST = (AST)currentAST.root; - interfaceExtends_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(EXTENDS_CLAUSE,"EXTENDS_CLAUSE")).add(interfaceExtends_AST)); - currentAST.root = interfaceExtends_AST; - currentAST.child = interfaceExtends_AST!=null &&interfaceExtends_AST.getFirstChild()!=null ? - interfaceExtends_AST.getFirstChild() : interfaceExtends_AST; - currentAST.advanceChildToEnd(); - } - interfaceExtends_AST = (AST)currentAST.root; - returnAST = interfaceExtends_AST; - } - - public final void field() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST field_AST = null; - AST mods_AST = null; - AST h_AST = null; - AST s_AST = null; - AST cd_AST = null; - AST id_AST = null; - AST t_AST = null; - AST param_AST = null; - AST rt_AST = null; - AST tc_AST = null; - AST s2_AST = null; - AST v_AST = null; - AST s3_AST = null; - AST s4_AST = null; - - if ((_tokenSet_4.member(LA(1))) && (_tokenSet_5.member(LA(2)))) { - modifiers(); - mods_AST = (AST)returnAST; - { - switch ( LA(1)) { - case LITERAL_class: - { - classDefinition(mods_AST); - cd_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = cd_AST; - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - break; - } - case LITERAL_interface: - { - interfaceDefinition(mods_AST); - id_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = id_AST; - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - break; - } - default: - if ((LA(1)==IDENT) && (LA(2)==LPAREN)) { - ctorHead(); - h_AST = (AST)returnAST; - constructorBody(); - s_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(CTOR_DEF,"CTOR_DEF")).add(mods_AST).add(h_AST).add(s_AST)); - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - } - else if (((LA(1) >= LITERAL_void && LA(1) <= IDENT)) && (_tokenSet_6.member(LA(2)))) { - typeSpec(false); - t_AST = (AST)returnAST; - { - if ((LA(1)==IDENT) && (LA(2)==LPAREN)) { - AST tmp47_AST = null; - tmp47_AST = astFactory.create(LT(1)); - match(IDENT); - match(LPAREN); - parameterDeclarationList(); - param_AST = (AST)returnAST; - match(RPAREN); - declaratorBrackets(t_AST); - rt_AST = (AST)returnAST; - { - switch ( LA(1)) { - case LITERAL_throws: - { - throwsClause(); - tc_AST = (AST)returnAST; - break; - } - case SEMI: - case LCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - { - switch ( LA(1)) { - case LCURLY: - { - compoundStatement(); - s2_AST = (AST)returnAST; - break; - } - case SEMI: - { - AST tmp50_AST = null; - tmp50_AST = astFactory.create(LT(1)); - match(SEMI); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = (AST)astFactory.make( (new ASTArray(7)).add(astFactory.create(METHOD_DEF,"METHOD_DEF")).add(mods_AST).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(rt_AST))).add(tmp47_AST).add(param_AST).add(tc_AST).add(s2_AST)); - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - } - else if ((LA(1)==IDENT) && (_tokenSet_7.member(LA(2)))) { - variableDefinitions(mods_AST,t_AST); - v_AST = (AST)returnAST; - AST tmp51_AST = null; - tmp51_AST = astFactory.create(LT(1)); - match(SEMI); - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = v_AST; - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else if ((LA(1)==LITERAL_static) && (LA(2)==LCURLY)) { - match(LITERAL_static); - compoundStatement(); - s3_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(STATIC_INIT,"STATIC_INIT")).add(s3_AST)); - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - } - else if ((LA(1)==LCURLY)) { - compoundStatement(); - s4_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - field_AST = (AST)currentAST.root; - field_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(INSTANCE_INIT,"INSTANCE_INIT")).add(s4_AST)); - currentAST.root = field_AST; - currentAST.child = field_AST!=null &&field_AST.getFirstChild()!=null ? - field_AST.getFirstChild() : field_AST; - currentAST.advanceChildToEnd(); - } - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - returnAST = field_AST; - } - - public final void ctorHead() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST ctorHead_AST = null; - - AST tmp53_AST = null; - tmp53_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp53_AST); - match(IDENT); - match(LPAREN); - parameterDeclarationList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - { - switch ( LA(1)) { - case LITERAL_throws: - { - throwsClause(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case LCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - ctorHead_AST = (AST)currentAST.root; - returnAST = ctorHead_AST; - } - - public final void constructorBody() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST constructorBody_AST = null; - Token lc = null; - AST lc_AST = null; - - lc = LT(1); - lc_AST = astFactory.create(lc); - astFactory.makeASTRoot(currentAST, lc_AST); - match(LCURLY); - if ( inputState.guessing==0 ) { - lc_AST.setType(SLIST); - } - { - if ((LA(1)==LITERAL_this||LA(1)==LITERAL_super) && (LA(2)==LPAREN)) { - explicitConstructorInvocation(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((_tokenSet_8.member(LA(1))) && (_tokenSet_9.member(LA(2)))) { - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - { - _loop55: - do { - if ((_tokenSet_10.member(LA(1)))) { - statement(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop55; - } - - } while (true); - } - match(RCURLY); - constructorBody_AST = (AST)currentAST.root; - returnAST = constructorBody_AST; - } - - public final void parameterDeclarationList() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST parameterDeclarationList_AST = null; - - { - switch ( LA(1)) { - case FINAL: - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - { - parameterDeclaration(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop80: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - parameterDeclaration(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop80; - } - - } while (true); - } - break; - } - case RPAREN: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - parameterDeclarationList_AST = (AST)currentAST.root; - parameterDeclarationList_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(PARAMETERS,"PARAMETERS")).add(parameterDeclarationList_AST)); - currentAST.root = parameterDeclarationList_AST; - currentAST.child = parameterDeclarationList_AST!=null &¶meterDeclarationList_AST.getFirstChild()!=null ? - parameterDeclarationList_AST.getFirstChild() : parameterDeclarationList_AST; - currentAST.advanceChildToEnd(); - } - parameterDeclarationList_AST = (AST)currentAST.root; - returnAST = parameterDeclarationList_AST; - } - - public final void declaratorBrackets( - AST typ - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST declaratorBrackets_AST = null; - Token lb = null; - AST lb_AST = null; - - if ( inputState.guessing==0 ) { - declaratorBrackets_AST = (AST)currentAST.root; - declaratorBrackets_AST=typ; - currentAST.root = declaratorBrackets_AST; - currentAST.child = declaratorBrackets_AST!=null &&declaratorBrackets_AST.getFirstChild()!=null ? - declaratorBrackets_AST.getFirstChild() : declaratorBrackets_AST; - currentAST.advanceChildToEnd(); - } - { - _loop63: - do { - if ((LA(1)==LBRACK)) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - break _loop63; - } - - } while (true); - } - declaratorBrackets_AST = (AST)currentAST.root; - returnAST = declaratorBrackets_AST; - } - - public final void throwsClause() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST throwsClause_AST = null; - - AST tmp59_AST = null; - tmp59_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp59_AST); - match(LITERAL_throws); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop76: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - identifier(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop76; - } - - } while (true); - } - throwsClause_AST = (AST)currentAST.root; - returnAST = throwsClause_AST; - } - - public final void compoundStatement() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST compoundStatement_AST = null; - Token lc = null; - AST lc_AST = null; - - lc = LT(1); - lc_AST = astFactory.create(lc); - astFactory.makeASTRoot(currentAST, lc_AST); - match(LCURLY); - if ( inputState.guessing==0 ) { - lc_AST.setType(SLIST); - } - { - _loop86: - do { - if ((_tokenSet_10.member(LA(1)))) { - statement(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop86; - } - - } while (true); - } - match(RCURLY); - compoundStatement_AST = (AST)currentAST.root; - returnAST = compoundStatement_AST; - } - -/** Catch obvious constructor calls, but not the expr.super(...) calls */ - public final void explicitConstructorInvocation() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST explicitConstructorInvocation_AST = null; - Token lp1 = null; - AST lp1_AST = null; - Token lp2 = null; - AST lp2_AST = null; - - switch ( LA(1)) { - case LITERAL_this: - { - match(LITERAL_this); - lp1 = LT(1); - lp1_AST = astFactory.create(lp1); - astFactory.makeASTRoot(currentAST, lp1_AST); - match(LPAREN); - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - match(SEMI); - if ( inputState.guessing==0 ) { - lp1_AST.setType(CTOR_CALL); - } - explicitConstructorInvocation_AST = (AST)currentAST.root; - break; - } - case LITERAL_super: - { - match(LITERAL_super); - lp2 = LT(1); - lp2_AST = astFactory.create(lp2); - astFactory.makeASTRoot(currentAST, lp2_AST); - match(LPAREN); - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - match(SEMI); - if ( inputState.guessing==0 ) { - lp2_AST.setType(SUPER_CTOR_CALL); - } - explicitConstructorInvocation_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = explicitConstructorInvocation_AST; - } - - public final void statement() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST statement_AST = null; - AST m_AST = null; - Token c = null; - AST c_AST = null; - Token s = null; - AST s_AST = null; - - switch ( LA(1)) { - case LCURLY: - { - compoundStatement(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_if: - { - AST tmp68_AST = null; - tmp68_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp68_AST); - match(LITERAL_if); - match(LPAREN); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - statement(); - astFactory.addASTChild(currentAST, returnAST); - { - if ((LA(1)==LITERAL_else) && (_tokenSet_10.member(LA(2)))) { - match(LITERAL_else); - statement(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((_tokenSet_11.member(LA(1))) && (_tokenSet_12.member(LA(2)))) { - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_for: - { - AST tmp72_AST = null; - tmp72_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp72_AST); - match(LITERAL_for); - match(LPAREN); - forInit(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - forCond(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - forIter(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - statement(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_while: - { - AST tmp77_AST = null; - tmp77_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp77_AST); - match(LITERAL_while); - match(LPAREN); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - statement(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_do: - { - AST tmp80_AST = null; - tmp80_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp80_AST); - match(LITERAL_do); - statement(); - astFactory.addASTChild(currentAST, returnAST); - match(LITERAL_while); - match(LPAREN); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_break: - { - AST tmp85_AST = null; - tmp85_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp85_AST); - match(LITERAL_break); - { - switch ( LA(1)) { - case IDENT: - { - AST tmp86_AST = null; - tmp86_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp86_AST); - match(IDENT); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_continue: - { - AST tmp88_AST = null; - tmp88_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp88_AST); - match(LITERAL_continue); - { - switch ( LA(1)) { - case IDENT: - { - AST tmp89_AST = null; - tmp89_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp89_AST); - match(IDENT); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_return: - { - AST tmp91_AST = null; - tmp91_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp91_AST); - match(LITERAL_return); - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_switch: - { - AST tmp93_AST = null; - tmp93_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp93_AST); - match(LITERAL_switch); - match(LPAREN); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - match(LCURLY); - { - _loop95: - do { - if ((LA(1)==LITERAL_case||LA(1)==LITERAL_default)) { - casesGroup(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop95; - } - - } while (true); - } - match(RCURLY); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_try: - { - tryBlock(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_throw: - { - AST tmp98_AST = null; - tmp98_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp98_AST); - match(LITERAL_throw); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case LITERAL_assert: - { - AST tmp100_AST = null; - tmp100_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp100_AST); - match(LITERAL_assert); - expression(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case COLON: - { - match(COLON); - expression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(SEMI); - statement_AST = (AST)currentAST.root; - break; - } - case SEMI: - { - s = LT(1); - s_AST = astFactory.create(s); - astFactory.addASTChild(currentAST, s_AST); - match(SEMI); - if ( inputState.guessing==0 ) { - s_AST.setType(EMPTY_STAT); - } - statement_AST = (AST)currentAST.root; - break; - } - default: - boolean synPredMatched89 = false; - if (((_tokenSet_13.member(LA(1))) && (_tokenSet_14.member(LA(2))))) { - int _m89 = mark(); - synPredMatched89 = true; - inputState.guessing++; - try { - { - declaration(); - } - } - catch (RecognitionException pe) { - synPredMatched89 = false; - } - rewind(_m89); -inputState.guessing--; - } - if ( synPredMatched89 ) { - declaration(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - statement_AST = (AST)currentAST.root; - } - else if ((_tokenSet_15.member(LA(1))) && (_tokenSet_16.member(LA(2)))) { - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(SEMI); - statement_AST = (AST)currentAST.root; - } - else if ((_tokenSet_17.member(LA(1))) && (_tokenSet_18.member(LA(2)))) { - modifiers(); - m_AST = (AST)returnAST; - classDefinition(m_AST); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - } - else if ((LA(1)==IDENT) && (LA(2)==COLON)) { - AST tmp105_AST = null; - tmp105_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp105_AST); - match(IDENT); - c = LT(1); - c_AST = astFactory.create(c); - astFactory.makeASTRoot(currentAST, c_AST); - match(COLON); - if ( inputState.guessing==0 ) { - c_AST.setType(LABELED_STAT); - } - statement(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - } - else if ((LA(1)==LITERAL_synchronized) && (LA(2)==LPAREN)) { - AST tmp106_AST = null; - tmp106_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp106_AST); - match(LITERAL_synchronized); - match(LPAREN); - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - compoundStatement(); - astFactory.addASTChild(currentAST, returnAST); - statement_AST = (AST)currentAST.root; - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = statement_AST; - } - - public final void argList() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST argList_AST = null; - - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expressionList(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case RPAREN: - { - if ( inputState.guessing==0 ) { - argList_AST = (AST)currentAST.root; - argList_AST = astFactory.create(ELIST,"ELIST"); - currentAST.root = argList_AST; - currentAST.child = argList_AST!=null &&argList_AST.getFirstChild()!=null ? - argList_AST.getFirstChild() : argList_AST; - currentAST.advanceChildToEnd(); - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - argList_AST = (AST)currentAST.root; - returnAST = argList_AST; - } - -/** Declaration of a variable. This can be a class/instance variable, - * or a local variable in a method - * It can also include possible initialization. - */ - public final void variableDeclarator( - AST mods, AST t - ) throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST variableDeclarator_AST = null; - Token id = null; - AST id_AST = null; - AST d_AST = null; - AST v_AST = null; - - id = LT(1); - id_AST = astFactory.create(id); - match(IDENT); - declaratorBrackets(t); - d_AST = (AST)returnAST; - varInitializer(); - v_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - variableDeclarator_AST = (AST)currentAST.root; - variableDeclarator_AST = (AST)astFactory.make( (new ASTArray(5)).add(astFactory.create(VARIABLE_DEF,"VARIABLE_DEF")).add(mods).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(d_AST))).add(id_AST).add(v_AST)); - currentAST.root = variableDeclarator_AST; - currentAST.child = variableDeclarator_AST!=null &&variableDeclarator_AST.getFirstChild()!=null ? - variableDeclarator_AST.getFirstChild() : variableDeclarator_AST; - currentAST.advanceChildToEnd(); - } - returnAST = variableDeclarator_AST; - } - - public final void varInitializer() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST varInitializer_AST = null; - - { - switch ( LA(1)) { - case ASSIGN: - { - AST tmp109_AST = null; - tmp109_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp109_AST); - match(ASSIGN); - initializer(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - case COMMA: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - varInitializer_AST = (AST)currentAST.root; - returnAST = varInitializer_AST; - } - - public final void initializer() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST initializer_AST = null; - - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expression(); - astFactory.addASTChild(currentAST, returnAST); - initializer_AST = (AST)currentAST.root; - break; - } - case LCURLY: - { - arrayInitializer(); - astFactory.addASTChild(currentAST, returnAST); - initializer_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = initializer_AST; - } - - public final void arrayInitializer() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST arrayInitializer_AST = null; - Token lc = null; - AST lc_AST = null; - - lc = LT(1); - lc_AST = astFactory.create(lc); - astFactory.makeASTRoot(currentAST, lc_AST); - match(LCURLY); - if ( inputState.guessing==0 ) { - lc_AST.setType(ARRAY_INIT); - } - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LCURLY: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - initializer(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop69: - do { - if ((LA(1)==COMMA) && (_tokenSet_19.member(LA(2)))) { - match(COMMA); - initializer(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop69; - } - - } while (true); - } - { - switch ( LA(1)) { - case COMMA: - { - match(COMMA); - break; - } - case RCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - break; - } - case RCURLY: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(RCURLY); - arrayInitializer_AST = (AST)currentAST.root; - returnAST = arrayInitializer_AST; - } - - public final void expression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST expression_AST = null; - - assignmentExpression(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - expression_AST = (AST)currentAST.root; - expression_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(EXPR,"EXPR")).add(expression_AST)); - currentAST.root = expression_AST; - currentAST.child = expression_AST!=null &&expression_AST.getFirstChild()!=null ? - expression_AST.getFirstChild() : expression_AST; - currentAST.advanceChildToEnd(); - } - expression_AST = (AST)currentAST.root; - returnAST = expression_AST; - } - - public final void parameterDeclaration() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST parameterDeclaration_AST = null; - AST pm_AST = null; - AST t_AST = null; - Token id = null; - AST id_AST = null; - AST pd_AST = null; - - parameterModifier(); - pm_AST = (AST)returnAST; - typeSpec(false); - t_AST = (AST)returnAST; - id = LT(1); - id_AST = astFactory.create(id); - match(IDENT); - declaratorBrackets(t_AST); - pd_AST = (AST)returnAST; - if ( inputState.guessing==0 ) { - parameterDeclaration_AST = (AST)currentAST.root; - parameterDeclaration_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(PARAMETER_DEF,"PARAMETER_DEF")).add(pm_AST).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(pd_AST))).add(id_AST)); - currentAST.root = parameterDeclaration_AST; - currentAST.child = parameterDeclaration_AST!=null &¶meterDeclaration_AST.getFirstChild()!=null ? - parameterDeclaration_AST.getFirstChild() : parameterDeclaration_AST; - currentAST.advanceChildToEnd(); - } - returnAST = parameterDeclaration_AST; - } - - public final void parameterModifier() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST parameterModifier_AST = null; - Token f = null; - AST f_AST = null; - - { - switch ( LA(1)) { - case FINAL: - { - f = LT(1); - f_AST = astFactory.create(f); - astFactory.addASTChild(currentAST, f_AST); - match(FINAL); - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - parameterModifier_AST = (AST)currentAST.root; - parameterModifier_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(MODIFIERS,"MODIFIERS")).add(f_AST)); - currentAST.root = parameterModifier_AST; - currentAST.child = parameterModifier_AST!=null &¶meterModifier_AST.getFirstChild()!=null ? - parameterModifier_AST.getFirstChild() : parameterModifier_AST; - currentAST.advanceChildToEnd(); - } - parameterModifier_AST = (AST)currentAST.root; - returnAST = parameterModifier_AST; - } - - public final void forInit() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST forInit_AST = null; - - { - boolean synPredMatched108 = false; - if (((_tokenSet_13.member(LA(1))) && (_tokenSet_14.member(LA(2))))) { - int _m108 = mark(); - synPredMatched108 = true; - inputState.guessing++; - try { - { - declaration(); - } - } - catch (RecognitionException pe) { - synPredMatched108 = false; - } - rewind(_m108); -inputState.guessing--; - } - if ( synPredMatched108 ) { - declaration(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((_tokenSet_15.member(LA(1))) && (_tokenSet_20.member(LA(2)))) { - expressionList(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((LA(1)==SEMI)) { - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - if ( inputState.guessing==0 ) { - forInit_AST = (AST)currentAST.root; - forInit_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(FOR_INIT,"FOR_INIT")).add(forInit_AST)); - currentAST.root = forInit_AST; - currentAST.child = forInit_AST!=null &&forInit_AST.getFirstChild()!=null ? - forInit_AST.getFirstChild() : forInit_AST; - currentAST.advanceChildToEnd(); - } - forInit_AST = (AST)currentAST.root; - returnAST = forInit_AST; - } - - public final void forCond() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST forCond_AST = null; - - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - forCond_AST = (AST)currentAST.root; - forCond_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(FOR_CONDITION,"FOR_CONDITION")).add(forCond_AST)); - currentAST.root = forCond_AST; - currentAST.child = forCond_AST!=null &&forCond_AST.getFirstChild()!=null ? - forCond_AST.getFirstChild() : forCond_AST; - currentAST.advanceChildToEnd(); - } - forCond_AST = (AST)currentAST.root; - returnAST = forCond_AST; - } - - public final void forIter() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST forIter_AST = null; - - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expressionList(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case RPAREN: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - if ( inputState.guessing==0 ) { - forIter_AST = (AST)currentAST.root; - forIter_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(FOR_ITERATOR,"FOR_ITERATOR")).add(forIter_AST)); - currentAST.root = forIter_AST; - currentAST.child = forIter_AST!=null &&forIter_AST.getFirstChild()!=null ? - forIter_AST.getFirstChild() : forIter_AST; - currentAST.advanceChildToEnd(); - } - forIter_AST = (AST)currentAST.root; - returnAST = forIter_AST; - } - - public final void casesGroup() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST casesGroup_AST = null; - - { - int _cnt99=0; - _loop99: - do { - if ((LA(1)==LITERAL_case||LA(1)==LITERAL_default) && (_tokenSet_21.member(LA(2)))) { - aCase(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - if ( _cnt99>=1 ) { break _loop99; } else {throw new NoViableAltException(LT(1), getFilename());} - } - - _cnt99++; - } while (true); - } - caseSList(); - astFactory.addASTChild(currentAST, returnAST); - if ( inputState.guessing==0 ) { - casesGroup_AST = (AST)currentAST.root; - casesGroup_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(CASE_GROUP,"CASE_GROUP")).add(casesGroup_AST)); - currentAST.root = casesGroup_AST; - currentAST.child = casesGroup_AST!=null &&casesGroup_AST.getFirstChild()!=null ? - casesGroup_AST.getFirstChild() : casesGroup_AST; - currentAST.advanceChildToEnd(); - } - casesGroup_AST = (AST)currentAST.root; - returnAST = casesGroup_AST; - } - - public final void tryBlock() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST tryBlock_AST = null; - - AST tmp113_AST = null; - tmp113_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp113_AST); - match(LITERAL_try); - compoundStatement(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop115: - do { - if ((LA(1)==LITERAL_catch)) { - handler(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop115; - } - - } while (true); - } - { - switch ( LA(1)) { - case LITERAL_finally: - { - finallyClause(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case FINAL: - case ABSTRACT: - case STRICTFP: - case SEMI: - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LITERAL_private: - case LITERAL_public: - case LITERAL_protected: - case LITERAL_static: - case LITERAL_transient: - case LITERAL_native: - case LITERAL_threadsafe: - case LITERAL_synchronized: - case LITERAL_volatile: - case LITERAL_class: - case LCURLY: - case RCURLY: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case LITERAL_if: - case LITERAL_else: - case LITERAL_for: - case LITERAL_while: - case LITERAL_do: - case LITERAL_break: - case LITERAL_continue: - case LITERAL_return: - case LITERAL_switch: - case LITERAL_throw: - case LITERAL_assert: - case LITERAL_case: - case LITERAL_default: - case LITERAL_try: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - tryBlock_AST = (AST)currentAST.root; - returnAST = tryBlock_AST; - } - - public final void aCase() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST aCase_AST = null; - - { - switch ( LA(1)) { - case LITERAL_case: - { - AST tmp114_AST = null; - tmp114_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp114_AST); - match(LITERAL_case); - expression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case LITERAL_default: - { - AST tmp115_AST = null; - tmp115_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp115_AST); - match(LITERAL_default); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(COLON); - aCase_AST = (AST)currentAST.root; - returnAST = aCase_AST; - } - - public final void caseSList() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST caseSList_AST = null; - - { - _loop104: - do { - if ((_tokenSet_10.member(LA(1)))) { - statement(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop104; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - caseSList_AST = (AST)currentAST.root; - caseSList_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(SLIST,"SLIST")).add(caseSList_AST)); - currentAST.root = caseSList_AST; - currentAST.child = caseSList_AST!=null &&caseSList_AST.getFirstChild()!=null ? - caseSList_AST.getFirstChild() : caseSList_AST; - currentAST.advanceChildToEnd(); - } - caseSList_AST = (AST)currentAST.root; - returnAST = caseSList_AST; - } - - public final void expressionList() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST expressionList_AST = null; - - expression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop122: - do { - if ((LA(1)==COMMA)) { - match(COMMA); - expression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop122; - } - - } while (true); - } - if ( inputState.guessing==0 ) { - expressionList_AST = (AST)currentAST.root; - expressionList_AST = (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(ELIST,"ELIST")).add(expressionList_AST)); - currentAST.root = expressionList_AST; - currentAST.child = expressionList_AST!=null &&expressionList_AST.getFirstChild()!=null ? - expressionList_AST.getFirstChild() : expressionList_AST; - currentAST.advanceChildToEnd(); - } - expressionList_AST = (AST)currentAST.root; - returnAST = expressionList_AST; - } - - public final void handler() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST handler_AST = null; - - AST tmp118_AST = null; - tmp118_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp118_AST); - match(LITERAL_catch); - match(LPAREN); - parameterDeclaration(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - compoundStatement(); - astFactory.addASTChild(currentAST, returnAST); - handler_AST = (AST)currentAST.root; - returnAST = handler_AST; - } - - public final void finallyClause() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST finallyClause_AST = null; - - AST tmp121_AST = null; - tmp121_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp121_AST); - match(LITERAL_finally); - compoundStatement(); - astFactory.addASTChild(currentAST, returnAST); - finallyClause_AST = (AST)currentAST.root; - returnAST = finallyClause_AST; - } - - public final void assignmentExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST assignmentExpression_AST = null; - - conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case ASSIGN: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - { - { - switch ( LA(1)) { - case ASSIGN: - { - AST tmp122_AST = null; - tmp122_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp122_AST); - match(ASSIGN); - break; - } - case PLUS_ASSIGN: - { - AST tmp123_AST = null; - tmp123_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp123_AST); - match(PLUS_ASSIGN); - break; - } - case MINUS_ASSIGN: - { - AST tmp124_AST = null; - tmp124_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp124_AST); - match(MINUS_ASSIGN); - break; - } - case STAR_ASSIGN: - { - AST tmp125_AST = null; - tmp125_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp125_AST); - match(STAR_ASSIGN); - break; - } - case DIV_ASSIGN: - { - AST tmp126_AST = null; - tmp126_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp126_AST); - match(DIV_ASSIGN); - break; - } - case MOD_ASSIGN: - { - AST tmp127_AST = null; - tmp127_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp127_AST); - match(MOD_ASSIGN); - break; - } - case SR_ASSIGN: - { - AST tmp128_AST = null; - tmp128_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp128_AST); - match(SR_ASSIGN); - break; - } - case BSR_ASSIGN: - { - AST tmp129_AST = null; - tmp129_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp129_AST); - match(BSR_ASSIGN); - break; - } - case SL_ASSIGN: - { - AST tmp130_AST = null; - tmp130_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp130_AST); - match(SL_ASSIGN); - break; - } - case BAND_ASSIGN: - { - AST tmp131_AST = null; - tmp131_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp131_AST); - match(BAND_ASSIGN); - break; - } - case BXOR_ASSIGN: - { - AST tmp132_AST = null; - tmp132_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp132_AST); - match(BXOR_ASSIGN); - break; - } - case BOR_ASSIGN: - { - AST tmp133_AST = null; - tmp133_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp133_AST); - match(BOR_ASSIGN); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - assignmentExpression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - case RBRACK: - case RCURLY: - case COMMA: - case RPAREN: - case COLON: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - assignmentExpression_AST = (AST)currentAST.root; - returnAST = assignmentExpression_AST; - } - - public final void conditionalExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST conditionalExpression_AST = null; - - logicalOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case QUESTION: - { - AST tmp134_AST = null; - tmp134_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp134_AST); - match(QUESTION); - assignmentExpression(); - astFactory.addASTChild(currentAST, returnAST); - match(COLON); - conditionalExpression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - case RBRACK: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - conditionalExpression_AST = (AST)currentAST.root; - returnAST = conditionalExpression_AST; - } - - public final void logicalOrExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST logicalOrExpression_AST = null; - - logicalAndExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop130: - do { - if ((LA(1)==LOR)) { - AST tmp136_AST = null; - tmp136_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp136_AST); - match(LOR); - logicalAndExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop130; - } - - } while (true); - } - logicalOrExpression_AST = (AST)currentAST.root; - returnAST = logicalOrExpression_AST; - } - - public final void logicalAndExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST logicalAndExpression_AST = null; - - inclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop133: - do { - if ((LA(1)==LAND)) { - AST tmp137_AST = null; - tmp137_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp137_AST); - match(LAND); - inclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop133; - } - - } while (true); - } - logicalAndExpression_AST = (AST)currentAST.root; - returnAST = logicalAndExpression_AST; - } - - public final void inclusiveOrExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST inclusiveOrExpression_AST = null; - - exclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop136: - do { - if ((LA(1)==BOR)) { - AST tmp138_AST = null; - tmp138_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp138_AST); - match(BOR); - exclusiveOrExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop136; - } - - } while (true); - } - inclusiveOrExpression_AST = (AST)currentAST.root; - returnAST = inclusiveOrExpression_AST; - } - - public final void exclusiveOrExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST exclusiveOrExpression_AST = null; - - andExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop139: - do { - if ((LA(1)==BXOR)) { - AST tmp139_AST = null; - tmp139_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp139_AST); - match(BXOR); - andExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop139; - } - - } while (true); - } - exclusiveOrExpression_AST = (AST)currentAST.root; - returnAST = exclusiveOrExpression_AST; - } - - public final void andExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST andExpression_AST = null; - - equalityExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop142: - do { - if ((LA(1)==BAND)) { - AST tmp140_AST = null; - tmp140_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp140_AST); - match(BAND); - equalityExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop142; - } - - } while (true); - } - andExpression_AST = (AST)currentAST.root; - returnAST = andExpression_AST; - } - - public final void equalityExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST equalityExpression_AST = null; - - relationalExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop146: - do { - if ((LA(1)==NOT_EQUAL||LA(1)==EQUAL)) { - { - switch ( LA(1)) { - case NOT_EQUAL: - { - AST tmp141_AST = null; - tmp141_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp141_AST); - match(NOT_EQUAL); - break; - } - case EQUAL: - { - AST tmp142_AST = null; - tmp142_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp142_AST); - match(EQUAL); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - relationalExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop146; - } - - } while (true); - } - equalityExpression_AST = (AST)currentAST.root; - returnAST = equalityExpression_AST; - } - - public final void relationalExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST relationalExpression_AST = null; - - shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case SEMI: - case RBRACK: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - { - { - _loop151: - do { - if (((LA(1) >= LT && LA(1) <= GE))) { - { - switch ( LA(1)) { - case LT: - { - AST tmp143_AST = null; - tmp143_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp143_AST); - match(LT); - break; - } - case GT: - { - AST tmp144_AST = null; - tmp144_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp144_AST); - match(GT); - break; - } - case LE: - { - AST tmp145_AST = null; - tmp145_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp145_AST); - match(LE); - break; - } - case GE: - { - AST tmp146_AST = null; - tmp146_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp146_AST); - match(GE); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - shiftExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop151; - } - - } while (true); - } - break; - } - case LITERAL_instanceof: - { - AST tmp147_AST = null; - tmp147_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp147_AST); - match(LITERAL_instanceof); - typeSpec(true); - astFactory.addASTChild(currentAST, returnAST); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - relationalExpression_AST = (AST)currentAST.root; - returnAST = relationalExpression_AST; - } - - public final void shiftExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST shiftExpression_AST = null; - - additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop155: - do { - if (((LA(1) >= SL && LA(1) <= BSR))) { - { - switch ( LA(1)) { - case SL: - { - AST tmp148_AST = null; - tmp148_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp148_AST); - match(SL); - break; - } - case SR: - { - AST tmp149_AST = null; - tmp149_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp149_AST); - match(SR); - break; - } - case BSR: - { - AST tmp150_AST = null; - tmp150_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp150_AST); - match(BSR); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - additiveExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop155; - } - - } while (true); - } - shiftExpression_AST = (AST)currentAST.root; - returnAST = shiftExpression_AST; - } - - public final void additiveExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST additiveExpression_AST = null; - - multiplicativeExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop159: - do { - if ((LA(1)==PLUS||LA(1)==MINUS)) { - { - switch ( LA(1)) { - case PLUS: - { - AST tmp151_AST = null; - tmp151_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp151_AST); - match(PLUS); - break; - } - case MINUS: - { - AST tmp152_AST = null; - tmp152_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp152_AST); - match(MINUS); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - multiplicativeExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop159; - } - - } while (true); - } - additiveExpression_AST = (AST)currentAST.root; - returnAST = additiveExpression_AST; - } - - public final void multiplicativeExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST multiplicativeExpression_AST = null; - - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop163: - do { - if ((_tokenSet_22.member(LA(1)))) { - { - switch ( LA(1)) { - case STAR: - { - AST tmp153_AST = null; - tmp153_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp153_AST); - match(STAR); - break; - } - case DIV: - { - AST tmp154_AST = null; - tmp154_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp154_AST); - match(DIV); - break; - } - case MOD: - { - AST tmp155_AST = null; - tmp155_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp155_AST); - match(MOD); - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - break _loop163; - } - - } while (true); - } - multiplicativeExpression_AST = (AST)currentAST.root; - returnAST = multiplicativeExpression_AST; - } - - public final void unaryExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST unaryExpression_AST = null; - - switch ( LA(1)) { - case INC: - { - AST tmp156_AST = null; - tmp156_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp156_AST); - match(INC); - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - case DEC: - { - AST tmp157_AST = null; - tmp157_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp157_AST); - match(DEC); - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - case MINUS: - { - AST tmp158_AST = null; - tmp158_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp158_AST); - match(MINUS); - if ( inputState.guessing==0 ) { - tmp158_AST.setType(UNARY_MINUS); - } - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - case PLUS: - { - AST tmp159_AST = null; - tmp159_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp159_AST); - match(PLUS); - if ( inputState.guessing==0 ) { - tmp159_AST.setType(UNARY_PLUS); - } - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - unaryExpressionNotPlusMinus(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpression_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = unaryExpression_AST; - } - - public final void unaryExpressionNotPlusMinus() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST unaryExpressionNotPlusMinus_AST = null; - Token lpb = null; - AST lpb_AST = null; - Token lp = null; - AST lp_AST = null; - - switch ( LA(1)) { - case BNOT: - { - AST tmp160_AST = null; - tmp160_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp160_AST); - match(BNOT); - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - break; - } - case LNOT: - { - AST tmp161_AST = null; - tmp161_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp161_AST); - match(LNOT); - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - { - if ((LA(1)==LPAREN) && ((LA(2) >= LITERAL_void && LA(2) <= LITERAL_double))) { - lpb = LT(1); - lpb_AST = astFactory.create(lpb); - astFactory.makeASTRoot(currentAST, lpb_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lpb_AST.setType(TYPECAST); - } - builtInTypeSpec(true); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - unaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - boolean synPredMatched168 = false; - if (((LA(1)==LPAREN) && (LA(2)==IDENT))) { - int _m168 = mark(); - synPredMatched168 = true; - inputState.guessing++; - try { - { - match(LPAREN); - classTypeSpec(true); - match(RPAREN); - unaryExpressionNotPlusMinus(); - } - } - catch (RecognitionException pe) { - synPredMatched168 = false; - } - rewind(_m168); -inputState.guessing--; - } - if ( synPredMatched168 ) { - lp = LT(1); - lp_AST = astFactory.create(lp); - astFactory.makeASTRoot(currentAST, lp_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lp_AST.setType(TYPECAST); - } - classTypeSpec(true); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - unaryExpressionNotPlusMinus(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((_tokenSet_23.member(LA(1))) && (_tokenSet_24.member(LA(2)))) { - postfixExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - unaryExpressionNotPlusMinus_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = unaryExpressionNotPlusMinus_AST; - } - - public final void postfixExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST postfixExpression_AST = null; - Token lp = null; - AST lp_AST = null; - Token lp3 = null; - AST lp3_AST = null; - Token lps = null; - AST lps_AST = null; - Token lb = null; - AST lb_AST = null; - Token in = null; - AST in_AST = null; - Token de = null; - AST de_AST = null; - - primaryExpression(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop174: - do { - if ((LA(1)==DOT) && (LA(2)==IDENT)) { - AST tmp164_AST = null; - tmp164_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp164_AST); - match(DOT); - AST tmp165_AST = null; - tmp165_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp165_AST); - match(IDENT); - { - switch ( LA(1)) { - case LPAREN: - { - lp = LT(1); - lp_AST = astFactory.create(lp); - astFactory.makeASTRoot(currentAST, lp_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lp_AST.setType(METHOD_CALL); - } - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - break; - } - case SEMI: - case LBRACK: - case RBRACK: - case DOT: - case STAR: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - case LITERAL_instanceof: - case SL: - case SR: - case BSR: - case PLUS: - case MINUS: - case DIV: - case MOD: - case INC: - case DEC: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else if ((LA(1)==DOT) && (LA(2)==LITERAL_this)) { - AST tmp167_AST = null; - tmp167_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp167_AST); - match(DOT); - AST tmp168_AST = null; - tmp168_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp168_AST); - match(LITERAL_this); - } - else if ((LA(1)==DOT) && (LA(2)==LITERAL_super)) { - AST tmp169_AST = null; - tmp169_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp169_AST); - match(DOT); - AST tmp170_AST = null; - tmp170_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp170_AST); - match(LITERAL_super); - { - switch ( LA(1)) { - case LPAREN: - { - lp3 = LT(1); - lp3_AST = astFactory.create(lp3); - astFactory.makeASTRoot(currentAST, lp3_AST); - match(LPAREN); - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - if ( inputState.guessing==0 ) { - lp3_AST.setType(SUPER_CTOR_CALL); - } - break; - } - case DOT: - { - AST tmp172_AST = null; - tmp172_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp172_AST); - match(DOT); - AST tmp173_AST = null; - tmp173_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp173_AST); - match(IDENT); - { - switch ( LA(1)) { - case LPAREN: - { - lps = LT(1); - lps_AST = astFactory.create(lps); - astFactory.makeASTRoot(currentAST, lps_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lps_AST.setType(METHOD_CALL); - } - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - break; - } - case SEMI: - case LBRACK: - case RBRACK: - case DOT: - case STAR: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - case LITERAL_instanceof: - case SL: - case SR: - case BSR: - case PLUS: - case MINUS: - case DIV: - case MOD: - case INC: - case DEC: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - } - else if ((LA(1)==DOT) && (LA(2)==LITERAL_new)) { - AST tmp175_AST = null; - tmp175_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp175_AST); - match(DOT); - newExpression(); - astFactory.addASTChild(currentAST, returnAST); - } - else if ((LA(1)==LBRACK)) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(INDEX_OP); - } - expression(); - astFactory.addASTChild(currentAST, returnAST); - match(RBRACK); - } - else { - break _loop174; - } - - } while (true); - } - { - switch ( LA(1)) { - case INC: - { - in = LT(1); - in_AST = astFactory.create(in); - astFactory.makeASTRoot(currentAST, in_AST); - match(INC); - if ( inputState.guessing==0 ) { - in_AST.setType(POST_INC); - } - break; - } - case DEC: - { - de = LT(1); - de_AST = astFactory.create(de); - astFactory.makeASTRoot(currentAST, de_AST); - match(DEC); - if ( inputState.guessing==0 ) { - de_AST.setType(POST_DEC); - } - break; - } - case SEMI: - case RBRACK: - case STAR: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - case LITERAL_instanceof: - case SL: - case SR: - case BSR: - case PLUS: - case MINUS: - case DIV: - case MOD: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - postfixExpression_AST = (AST)currentAST.root; - returnAST = postfixExpression_AST; - } - - public final void primaryExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST primaryExpression_AST = null; - Token lbt = null; - AST lbt_AST = null; - - switch ( LA(1)) { - case IDENT: - { - identPrimary(); - astFactory.addASTChild(currentAST, returnAST); - { - if ((LA(1)==DOT) && (LA(2)==LITERAL_class)) { - AST tmp177_AST = null; - tmp177_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp177_AST); - match(DOT); - AST tmp178_AST = null; - tmp178_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp178_AST); - match(LITERAL_class); - } - else if ((_tokenSet_25.member(LA(1))) && (_tokenSet_26.member(LA(2)))) { - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - primaryExpression_AST = (AST)currentAST.root; - break; - } - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - constant(); - astFactory.addASTChild(currentAST, returnAST); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_true: - { - AST tmp179_AST = null; - tmp179_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp179_AST); - match(LITERAL_true); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_false: - { - AST tmp180_AST = null; - tmp180_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp180_AST); - match(LITERAL_false); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_null: - { - AST tmp181_AST = null; - tmp181_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp181_AST); - match(LITERAL_null); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_new: - { - newExpression(); - astFactory.addASTChild(currentAST, returnAST); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_this: - { - AST tmp182_AST = null; - tmp182_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp182_AST); - match(LITERAL_this); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_super: - { - AST tmp183_AST = null; - tmp183_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp183_AST); - match(LITERAL_super); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LPAREN: - { - match(LPAREN); - assignmentExpression(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - primaryExpression_AST = (AST)currentAST.root; - break; - } - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - { - builtInType(); - astFactory.addASTChild(currentAST, returnAST); - { - _loop179: - do { - if ((LA(1)==LBRACK)) { - lbt = LT(1); - lbt_AST = astFactory.create(lbt); - astFactory.makeASTRoot(currentAST, lbt_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lbt_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - break _loop179; - } - - } while (true); - } - AST tmp187_AST = null; - tmp187_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp187_AST); - match(DOT); - AST tmp188_AST = null; - tmp188_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp188_AST); - match(LITERAL_class); - primaryExpression_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = primaryExpression_AST; - } - -/** 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 - * - */ - public final void newExpression() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST newExpression_AST = null; - - AST tmp189_AST = null; - tmp189_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp189_AST); - match(LITERAL_new); - type(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case LPAREN: - { - match(LPAREN); - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - { - switch ( LA(1)) { - case LCURLY: - { - classBlock(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - case LBRACK: - case RBRACK: - case DOT: - case STAR: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - case LITERAL_instanceof: - case SL: - case SR: - case BSR: - case PLUS: - case MINUS: - case DIV: - case MOD: - case INC: - case DEC: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - break; - } - case LBRACK: - { - newArrayDeclarator(); - astFactory.addASTChild(currentAST, returnAST); - { - switch ( LA(1)) { - case LCURLY: - { - arrayInitializer(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case SEMI: - case LBRACK: - case RBRACK: - case DOT: - case STAR: - case RCURLY: - case COMMA: - case RPAREN: - case ASSIGN: - case COLON: - case PLUS_ASSIGN: - case MINUS_ASSIGN: - case STAR_ASSIGN: - case DIV_ASSIGN: - case MOD_ASSIGN: - case SR_ASSIGN: - case BSR_ASSIGN: - case SL_ASSIGN: - case BAND_ASSIGN: - case BXOR_ASSIGN: - case BOR_ASSIGN: - case QUESTION: - case LOR: - case LAND: - case BOR: - case BXOR: - case BAND: - case NOT_EQUAL: - case EQUAL: - case LT: - case GT: - case LE: - case GE: - case LITERAL_instanceof: - case SL: - case SR: - case BSR: - case PLUS: - case MINUS: - case DIV: - case MOD: - case INC: - case DEC: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - newExpression_AST = (AST)currentAST.root; - returnAST = newExpression_AST; - } - -/** 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. - */ - public final void identPrimary() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST identPrimary_AST = null; - Token lp = null; - AST lp_AST = null; - Token lbc = null; - AST lbc_AST = null; - - AST tmp192_AST = null; - tmp192_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp192_AST); - match(IDENT); - { - _loop182: - do { - if ((LA(1)==DOT) && (LA(2)==IDENT)) { - AST tmp193_AST = null; - tmp193_AST = astFactory.create(LT(1)); - astFactory.makeASTRoot(currentAST, tmp193_AST); - match(DOT); - AST tmp194_AST = null; - tmp194_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp194_AST); - match(IDENT); - } - else { - break _loop182; - } - - } while (true); - } - { - if ((LA(1)==LPAREN)) { - { - lp = LT(1); - lp_AST = astFactory.create(lp); - astFactory.makeASTRoot(currentAST, lp_AST); - match(LPAREN); - if ( inputState.guessing==0 ) { - lp_AST.setType(METHOD_CALL); - } - argList(); - astFactory.addASTChild(currentAST, returnAST); - match(RPAREN); - } - } - else if ((LA(1)==LBRACK) && (LA(2)==RBRACK)) { - { - int _cnt186=0; - _loop186: - do { - if ((LA(1)==LBRACK) && (LA(2)==RBRACK)) { - lbc = LT(1); - lbc_AST = astFactory.create(lbc); - astFactory.makeASTRoot(currentAST, lbc_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lbc_AST.setType(ARRAY_DECLARATOR); - } - match(RBRACK); - } - else { - if ( _cnt186>=1 ) { break _loop186; } else {throw new NoViableAltException(LT(1), getFilename());} - } - - _cnt186++; - } while (true); - } - } - else if ((_tokenSet_25.member(LA(1))) && (_tokenSet_26.member(LA(2)))) { - } - else { - throw new NoViableAltException(LT(1), getFilename()); - } - - } - identPrimary_AST = (AST)currentAST.root; - returnAST = identPrimary_AST; - } - - public final void constant() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST constant_AST = null; - - switch ( LA(1)) { - case NUM_INT: - { - AST tmp197_AST = null; - tmp197_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp197_AST); - match(NUM_INT); - constant_AST = (AST)currentAST.root; - break; - } - case CHAR_LITERAL: - { - AST tmp198_AST = null; - tmp198_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp198_AST); - match(CHAR_LITERAL); - constant_AST = (AST)currentAST.root; - break; - } - case STRING_LITERAL: - { - AST tmp199_AST = null; - tmp199_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp199_AST); - match(STRING_LITERAL); - constant_AST = (AST)currentAST.root; - break; - } - case NUM_FLOAT: - { - AST tmp200_AST = null; - tmp200_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp200_AST); - match(NUM_FLOAT); - constant_AST = (AST)currentAST.root; - break; - } - case NUM_LONG: - { - AST tmp201_AST = null; - tmp201_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp201_AST); - match(NUM_LONG); - constant_AST = (AST)currentAST.root; - break; - } - case NUM_DOUBLE: - { - AST tmp202_AST = null; - tmp202_AST = astFactory.create(LT(1)); - astFactory.addASTChild(currentAST, tmp202_AST); - match(NUM_DOUBLE); - constant_AST = (AST)currentAST.root; - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - returnAST = constant_AST; - } - - public final void newArrayDeclarator() throws RecognitionException, TokenStreamException { - - returnAST = null; - ASTPair currentAST = new ASTPair(); - AST newArrayDeclarator_AST = null; - Token lb = null; - AST lb_AST = null; - - { - int _cnt196=0; - _loop196: - do { - if ((LA(1)==LBRACK) && (_tokenSet_27.member(LA(2)))) { - lb = LT(1); - lb_AST = astFactory.create(lb); - astFactory.makeASTRoot(currentAST, lb_AST); - match(LBRACK); - if ( inputState.guessing==0 ) { - lb_AST.setType(ARRAY_DECLARATOR); - } - { - switch ( LA(1)) { - case LITERAL_void: - case LITERAL_boolean: - case LITERAL_byte: - case LITERAL_char: - case LITERAL_short: - case LITERAL_int: - case LITERAL_float: - case LITERAL_long: - case LITERAL_double: - case IDENT: - case LPAREN: - case LITERAL_this: - case LITERAL_super: - case PLUS: - case MINUS: - case INC: - case DEC: - case BNOT: - case LNOT: - case LITERAL_true: - case LITERAL_false: - case LITERAL_null: - case LITERAL_new: - case NUM_INT: - case CHAR_LITERAL: - case STRING_LITERAL: - case NUM_FLOAT: - case NUM_LONG: - case NUM_DOUBLE: - { - expression(); - astFactory.addASTChild(currentAST, returnAST); - break; - } - case RBRACK: - { - break; - } - default: - { - throw new NoViableAltException(LT(1), getFilename()); - } - } - } - match(RBRACK); - } - else { - if ( _cnt196>=1 ) { break _loop196; } else {throw new NoViableAltException(LT(1), getFilename());} - } - - _cnt196++; - } while (true); - } - newArrayDeclarator_AST = (AST)currentAST.root; - returnAST = newArrayDeclarator_AST; - } - - - public static final String[] _tokenNames = { - "<0>", - "EOF", - "<2>", - "NULL_TREE_LOOKAHEAD", - "BLOCK", - "MODIFIERS", - "OBJBLOCK", - "SLIST", - "CTOR_DEF", - "METHOD_DEF", - "VARIABLE_DEF", - "INSTANCE_INIT", - "STATIC_INIT", - "TYPE", - "CLASS_DEF", - "INTERFACE_DEF", - "PACKAGE_DEF", - "ARRAY_DECLARATOR", - "EXTENDS_CLAUSE", - "IMPLEMENTS_CLAUSE", - "PARAMETERS", - "PARAMETER_DEF", - "LABELED_STAT", - "TYPECAST", - "INDEX_OP", - "POST_INC", - "POST_DEC", - "METHOD_CALL", - "EXPR", - "ARRAY_INIT", - "IMPORT", - "UNARY_MINUS", - "UNARY_PLUS", - "CASE_GROUP", - "ELIST", - "FOR_INIT", - "FOR_CONDITION", - "FOR_ITERATOR", - "EMPTY_STAT", - "\"final\"", - "\"abstract\"", - "\"strictfp\"", - "SUPER_CTOR_CALL", - "CTOR_CALL", - "\"package\"", - "SEMI", - "\"import\"", - "LBRACK", - "RBRACK", - "\"void\"", - "\"boolean\"", - "\"byte\"", - "\"char\"", - "\"short\"", - "\"int\"", - "\"float\"", - "\"long\"", - "\"double\"", - "IDENT", - "DOT", - "STAR", - "\"private\"", - "\"public\"", - "\"protected\"", - "\"static\"", - "\"transient\"", - "\"native\"", - "\"threadsafe\"", - "\"synchronized\"", - "\"volatile\"", - "\"class\"", - "\"extends\"", - "\"interface\"", - "LCURLY", - "RCURLY", - "COMMA", - "\"implements\"", - "LPAREN", - "RPAREN", - "\"this\"", - "\"super\"", - "ASSIGN", - "\"throws\"", - "COLON", - "\"if\"", - "\"else\"", - "\"for\"", - "\"while\"", - "\"do\"", - "\"break\"", - "\"continue\"", - "\"return\"", - "\"switch\"", - "\"throw\"", - "\"assert\"", - "\"case\"", - "\"default\"", - "\"try\"", - "\"finally\"", - "\"catch\"", - "PLUS_ASSIGN", - "MINUS_ASSIGN", - "STAR_ASSIGN", - "DIV_ASSIGN", - "MOD_ASSIGN", - "SR_ASSIGN", - "BSR_ASSIGN", - "SL_ASSIGN", - "BAND_ASSIGN", - "BXOR_ASSIGN", - "BOR_ASSIGN", - "QUESTION", - "LOR", - "LAND", - "BOR", - "BXOR", - "BAND", - "NOT_EQUAL", - "EQUAL", - "LT", - "GT", - "LE", - "GE", - "\"instanceof\"", - "SL", - "SR", - "BSR", - "PLUS", - "MINUS", - "DIV", - "MOD", - "INC", - "DEC", - "BNOT", - "LNOT", - "\"true\"", - "\"false\"", - "\"null\"", - "\"new\"", - "NUM_INT", - "CHAR_LITERAL", - "STRING_LITERAL", - "NUM_FLOAT", - "NUM_LONG", - "NUM_DOUBLE", - "WS", - "SL_COMMENT", - "ML_COMMENT", - "ESC", - "HEX_DIGIT", - "VOCAB", - "EXPONENT", - "FLOAT_SUFFIX" - }; - - protected void buildTokenTypeASTClassMap() { - tokenTypeToASTClassMap=null; - }; - - private static final long[] mk_tokenSet_0() { - long[] data = { -2305803976550907904L, 383L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); - private static final long[] mk_tokenSet_1() { - long[] data = { -2305733607806730238L, 383L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); - private static final long[] mk_tokenSet_2() { - long[] data = { -2305803976550907902L, 383L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2()); - private static final long[] mk_tokenSet_3() { - long[] data = { -2305839160922996736L, 63L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3()); - private static final long[] mk_tokenSet_4() { - long[] data = { -1729941358572994560L, 383L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4()); - private static final long[] mk_tokenSet_5() { - long[] data = { -1153339868781215744L, 8575L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_5 = new BitSet(mk_tokenSet_5()); - private static final long[] mk_tokenSet_6() { - long[] data = { 864831865943490560L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_6 = new BitSet(mk_tokenSet_6()); - private static final long[] mk_tokenSet_7() { - long[] data = { 175921860444160L, 133120L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_7 = new BitSet(mk_tokenSet_7()); - private static final long[] mk_tokenSet_8() { - long[] data = { -1729906174200905728L, -9223372026120395137L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_8 = new BitSet(mk_tokenSet_8()); - private static final long[] mk_tokenSet_9() { - long[] data = { -383179802279936L, -57984440449L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_9 = new BitSet(mk_tokenSet_9()); - private static final long[] mk_tokenSet_10() { - long[] data = { -1729906174200905728L, -9223372026120396161L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_10 = new BitSet(mk_tokenSet_10()); - private static final long[] mk_tokenSet_11() { - long[] data = { -1729906174200905728L, -9223372019675847041L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_11 = new BitSet(mk_tokenSet_11()); - private static final long[] mk_tokenSet_12() { - long[] data = { -383179802279936L, -284801L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_12 = new BitSet(mk_tokenSet_12()); - private static final long[] mk_tokenSet_13() { - long[] data = { -1729941358572994560L, 63L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_13 = new BitSet(mk_tokenSet_13()); - private static final long[] mk_tokenSet_14() { - long[] data = { -1153339868781215744L, 63L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_14 = new BitSet(mk_tokenSet_14()); - private static final long[] mk_tokenSet_15() { - long[] data = { 575897802350002176L, -9223372036854669312L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_15 = new BitSet(mk_tokenSet_15()); - private static final long[] mk_tokenSet_16() { - long[] data = { 2305455981120716800L, -68719239168L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_16 = new BitSet(mk_tokenSet_16()); - private static final long[] mk_tokenSet_17() { - long[] data = { -2305839160922996736L, 127L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_17 = new BitSet(mk_tokenSet_17()); - private static final long[] mk_tokenSet_18() { - long[] data = { -2017608784771284992L, 127L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_18 = new BitSet(mk_tokenSet_18()); - private static final long[] mk_tokenSet_19() { - long[] data = { 575897802350002176L, -9223372036854668800L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_19 = new BitSet(mk_tokenSet_19()); - private static final long[] mk_tokenSet_20() { - long[] data = { 2305455981120716800L, -68719237120L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_20 = new BitSet(mk_tokenSet_20()); - private static final long[] mk_tokenSet_21() { - long[] data = { 575897802350002176L, -9223372036854145024L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_21 = new BitSet(mk_tokenSet_21()); - private static final long[] mk_tokenSet_22() { - long[] data = { 1152921504606846976L, 0L, 6L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_22 = new BitSet(mk_tokenSet_22()); - private static final long[] mk_tokenSet_23() { - long[] data = { 575897802350002176L, 106496L, 130944L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_23 = new BitSet(mk_tokenSet_23()); - private static final long[] mk_tokenSet_24() { - long[] data = { 2305737456097427456L, -68718695424L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_24 = new BitSet(mk_tokenSet_24()); - private static final long[] mk_tokenSet_25() { - long[] data = { 1729839653747425280L, -68718801920L, 31L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_25 = new BitSet(mk_tokenSet_25()); - private static final long[] mk_tokenSet_26() { - long[] data = { -101704825569280L, -51539873921L, 131071L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_26 = new BitSet(mk_tokenSet_26()); - private static final long[] mk_tokenSet_27() { - long[] data = { 576179277326712832L, -9223372036854669312L, 131065L, 0L, 0L, 0L}; - return data; - } - public static final BitSet _tokenSet_27 = new BitSet(mk_tokenSet_27()); - - } diff --git a/app/src/antlr/java/JavaRecognizer.smap b/app/src/antlr/java/JavaRecognizer.smap deleted file mode 100644 index e3a09804e..000000000 --- a/app/src/antlr/java/JavaRecognizer.smap +++ /dev/null @@ -1,3442 +0,0 @@ -SMAP -JavaRecognizer.java -G -*S G -*F -+ 0 java.g -java.g -*L -1:3 -137:165 -137:167 -137:168 -137:169 -137:233 -137:234 -139:172 -139:173 -139:174 -139:175 -139:176 -139:199 -139:200 -139:201 -139:202 -139:203 -144:205 -144:206 -144:207 -144:208 -144:209 -144:210 -144:211 -144:212 -144:213 -144:214 -144:216 -144:217 -148:218 -148:219 -148:220 -148:221 -148:222 -148:223 -148:224 -148:225 -148:226 -148:227 -148:229 -148:230 -150:231 -152:232 -155:236 -155:238 -155:239 -155:240 -155:244 -155:256 -155:257 -155:258 -155:259 -155:260 -155:261 -155:262 -155:263 -155:264 -155:265 -155:266 -157:241 -157:242 -157:245 -157:246 -157:247 -157:248 -157:249 -157:250 -157:252 -157:253 -157:254 -159:255 -162:268 -162:270 -162:271 -162:272 -162:276 -162:288 -162:289 -162:290 -162:291 -162:292 -162:293 -162:294 -162:295 -162:296 -162:297 -162:298 -164:273 -164:274 -164:277 -164:278 -164:279 -164:280 -164:281 -164:282 -164:284 -164:285 -164:286 -166:287 -168:300 -168:302 -168:303 -168:304 -168:307 -168:308 -168:355 -168:356 -168:357 -168:358 -168:359 -168:360 -168:361 -168:362 -168:363 -168:364 -168:365 -168:366 -168:367 -168:368 -168:369 -168:370 -170:305 -170:309 -170:310 -170:311 -170:312 -170:313 -170:314 -170:315 -170:316 -170:317 -170:318 -170:319 -170:320 -170:321 -170:322 -170:323 -170:324 -170:325 -171:327 -171:328 -171:329 -171:330 -171:331 -171:340 -171:341 -171:342 -171:343 -171:344 -172:334 -172:335 -172:336 -172:337 -172:346 -174:349 -174:350 -174:351 -176:352 -180:554 -180:557 -180:559 -180:560 -180:561 -180:580 -180:581 -181:555 -181:562 -181:563 -181:564 -181:566 -181:567 -181:568 -181:569 -181:570 -181:571 -182:556 -182:572 -182:573 -182:574 -182:575 -182:577 -182:578 -187:583 -187:584 -187:585 -187:587 -187:588 -187:589 -187:591 -187:614 -187:615 -187:616 -187:617 -187:618 -187:619 -187:620 -188:592 -188:593 -188:594 -188:595 -188:596 -189:599 -189:600 -189:601 -189:602 -189:603 -189:604 -189:605 -189:606 -189:607 -189:608 -189:609 -189:610 -189:611 -194:652 -194:653 -194:654 -194:656 -194:657 -194:658 -194:696 -194:697 -195:659 -195:660 -195:662 -195:663 -195:664 -195:665 -195:666 -195:667 -195:668 -195:669 -195:670 -195:671 -195:672 -195:673 -195:675 -195:676 -195:677 -195:678 -195:679 -195:681 -195:682 -196:683 -196:684 -196:690 -196:692 -196:693 -197:686 -197:695 -198:687 -199:688 -205:699 -205:700 -205:701 -205:703 -205:704 -205:705 -205:743 -205:744 -206:706 -206:707 -206:709 -206:710 -206:711 -206:712 -206:713 -206:714 -206:715 -206:716 -206:717 -206:718 -206:719 -206:720 -206:722 -206:723 -206:724 -206:725 -206:726 -206:728 -206:729 -207:730 -207:731 -207:737 -207:739 -207:740 -208:733 -208:742 -209:734 -210:735 -216:842 -216:844 -216:845 -216:846 -216:848 -216:871 -216:872 -216:873 -216:874 -216:875 -216:876 -216:877 -217:849 -217:850 -217:851 -217:852 -217:853 -218:856 -218:857 -218:858 -218:859 -218:860 -218:861 -218:862 -218:863 -218:864 -218:865 -218:866 -218:867 -218:868 -222:746 -222:748 -222:749 -222:750 -222:752 -222:834 -222:835 -222:836 -222:837 -222:838 -222:839 -222:840 -223:753 -223:754 -223:755 -223:756 -223:757 -223:758 -223:759 -224:762 -224:763 -224:764 -224:765 -224:766 -224:767 -224:768 -225:771 -225:772 -225:773 -225:774 -225:775 -225:776 -225:777 -226:780 -226:781 -226:782 -226:783 -226:784 -226:785 -226:786 -227:789 -227:790 -227:791 -227:792 -227:793 -227:794 -227:795 -228:798 -228:799 -228:800 -228:801 -228:802 -228:803 -228:804 -229:807 -229:808 -229:809 -229:810 -229:811 -229:812 -229:813 -230:816 -230:817 -230:818 -230:819 -230:820 -230:821 -230:822 -231:825 -231:826 -231:827 -231:828 -231:829 -231:830 -231:831 -236:372 -236:374 -236:375 -236:376 -236:402 -236:403 -237:378 -237:379 -237:380 -237:381 -237:382 -237:383 -237:384 -237:385 -237:386 -237:387 -237:388 -237:389 -237:390 -237:391 -237:392 -237:393 -237:394 -237:395 -237:396 -237:397 -237:399 -237:400 -237:401 -240:405 -240:407 -240:408 -240:409 -240:459 -240:460 -241:411 -241:412 -241:413 -241:414 -242:415 -242:416 -242:417 -242:418 -242:419 -242:420 -242:421 -242:422 -242:423 -242:424 -242:425 -242:426 -242:427 -242:428 -242:429 -242:430 -242:432 -242:433 -243:435 -243:436 -243:437 -243:438 -243:439 -243:440 -243:441 -243:442 -243:443 -243:444 -243:445 -243:452 -243:453 -243:454 -243:455 -243:456 -244:458 -250:462 -250:464 -250:465 -250:466 -250:490 -250:491 -251:468 -251:469 -251:470 -251:471 -251:472 -251:473 -251:474 -251:475 -251:476 -251:477 -251:479 -251:480 -252:481 -252:482 -252:483 -252:484 -252:486 -252:487 -253:489 -256:879 -256:881 -256:882 -256:883 -256:885 -256:994 -256:995 -256:996 -256:997 -256:998 -256:999 -256:1000 -257:886 -257:887 -257:888 -257:889 -257:890 -257:891 -257:892 -258:895 -258:896 -258:897 -258:898 -258:899 -258:900 -258:901 -259:904 -259:905 -259:906 -259:907 -259:908 -259:909 -259:910 -260:913 -260:914 -260:915 -260:916 -260:917 -260:918 -260:919 -261:922 -261:923 -261:924 -261:925 -261:926 -261:927 -261:928 -262:931 -262:932 -262:933 -262:934 -262:935 -262:936 -262:937 -263:940 -263:941 -263:942 -263:943 -263:944 -263:945 -263:946 -264:949 -264:950 -264:951 -264:952 -264:953 -264:954 -264:955 -265:958 -265:959 -265:960 -265:961 -265:962 -265:963 -265:964 -266:967 -266:968 -266:969 -266:970 -266:971 -266:972 -266:973 -268:976 -268:977 -268:978 -268:979 -268:980 -268:981 -268:982 -269:985 -269:986 -269:987 -269:988 -269:989 -269:990 -269:991 -273:493 -273:494 -273:495 -273:497 -273:498 -273:499 -273:522 -273:523 -274:504 -274:505 -274:506 -274:507 -276:500 -276:508 -276:509 -278:501 -278:510 -278:511 -280:502 -280:512 -280:513 -281:514 -281:515 -281:516 -281:517 -281:519 -281:520 -285:1002 -285:1004 -285:1005 -285:1006 -285:1037 -285:1038 -286:1007 -286:1010 -286:1011 -286:1012 -286:1013 -286:1014 -286:1015 -286:1023 -286:1024 -286:1025 -286:1026 -286:1027 -287:1029 -287:1030 -287:1031 -287:1032 -287:1034 -287:1035 -291:525 -291:526 -291:527 -291:529 -291:530 -291:531 -291:551 -291:552 -292:535 -292:536 -292:537 -292:538 -294:532 -294:539 -294:540 -296:533 -296:541 -296:542 -297:543 -297:544 -297:545 -297:546 -297:548 -297:549 -304:1095 -304:1097 -304:1098 -304:1099 -304:1158 -304:1159 -305:1101 -306:1102 -306:1103 -306:1104 -306:1105 -306:1106 -306:1107 -306:1108 -306:1109 -306:1110 -306:1111 -306:1112 -306:1113 -306:1114 -306:1115 -306:1116 -306:1117 -306:1118 -306:1119 -306:1120 -306:1121 -306:1122 -306:1123 -306:1124 -306:1125 -306:1126 -306:1127 -306:1128 -306:1129 -306:1130 -306:1131 -306:1132 -306:1133 -306:1136 -306:1137 -306:1138 -306:1141 -306:1142 -306:1143 -306:1144 -306:1145 -306:1146 -306:1147 -307:1148 -308:1149 -308:1150 -308:1151 -308:1152 -308:1154 -308:1155 -309:1157 -312:1161 -312:1163 -312:1164 -312:1165 -312:1213 -312:1214 -313:1170 -313:1198 -313:1199 -313:1200 -313:1201 -313:1202 -314:1166 -314:1167 -314:1171 -314:1172 -314:1173 -314:1174 -314:1175 -315:1176 -315:1177 -315:1178 -315:1179 -315:1180 -315:1181 -315:1182 -315:1183 -315:1184 -315:1185 -315:1186 -315:1187 -315:1188 -315:1190 -315:1191 -317:1204 -317:1205 -317:1206 -317:1207 -317:1209 -317:1210 -318:1212 -322:1040 -322:1042 -322:1043 -322:1044 -322:1092 -322:1093 -323:1049 -323:1077 -323:1078 -323:1079 -323:1080 -323:1081 -324:1045 -324:1046 -324:1050 -324:1051 -324:1052 -324:1053 -324:1054 -324:1055 -324:1056 -324:1057 -324:1058 -324:1059 -324:1060 -324:1061 -324:1062 -324:1063 -324:1064 -324:1065 -324:1066 -324:1067 -324:1069 -324:1070 -326:1083 -326:1084 -326:1085 -326:1086 -326:1088 -326:1089 -327:1091 -334:1216 -334:1218 -334:1219 -334:1220 -334:1372 -334:1385 -334:1397 -334:1398 -334:1399 -334:1400 -334:1402 -334:1403 -336:1221 -336:1235 -336:1236 -336:1237 -337:1222 -337:1223 -337:1239 -337:1268 -337:1269 -337:1270 -337:1271 -337:1272 -337:1273 -337:1282 -337:1366 -337:1367 -337:1368 -337:1369 -337:1370 -338:1274 -338:1275 -338:1276 -338:1277 -338:1279 -338:1280 -340:1224 -340:1240 -340:1241 -340:1242 -340:1243 -341:1244 -341:1245 -341:1246 -341:1247 -341:1249 -341:1250 -343:1225 -343:1254 -343:1255 -343:1256 -343:1257 -344:1258 -344:1259 -344:1260 -344:1261 -344:1263 -344:1264 -346:1226 -346:1283 -346:1284 -346:1285 -347:1287 -347:1288 -347:1289 -347:1290 -347:1345 -347:1360 -347:1361 -347:1362 -347:1363 -350:1227 -350:1291 -350:1292 -350:1293 -350:1294 -352:1228 -352:1295 -352:1296 -356:1229 -356:1298 -356:1299 -356:1300 -356:1301 -356:1302 -356:1310 -356:1311 -356:1312 -356:1313 -356:1314 -358:1230 -358:1317 -358:1318 -358:1319 -358:1320 -358:1321 -358:1324 -358:1325 -358:1326 -358:1327 -358:1328 -358:1331 -358:1332 -358:1333 -358:1334 -358:1335 -359:1337 -359:1338 -359:1339 -359:1340 -359:1342 -359:1343 -366:1231 -366:1346 -366:1347 -366:1348 -366:1349 -366:1350 -366:1351 -368:1352 -368:1353 -368:1354 -368:1355 -368:1357 -368:1358 -373:1232 -373:1373 -373:1374 -373:1375 -373:1376 -374:1377 -374:1378 -374:1379 -374:1380 -374:1382 -374:1383 -377:1233 -377:1386 -377:1387 -377:1388 -378:1389 -378:1390 -378:1391 -378:1392 -378:1394 -378:1395 -381:1441 -381:1443 -381:1444 -381:1445 -381:1483 -381:1484 -382:1446 -382:1447 -382:1449 -382:1450 -382:1451 -382:1452 -382:1453 -382:1454 -383:1457 -383:1458 -383:1459 -383:1460 -383:1462 -383:1463 -383:1464 -383:1465 -384:1468 -384:1469 -384:1470 -384:1471 -384:1472 -384:1473 -384:1474 -384:1475 -384:1476 -384:1477 -384:1479 -384:1480 -385:1481 -387:1482 -389:1650 -389:1651 -389:1653 -389:1654 -389:1655 -389:1661 -389:1696 -389:1697 -389:1698 -389:1699 -389:1700 -389:1701 -389:1702 -390:1656 -390:1657 -390:1662 -390:1663 -390:1664 -390:1665 -390:1666 -390:1667 -390:1668 -390:1669 -390:1670 -390:1671 -390:1672 -391:1673 -391:1674 -392:1658 -392:1659 -392:1679 -392:1680 -392:1681 -392:1682 -392:1683 -392:1684 -392:1685 -392:1686 -392:1687 -392:1688 -392:1689 -393:1690 -393:1691 -394:1676 -396:622 -396:623 -396:624 -396:626 -396:627 -396:628 -396:649 -396:650 -396:1693 -397:630 -397:631 -397:632 -398:631 -399:633 -399:634 -399:635 -399:636 -399:637 -399:641 -399:642 -399:643 -399:644 -399:646 -399:647 -399:648 -400:638 -400:639 -400:640 -401:639 -409:2146 -409:2150 -409:2151 -409:2152 -409:2154 -409:2155 -409:2156 -409:2177 -409:2178 -410:2147 -410:2157 -410:2158 -410:2159 -410:2160 -410:2162 -410:2163 -410:2164 -410:2165 -410:2166 -410:2167 -410:2168 -411:2148 -411:2169 -411:2170 -411:2171 -411:2172 -411:2174 -411:2175 -412:2149 -414:1546 -414:1547 -414:1548 -414:1550 -414:1551 -414:1552 -414:1584 -414:1585 -415:1556 -415:1557 -415:1558 -415:1559 -415:1561 -415:1562 -416:1553 -416:1554 -416:1564 -416:1565 -416:1566 -416:1567 -416:1568 -416:1569 -416:1570 -416:1571 -416:1572 -416:1573 -416:1575 -416:1576 -416:1577 -416:1578 -416:1579 -416:1581 -416:1582 -416:1583 -419:2180 -419:2182 -419:2183 -419:2184 -419:2210 -419:2211 -420:2187 -420:2188 -420:2189 -420:2190 -420:2191 -420:2192 -420:2193 -420:2194 -420:2195 -420:2203 -420:2204 -420:2205 -420:2206 -420:2207 -421:2209 -424:2270 -424:2272 -424:2273 -424:2274 -424:2365 -424:2366 -425:2275 -425:2276 -425:2278 -425:2279 -425:2280 -425:2281 -425:2282 -425:2283 -426:2286 -426:2287 -426:2288 -426:2289 -426:2290 -426:2291 -426:2292 -426:2293 -426:2294 -426:2295 -426:2296 -426:2297 -426:2298 -426:2299 -426:2300 -426:2301 -426:2302 -426:2303 -426:2304 -426:2305 -426:2306 -426:2307 -426:2308 -426:2309 -426:2310 -426:2311 -426:2312 -426:2313 -426:2314 -426:2315 -426:2316 -426:2317 -426:2318 -426:2319 -426:2357 -426:2358 -426:2359 -426:2360 -426:2361 -427:2320 -427:2321 -427:2322 -427:2327 -427:2328 -427:2329 -427:2330 -427:2332 -427:2333 -436:2323 -436:2324 -436:2325 -436:2326 -438:2335 -438:2336 -438:2337 -438:2338 -438:2345 -438:2346 -438:2347 -438:2348 -438:2349 -440:2363 -442:2364 -446:2213 -446:2215 -446:2216 -446:2217 -446:2219 -446:2262 -446:2263 -446:2264 -446:2265 -446:2266 -446:2267 -446:2268 -447:2220 -447:2221 -447:2222 -447:2223 -447:2224 -447:2225 -447:2226 -447:2227 -447:2228 -447:2229 -447:2230 -447:2231 -447:2232 -447:2233 -447:2234 -447:2235 -447:2236 -447:2237 -447:2238 -447:2239 -447:2240 -447:2241 -447:2242 -447:2243 -447:2244 -447:2245 -447:2246 -447:2247 -447:2248 -447:2249 -447:2250 -447:2251 -447:2252 -448:2255 -448:2256 -448:2257 -448:2258 -448:2259 -454:1405 -454:1407 -454:1408 -454:1409 -454:1438 -454:1439 -455:1411 -455:1412 -455:1413 -455:1414 -458:1415 -458:1416 -458:1417 -458:1418 -461:1420 -461:1421 -461:1422 -461:1423 -461:1424 -461:1431 -461:1432 -461:1433 -461:1434 -461:1435 -462:1437 -465:1587 -465:1589 -465:1590 -465:1591 -465:1614 -465:1615 -466:1593 -466:1594 -466:1595 -466:1596 -466:1597 -466:1598 -466:1599 -466:1600 -466:1601 -466:1602 -466:1603 -466:1604 -466:1605 -466:1606 -466:1607 -466:1608 -466:1609 -466:1611 -466:1612 -466:1613 -471:1486 -471:1488 -471:1489 -471:1490 -471:1543 -471:1544 -472:1493 -472:1494 -472:1495 -472:1496 -472:1497 -472:1498 -472:1499 -472:1500 -472:1501 -472:1502 -472:1503 -472:1504 -472:1505 -472:1506 -472:1507 -472:1508 -472:1509 -472:1510 -472:1511 -472:1512 -472:1513 -472:1514 -472:1515 -472:1516 -472:1517 -472:1518 -472:1520 -472:1521 -472:1528 -472:1529 -472:1530 -472:1531 -472:1532 -473:1534 -473:1535 -473:1536 -473:1537 -473:1539 -473:1540 -474:1542 -478:2388 -478:2390 -478:2391 -478:2392 -478:2416 -478:2417 -479:2393 -479:2394 -479:2395 -479:2396 -479:2399 -479:2400 -479:2401 -479:2402 -479:2403 -479:2404 -479:2405 -480:2397 -480:2406 -480:2407 -481:2408 -481:2409 -481:2410 -481:2411 -481:2413 -481:2414 -485:2419 -485:2421 -485:2422 -485:2423 -485:2465 -485:2466 -486:2424 -486:2425 -486:2428 -486:2429 -486:2430 -486:2431 -486:2432 -486:2433 -486:2434 -486:2450 -486:2451 -486:2452 -486:2453 -486:2454 -487:2456 -487:2457 -487:2458 -487:2459 -487:2461 -487:2462 -488:2464 -499:1617 -499:1619 -499:1620 -499:1621 -499:1647 -499:1648 -500:1622 -500:1623 -500:1625 -500:1626 -500:1627 -500:1628 -500:1629 -500:1630 -502:1632 -502:1633 -502:1634 -502:1635 -502:1636 -502:1637 -502:1638 -502:1639 -502:1640 -502:1641 -502:1643 -502:1644 -503:1645 -505:1646 -507:1704 -507:1706 -507:1707 -507:1708 -507:1715 -507:2010 -507:2032 -507:2038 -507:2045 -507:2061 -507:2074 -507:2075 -507:2076 -507:2077 -507:2078 -507:2079 -507:2080 -509:1716 -509:1717 -509:1718 -509:1719 -509:1720 -515:2011 -515:2012 -515:2013 -515:2014 -515:2015 -515:2016 -515:2018 -515:2020 -515:2021 -515:2022 -515:2023 -515:2024 -515:2025 -515:2026 -515:2027 -515:2028 -515:2029 -515:2030 -517:2031 -520:2033 -520:2034 -520:2035 -520:2036 -522:2037 -523:1709 -523:2039 -523:2040 -523:2041 -523:2042 -523:2043 -523:2044 -526:1710 -526:1711 -526:2046 -526:2047 -526:2048 -526:2049 -526:2050 -526:2051 -526:2052 -526:2053 -526:2054 -526:2055 -526:2056 -526:2058 -526:2059 -526:2060 -529:1723 -529:1724 -529:1725 -529:1726 -529:1727 -529:1728 -529:1729 -529:1730 -529:1731 -529:1732 -529:1733 -529:1734 -530:1740 -530:1742 -530:1743 -530:1744 -530:1745 -531:1748 -538:1736 -538:1737 -538:1738 -538:1739 -542:1751 -542:1752 -542:1753 -542:1754 -542:1755 -542:1756 -543:1757 -544:1758 -544:1759 -544:1760 -545:1761 -545:1762 -545:1763 -546:1764 -546:1765 -547:1766 -548:1767 -548:1768 -548:1769 -551:1772 -551:1773 -551:1774 -551:1775 -551:1776 -551:1777 -551:1778 -551:1779 -551:1780 -551:1781 -551:1782 -551:1783 -551:1784 -554:1787 -554:1788 -554:1789 -554:1790 -554:1791 -554:1792 -554:1793 -554:1794 -554:1795 -554:1796 -554:1797 -554:1798 -554:1799 -554:1800 -556:1801 -557:1804 -557:1805 -557:1806 -557:1807 -557:1808 -557:1809 -557:1811 -557:1812 -557:1813 -557:1814 -557:1815 -557:1816 -557:1817 -557:1824 -557:1825 -557:1826 -557:1827 -557:1828 -557:1830 -559:1831 -560:1834 -560:1835 -560:1836 -560:1837 -560:1838 -560:1839 -560:1841 -560:1842 -560:1843 -560:1844 -560:1845 -560:1846 -560:1847 -560:1854 -560:1855 -560:1856 -560:1857 -560:1858 -560:1860 -562:1861 -563:1864 -563:1865 -563:1866 -563:1867 -563:1868 -563:1869 -563:1871 -563:1872 -563:1873 -563:1874 -563:1875 -563:1876 -563:1877 -563:1878 -563:1879 -563:1880 -563:1881 -563:1882 -563:1883 -563:1884 -563:1885 -563:1886 -563:1887 -563:1888 -563:1889 -563:1890 -563:1891 -563:1892 -563:1893 -563:1894 -563:1895 -563:1896 -563:1897 -563:1898 -563:1899 -563:1900 -563:1901 -563:1902 -563:1903 -563:1910 -563:1911 -563:1912 -563:1913 -563:1914 -563:1916 -565:1917 -566:1920 -566:1921 -566:1922 -566:1923 -566:1924 -566:1925 -566:1926 -566:1927 -566:1928 -566:1929 -566:1930 -567:1931 -567:1932 -567:1933 -567:1934 -567:1935 -567:1936 -567:1937 -567:1938 -567:1939 -567:1940 -567:1942 -567:1943 -568:1944 -570:1945 -571:1948 -571:1949 -571:1950 -571:1951 -571:1952 -574:1955 -574:1956 -574:1957 -574:1958 -574:1959 -574:1960 -574:1961 -574:1962 -574:1963 -576:1964 -577:2062 -577:2063 -577:2064 -577:2065 -577:2066 -577:2067 -577:2068 -577:2069 -577:2070 -577:2071 -577:2072 -577:2073 -580:1967 -580:1968 -580:1969 -580:1970 -580:1971 -580:1972 -580:1973 -580:1974 -580:1976 -580:1977 -580:1978 -580:1979 -580:1980 -580:1981 -580:1988 -580:1989 -580:1990 -580:1991 -580:1992 -580:1994 -582:1995 -583:1712 -583:1713 -583:1998 -583:1999 -583:2000 -583:2001 -583:2002 -583:2003 -583:2004 -583:2005 -586:2007 -586:2646 -586:2648 -586:2649 -586:2650 -586:2678 -586:2679 -587:2653 -587:2654 -587:2655 -587:2659 -587:2660 -587:2661 -587:2662 -587:2664 -587:2665 -587:2666 -595:2656 -595:2657 -595:2658 -597:2667 -597:2668 -598:2669 -598:2670 -598:2671 -598:2672 -598:2674 -598:2675 -599:2677 -601:2786 -601:2788 -601:2789 -601:2790 -601:2820 -601:2821 -602:2793 -602:2794 -602:2795 -602:2796 -602:2797 -602:2798 -602:2799 -602:2800 -602:2801 -602:2804 -602:2805 -602:2806 -602:2807 -602:2808 -602:2809 -602:2812 -602:2813 -602:2814 -602:2815 -602:2816 -602:2818 -604:2819 -605:2823 -605:2825 -605:2826 -605:2827 -605:2851 -605:2852 -606:2829 -606:2830 -606:2831 -606:2832 -606:2833 -606:2834 -606:2835 -606:2836 -606:2837 -606:2838 -606:2840 -606:2841 -607:2842 -607:2843 -607:2844 -607:2845 -607:2847 -607:2848 -608:2850 -611:2468 -611:2470 -611:2471 -611:2472 -611:2515 -611:2516 -613:2475 -613:2476 -613:2477 -613:2478 -613:2479 -613:2480 -613:2482 -613:2484 -613:2485 -613:2486 -613:2487 -613:2488 -613:2489 -613:2490 -613:2491 -613:2492 -613:2493 -613:2494 -613:2498 -613:2500 -613:2501 -613:2502 -613:2503 -615:2495 -615:2496 -615:2497 -617:2506 -617:2507 -617:2508 -617:2509 -617:2511 -617:2512 -618:2514 -620:2518 -620:2520 -620:2521 -620:2522 -620:2579 -620:2580 -621:2525 -621:2526 -621:2527 -621:2528 -621:2529 -621:2530 -621:2531 -621:2532 -621:2533 -621:2534 -621:2535 -621:2536 -621:2537 -621:2538 -621:2539 -621:2540 -621:2541 -621:2542 -621:2543 -621:2544 -621:2545 -621:2546 -621:2547 -621:2548 -621:2549 -621:2550 -621:2551 -621:2552 -621:2553 -621:2554 -621:2555 -621:2556 -621:2557 -621:2564 -621:2565 -621:2566 -621:2567 -621:2568 -622:2570 -622:2571 -622:2572 -622:2573 -622:2575 -622:2576 -623:2578 -625:2582 -625:2584 -625:2585 -625:2586 -625:2643 -625:2644 -626:2589 -626:2590 -626:2591 -626:2592 -626:2593 -626:2594 -626:2595 -626:2596 -626:2597 -626:2598 -626:2599 -626:2600 -626:2601 -626:2602 -626:2603 -626:2604 -626:2605 -626:2606 -626:2607 -626:2608 -626:2609 -626:2610 -626:2611 -626:2612 -626:2613 -626:2614 -626:2615 -626:2616 -626:2617 -626:2618 -626:2619 -626:2620 -626:2621 -626:2628 -626:2629 -626:2630 -626:2631 -626:2632 -627:2634 -627:2635 -627:2636 -627:2637 -627:2639 -627:2640 -628:2642 -631:2681 -631:2683 -631:2684 -631:2685 -631:2783 -631:2784 -632:2687 -632:2688 -632:2689 -632:2690 -632:2691 -632:2692 -633:2693 -633:2694 -633:2695 -633:2696 -633:2697 -633:2698 -633:2699 -633:2700 -633:2701 -633:2702 -633:2704 -633:2705 -634:2707 -634:2708 -634:2709 -634:2710 -634:2711 -634:2776 -634:2777 -634:2778 -634:2779 -634:2780 -635:2782 -637:2908 -637:2910 -637:2911 -637:2912 -637:2921 -637:2922 -638:2914 -638:2915 -638:2916 -638:2917 -638:2918 -638:2919 -638:2920 -642:2888 -642:2890 -642:2891 -642:2892 -642:2905 -642:2906 -643:2894 -643:2895 -643:2896 -643:2897 -643:2898 -643:2899 -643:2900 -643:2901 -643:2902 -643:2903 -643:2904 -682:2368 -682:2370 -682:2371 -682:2372 -682:2385 -682:2386 -683:2374 -683:2375 -684:2376 -684:2377 -684:2378 -684:2379 -684:2381 -684:2382 -685:2384 -689:2854 -689:2856 -689:2857 -689:2858 -689:2885 -689:2886 -690:2860 -690:2861 -690:2862 -690:2863 -690:2864 -690:2865 -690:2866 -690:2867 -690:2868 -690:2869 -690:2870 -690:2871 -690:2872 -690:2874 -690:2875 -691:2876 -691:2877 -691:2878 -691:2879 -691:2881 -691:2882 -692:2884 -696:2924 -696:2926 -696:2927 -696:2928 -696:3071 -696:3072 -697:2930 -697:2931 -698:2933 -698:2934 -698:2935 -698:2936 -698:2937 -698:2938 -698:2939 -698:2940 -698:2941 -698:2942 -698:2943 -698:2944 -698:2945 -698:2946 -698:2948 -698:2949 -698:2950 -698:2951 -698:2952 -698:2953 -698:2954 -698:3045 -698:3046 -698:3047 -698:3048 -698:3049 -698:3064 -698:3065 -698:3066 -698:3067 -698:3068 -699:2957 -699:2958 -699:2959 -699:2960 -699:2961 -699:2962 -699:3070 -700:2965 -700:2966 -700:2967 -700:2968 -700:2969 -700:2970 -701:2973 -701:2974 -701:2975 -701:2976 -701:2977 -701:2978 -702:2981 -702:2982 -702:2983 -702:2984 -702:2985 -702:2986 -703:2989 -703:2990 -703:2991 -703:2992 -703:2993 -703:2994 -704:2997 -704:2998 -704:2999 -704:3000 -704:3001 -704:3002 -705:3005 -705:3006 -705:3007 -705:3008 -705:3009 -705:3010 -706:3013 -706:3014 -706:3015 -706:3016 -706:3017 -706:3018 -707:3021 -707:3022 -707:3023 -707:3024 -707:3025 -707:3026 -708:3029 -708:3030 -708:3031 -708:3032 -708:3033 -708:3034 -709:3037 -709:3038 -709:3039 -709:3040 -709:3041 -709:3042 -711:3051 -711:3052 -717:3074 -717:3076 -717:3077 -717:3078 -717:3125 -717:3126 -718:3080 -718:3081 -719:3083 -719:3084 -719:3085 -719:3086 -719:3087 -719:3088 -719:3089 -719:3090 -719:3091 -719:3092 -719:3093 -719:3094 -719:3118 -719:3119 -719:3120 -719:3121 -719:3122 -720:3124 -724:3128 -724:3130 -724:3131 -724:3132 -724:3154 -724:3155 -725:3134 -725:3135 -725:3136 -725:3137 -725:3138 -725:3139 -725:3140 -725:3141 -725:3142 -725:3143 -725:3144 -725:3145 -725:3146 -725:3147 -725:3148 -725:3149 -725:3151 -725:3152 -725:3153 -730:3157 -730:3159 -730:3160 -730:3161 -730:3183 -730:3184 -731:3163 -731:3164 -731:3165 -731:3166 -731:3167 -731:3168 -731:3169 -731:3170 -731:3171 -731:3172 -731:3173 -731:3174 -731:3175 -731:3176 -731:3177 -731:3178 -731:3180 -731:3181 -731:3182 -736:3186 -736:3188 -736:3189 -736:3190 -736:3212 -736:3213 -737:3192 -737:3193 -737:3194 -737:3195 -737:3196 -737:3197 -737:3198 -737:3199 -737:3200 -737:3201 -737:3202 -737:3203 -737:3204 -737:3205 -737:3206 -737:3207 -737:3209 -737:3210 -737:3211 -742:3215 -742:3217 -742:3218 -742:3219 -742:3241 -742:3242 -743:3221 -743:3222 -743:3223 -743:3224 -743:3225 -743:3226 -743:3227 -743:3228 -743:3229 -743:3230 -743:3231 -743:3232 -743:3233 -743:3234 -743:3235 -743:3236 -743:3238 -743:3239 -743:3240 -748:3244 -748:3246 -748:3247 -748:3248 -748:3270 -748:3271 -749:3250 -749:3251 -749:3252 -749:3253 -749:3254 -749:3255 -749:3256 -749:3257 -749:3258 -749:3259 -749:3260 -749:3261 -749:3262 -749:3263 -749:3264 -749:3265 -749:3267 -749:3268 -749:3269 -754:3273 -754:3275 -754:3276 -754:3277 -754:3319 -754:3320 -755:3279 -755:3280 -755:3281 -755:3282 -755:3283 -755:3284 -755:3286 -755:3287 -755:3288 -755:3289 -755:3290 -755:3291 -755:3292 -755:3295 -755:3296 -755:3297 -755:3298 -755:3299 -755:3300 -755:3303 -755:3304 -755:3305 -755:3306 -755:3307 -755:3309 -755:3310 -755:3311 -755:3312 -755:3313 -755:3314 -755:3316 -755:3317 -755:3318 -760:3322 -760:3324 -760:3325 -760:3326 -760:3435 -760:3436 -761:3328 -761:3329 -762:3331 -762:3332 -762:3333 -762:3334 -762:3335 -762:3336 -762:3337 -762:3338 -762:3339 -762:3340 -762:3341 -762:3342 -762:3343 -762:3344 -762:3345 -762:3346 -762:3347 -762:3348 -762:3349 -762:3350 -762:3351 -762:3352 -762:3353 -762:3354 -762:3355 -762:3356 -762:3357 -762:3358 -762:3359 -762:3360 -762:3361 -762:3362 -762:3363 -762:3364 -762:3365 -762:3366 -762:3368 -762:3369 -762:3370 -762:3371 -762:3372 -762:3373 -762:3374 -762:3401 -762:3402 -762:3403 -762:3404 -762:3405 -762:3409 -762:3410 -762:3411 -762:3412 -762:3414 -762:3415 -762:3428 -762:3429 -762:3430 -762:3431 -762:3432 -763:3377 -763:3378 -763:3379 -763:3380 -763:3381 -763:3382 -763:3434 -764:3385 -764:3386 -764:3387 -764:3388 -764:3389 -764:3390 -765:3393 -765:3394 -765:3395 -765:3396 -765:3397 -765:3398 -767:3407 -767:3408 -769:3418 -769:3419 -769:3420 -769:3421 -769:3422 -769:3423 -769:3424 -769:3425 -775:3438 -775:3440 -775:3441 -775:3442 -775:3492 -775:3493 -776:3444 -776:3445 -776:3446 -776:3447 -776:3448 -776:3449 -776:3451 -776:3452 -776:3453 -776:3454 -776:3455 -776:3456 -776:3457 -776:3460 -776:3461 -776:3462 -776:3463 -776:3464 -776:3465 -776:3468 -776:3469 -776:3470 -776:3471 -776:3472 -776:3473 -776:3476 -776:3477 -776:3478 -776:3479 -776:3480 -776:3482 -776:3483 -776:3484 -776:3485 -776:3486 -776:3487 -776:3489 -776:3490 -776:3491 -781:3495 -781:3497 -781:3498 -781:3499 -781:3541 -781:3542 -782:3501 -782:3502 -782:3503 -782:3504 -782:3505 -782:3506 -782:3508 -782:3509 -782:3510 -782:3511 -782:3512 -782:3513 -782:3514 -782:3517 -782:3518 -782:3519 -782:3520 -782:3521 -782:3522 -782:3525 -782:3526 -782:3527 -782:3528 -782:3529 -782:3531 -782:3532 -782:3533 -782:3534 -782:3535 -782:3536 -782:3538 -782:3539 -782:3540 -787:3544 -787:3546 -787:3547 -787:3548 -787:3598 -787:3599 -788:3550 -788:3551 -788:3552 -788:3553 -788:3554 -788:3555 -788:3557 -788:3558 -788:3559 -788:3560 -788:3561 -788:3562 -788:3563 -788:3566 -788:3567 -788:3568 -788:3569 -788:3570 -788:3571 -788:3574 -788:3575 -788:3576 -788:3577 -788:3578 -788:3579 -788:3582 -788:3583 -788:3584 -788:3585 -788:3586 -788:3588 -788:3589 -788:3590 -788:3591 -788:3592 -788:3593 -788:3595 -788:3596 -788:3597 -791:3601 -791:3603 -791:3604 -791:3605 -791:3607 -791:3689 -791:3690 -791:3691 -791:3692 -791:3693 -791:3694 -791:3695 -792:3608 -792:3609 -792:3610 -792:3611 -792:3612 -792:3613 -792:3614 -792:3615 -792:3616 -793:3619 -793:3620 -793:3621 -793:3622 -793:3623 -793:3624 -793:3625 -793:3626 -793:3627 -794:3630 -794:3631 -794:3632 -794:3633 -794:3634 -794:3635 -794:3636 -794:3637 -794:3639 -794:3640 -794:3641 -795:3644 -795:3645 -795:3646 -795:3647 -795:3648 -795:3649 -795:3650 -795:3651 -795:3653 -795:3654 -795:3655 -796:3658 -796:3659 -796:3660 -796:3661 -796:3662 -796:3663 -796:3664 -796:3665 -796:3666 -796:3667 -796:3668 -796:3669 -796:3670 -796:3671 -796:3672 -796:3673 -796:3674 -796:3675 -796:3676 -796:3677 -796:3678 -796:3679 -796:3680 -796:3681 -796:3682 -796:3683 -796:3684 -796:3685 -796:3686 -799:3697 -799:3699 -799:3700 -799:3701 -799:3707 -799:3815 -799:3816 -799:3817 -799:3818 -799:3819 -799:3820 -799:3821 -800:3708 -800:3709 -800:3710 -800:3711 -800:3712 -800:3713 -800:3714 -800:3715 -800:3716 -801:3719 -801:3720 -801:3721 -801:3722 -801:3723 -801:3724 -801:3725 -801:3726 -801:3727 -803:3730 -803:3731 -803:3732 -803:3733 -803:3734 -803:3735 -803:3736 -803:3737 -803:3738 -803:3739 -803:3740 -803:3741 -803:3742 -803:3743 -803:3744 -803:3745 -803:3746 -803:3747 -803:3748 -803:3749 -803:3750 -803:3751 -803:3752 -803:3753 -803:3768 -803:3802 -803:3806 -803:3807 -803:3808 -803:3809 -803:3810 -804:3812 -811:3702 -811:3703 -811:3755 -811:3756 -811:3757 -811:3758 -811:3759 -811:3760 -811:3761 -811:3763 -811:3764 -811:3765 -812:3766 -812:3767 -817:3769 -817:3770 -817:3771 -817:3772 -817:3773 -817:3774 -817:3775 -817:3777 -817:3778 -817:3779 -817:3780 -817:3782 -817:3783 -817:3784 -817:3785 -817:3786 -817:3787 -817:3788 -817:3789 -818:3704 -818:3705 -818:3790 -818:3791 -818:3792 -818:3793 -818:3794 -818:3795 -818:3797 -818:3798 -818:3799 -819:3800 -819:3801 -821:3803 -821:3804 -821:3805 -826:3823 -826:3825 -826:3826 -826:3827 -826:4145 -826:4146 -836:3841 -836:3842 -838:3843 -838:3844 -838:3845 -838:3923 -838:3933 -838:4045 -838:4053 -838:4065 -838:4066 -838:4067 -838:4068 -838:4070 -838:4071 -848:3846 -848:3847 -848:3848 -848:3849 -848:3850 -848:3851 -848:3852 -848:3853 -848:3854 -849:3828 -849:3829 -849:3856 -849:3857 -849:3858 -849:3859 -849:3860 -849:3861 -849:3862 -849:3863 -849:3864 -849:3917 -849:3918 -849:3919 -849:3920 -849:3921 -850:3866 -850:3867 -851:3868 -853:3924 -853:3925 -853:3926 -853:3927 -853:3928 -853:3929 -853:3930 -853:3931 -853:3932 -855:3934 -855:3935 -855:3936 -855:3937 -855:3938 -855:3939 -855:3940 -855:3941 -855:3942 -856:3944 -856:4039 -856:4040 -856:4041 -856:4042 -856:4043 -857:3830 -857:3831 -857:3945 -857:3946 -857:3947 -857:3948 -857:3949 -857:3950 -857:3951 -857:3952 -857:3953 -858:3954 -858:3955 -859:3959 -859:3960 -859:3961 -859:3962 -859:3963 -859:3964 -859:3965 -859:3966 -859:3967 -859:3968 -860:3832 -860:3833 -860:3970 -860:3971 -860:3972 -860:3973 -860:3974 -860:3975 -860:3976 -860:3977 -860:3978 -860:4031 -860:4032 -860:4033 -860:4034 -860:4035 -861:3980 -861:3981 -862:3982 -865:4046 -865:4047 -865:4048 -865:4049 -865:4050 -865:4051 -865:4052 -866:3834 -866:3835 -866:4054 -866:4055 -866:4056 -866:4057 -866:4058 -866:4059 -866:4060 -866:4062 -866:4063 -866:4064 -869:4073 -869:4138 -869:4139 -869:4140 -869:4141 -869:4142 -870:4144 -871:3836 -871:3837 -871:4074 -871:4075 -871:4076 -871:4077 -871:4078 -871:4079 -871:4080 -871:4081 -872:3838 -872:3839 -872:4085 -872:4086 -872:4087 -872:4088 -872:4089 -872:4090 -872:4091 -872:4092 -877:4148 -877:4150 -877:4151 -877:4152 -877:4156 -877:4297 -877:4298 -877:4299 -877:4300 -877:4301 -877:4302 -877:4303 -878:4157 -878:4158 -878:4159 -878:4160 -878:4162 -878:4163 -878:4164 -878:4165 -878:4166 -878:4167 -878:4168 -878:4169 -878:4170 -878:4171 -878:4173 -878:4174 -878:4175 -878:4176 -879:4179 -879:4182 -879:4183 -879:4184 -879:4185 -879:4186 -879:4187 -879:4188 -879:4189 -879:4190 -879:4191 -880:4194 -880:4195 -880:4196 -880:4197 -880:4198 -880:4199 -880:4200 -881:4203 -881:4204 -881:4205 -881:4206 -881:4207 -881:4208 -881:4209 -882:4212 -882:4213 -882:4214 -882:4215 -882:4216 -882:4217 -882:4218 -883:4221 -883:4222 -883:4223 -883:4224 -883:4225 -884:4228 -884:4229 -884:4230 -884:4231 -884:4232 -884:4233 -884:4234 -885:4237 -885:4238 -885:4239 -885:4240 -885:4241 -885:4242 -885:4243 -886:4246 -886:4247 -886:4248 -886:4249 -886:4250 -886:4251 -888:4252 -888:4255 -888:4256 -888:4257 -888:4258 -888:4259 -888:4260 -888:4261 -888:4262 -888:4263 -888:4264 -888:4265 -888:4266 -889:4153 -889:4154 -889:4267 -889:4268 -889:4269 -889:4270 -889:4271 -889:4272 -889:4273 -889:4274 -889:4275 -889:4276 -889:4278 -889:4279 -889:4280 -889:4281 -889:4282 -889:4284 -889:4285 -890:4286 -890:4287 -890:4288 -890:4289 -890:4290 -890:4291 -890:4292 -890:4293 -890:4294 -897:4512 -897:4516 -897:4518 -897:4519 -897:4520 -897:4595 -897:4596 -898:4513 -898:4526 -898:4527 -898:4528 -898:4529 -899:4514 -899:4530 -899:4531 -899:4532 -899:4542 -899:4543 -899:4544 -899:4545 -899:4547 -899:4548 -900:4515 -905:4533 -905:4534 -905:4535 -905:4536 -905:4537 -905:4538 -905:4539 -905:4540 -905:4541 -907:4563 -907:4586 -907:4588 -907:4589 -907:4590 -907:4591 -908:4594 -915:4521 -915:4522 -915:4550 -915:4552 -915:4553 -915:4554 -915:4555 -915:4556 -915:4557 -915:4559 -915:4560 -915:4561 -916:4564 -916:4566 -916:4567 -916:4568 -916:4578 -916:4579 -916:4580 -916:4581 -916:4583 -916:4584 -916:4585 -917:4523 -917:4524 -917:4569 -917:4570 -917:4571 -917:4572 -917:4573 -917:4574 -917:4575 -917:4577 -971:4305 -971:4354 -971:4356 -971:4357 -971:4358 -971:4509 -971:4510 -972:4306 -972:4360 -972:4361 -972:4362 -972:4363 -972:4364 -972:4365 -973:4307 -973:4367 -973:4368 -973:4369 -973:4370 -973:4371 -973:4372 -973:4373 -973:4375 -973:4376 -973:4377 -973:4378 -973:4379 -973:4428 -973:4429 -973:4430 -973:4431 -973:4432 -973:4502 -973:4503 -973:4504 -973:4505 -973:4506 -974:4308 -974:4508 -975:4309 -976:4310 -977:4311 -978:4312 -979:4313 -980:4314 -981:4315 -982:4316 -983:4317 -983:4436 -983:4437 -983:4438 -983:4439 -983:4441 -983:4442 -983:4443 -983:4444 -983:4445 -983:4494 -983:4495 -983:4496 -983:4497 -983:4498 -984:4318 -985:4319 -986:4320 -987:2082 -987:2084 -987:2085 -987:2086 -987:2143 -987:2144 -987:4321 -988:2089 -988:2090 -988:2091 -988:2092 -988:2093 -988:2094 -988:2095 -988:2096 -988:2097 -988:2098 -988:2099 -988:2100 -988:2101 -988:2102 -988:2103 -988:2104 -988:2105 -988:2106 -988:2107 -988:2108 -988:2109 -988:2110 -988:2111 -988:2112 -988:2113 -988:2114 -988:2115 -988:2116 -988:2117 -988:2118 -988:2119 -988:2120 -988:2121 -988:2136 -988:2137 -988:2138 -988:2139 -988:2140 -988:4322 -989:2142 -989:4323 -990:2124 -990:2125 -990:2126 -990:2127 -990:2128 -990:2129 -990:2131 -990:2132 -990:4324 -991:4325 -992:4326 -993:4327 -994:4328 -994:4667 -994:4669 -994:4670 -994:4671 -994:4743 -994:4744 -995:4329 -995:4676 -995:4677 -995:4678 -995:4734 -995:4735 -995:4736 -995:4737 -995:4739 -995:4740 -995:4741 -995:4742 -996:4330 -997:4331 -998:4332 -999:4333 -1000:4334 -1001:4335 -1002:4336 -1003:4337 -1004:4338 -1005:4339 -1005:4672 -1005:4673 -1005:4679 -1005:4680 -1005:4681 -1005:4682 -1005:4683 -1005:4684 -1005:4685 -1006:4340 -1006:4688 -1006:4689 -1006:4690 -1006:4691 -1006:4692 -1006:4693 -1006:4694 -1006:4695 -1006:4696 -1006:4697 -1006:4698 -1006:4699 -1006:4700 -1006:4701 -1006:4702 -1006:4703 -1006:4704 -1006:4705 -1006:4706 -1006:4707 -1006:4708 -1006:4709 -1006:4710 -1006:4711 -1006:4712 -1006:4713 -1006:4714 -1006:4715 -1006:4716 -1006:4717 -1006:4718 -1006:4719 -1006:4720 -1006:4727 -1006:4728 -1006:4729 -1006:4730 -1006:4731 -1007:4341 -1007:4733 -1008:4342 -1009:4343 -1010:4344 -1011:4345 -1011:4598 -1011:4600 -1011:4601 -1011:4602 -1011:4604 -1011:4659 -1011:4660 -1011:4661 -1011:4662 -1011:4663 -1011:4664 -1011:4665 -1012:4346 -1012:4605 -1012:4606 -1012:4607 -1012:4608 -1012:4609 -1012:4610 -1013:4347 -1013:4614 -1013:4615 -1013:4616 -1013:4617 -1013:4618 -1013:4619 -1014:4348 -1014:4611 -1014:4623 -1014:4624 -1014:4625 -1014:4626 -1014:4627 -1014:4628 -1015:4349 -1015:4620 -1015:4632 -1015:4633 -1015:4634 -1015:4635 -1015:4636 -1015:4637 -1016:4350 -1016:4629 -1016:4641 -1016:4642 -1016:4643 -1016:4644 -1016:4645 -1016:4646 -1017:4351 -1017:4638 -1017:4650 -1017:4651 -1017:4652 -1017:4653 -1017:4654 -1017:4655 -1018:4352 -1018:4647 -1019:4353 -1019:4656 -*E diff --git a/app/src/antlr/java/JavaTokenTypes.java b/app/src/antlr/java/JavaTokenTypes.java deleted file mode 100644 index 939021e71..000000000 --- a/app/src/antlr/java/JavaTokenTypes.java +++ /dev/null @@ -1,157 +0,0 @@ -// $ANTLR 2.7.7 (2006-11-01): "src/antlr/java/java.g" -> "JavaLexer.java"$ - -package antlr.java; - -public interface JavaTokenTypes { - int EOF = 1; - int NULL_TREE_LOOKAHEAD = 3; - int BLOCK = 4; - int MODIFIERS = 5; - int OBJBLOCK = 6; - int SLIST = 7; - int CTOR_DEF = 8; - int METHOD_DEF = 9; - int VARIABLE_DEF = 10; - int INSTANCE_INIT = 11; - int STATIC_INIT = 12; - int TYPE = 13; - int CLASS_DEF = 14; - int INTERFACE_DEF = 15; - int PACKAGE_DEF = 16; - int ARRAY_DECLARATOR = 17; - int EXTENDS_CLAUSE = 18; - int IMPLEMENTS_CLAUSE = 19; - int PARAMETERS = 20; - int PARAMETER_DEF = 21; - int LABELED_STAT = 22; - int TYPECAST = 23; - int INDEX_OP = 24; - int POST_INC = 25; - int POST_DEC = 26; - int METHOD_CALL = 27; - int EXPR = 28; - int ARRAY_INIT = 29; - int IMPORT = 30; - int UNARY_MINUS = 31; - int UNARY_PLUS = 32; - int CASE_GROUP = 33; - int ELIST = 34; - int FOR_INIT = 35; - int FOR_CONDITION = 36; - int FOR_ITERATOR = 37; - int EMPTY_STAT = 38; - int FINAL = 39; - int ABSTRACT = 40; - int STRICTFP = 41; - int SUPER_CTOR_CALL = 42; - int CTOR_CALL = 43; - int LITERAL_package = 44; - int SEMI = 45; - int LITERAL_import = 46; - int LBRACK = 47; - int RBRACK = 48; - int LITERAL_void = 49; - int LITERAL_boolean = 50; - int LITERAL_byte = 51; - int LITERAL_char = 52; - int LITERAL_short = 53; - int LITERAL_int = 54; - int LITERAL_float = 55; - int LITERAL_long = 56; - int LITERAL_double = 57; - int IDENT = 58; - int DOT = 59; - int STAR = 60; - int LITERAL_private = 61; - int LITERAL_public = 62; - int LITERAL_protected = 63; - int LITERAL_static = 64; - int LITERAL_transient = 65; - int LITERAL_native = 66; - int LITERAL_threadsafe = 67; - int LITERAL_synchronized = 68; - int LITERAL_volatile = 69; - int LITERAL_class = 70; - int LITERAL_extends = 71; - int LITERAL_interface = 72; - int LCURLY = 73; - int RCURLY = 74; - int COMMA = 75; - int LITERAL_implements = 76; - int LPAREN = 77; - int RPAREN = 78; - int LITERAL_this = 79; - int LITERAL_super = 80; - int ASSIGN = 81; - int LITERAL_throws = 82; - int COLON = 83; - int LITERAL_if = 84; - int LITERAL_else = 85; - int LITERAL_for = 86; - int LITERAL_while = 87; - int LITERAL_do = 88; - int LITERAL_break = 89; - int LITERAL_continue = 90; - int LITERAL_return = 91; - int LITERAL_switch = 92; - int LITERAL_throw = 93; - int LITERAL_assert = 94; - int LITERAL_case = 95; - int LITERAL_default = 96; - int LITERAL_try = 97; - int LITERAL_finally = 98; - int LITERAL_catch = 99; - int PLUS_ASSIGN = 100; - int MINUS_ASSIGN = 101; - int STAR_ASSIGN = 102; - int DIV_ASSIGN = 103; - int MOD_ASSIGN = 104; - int SR_ASSIGN = 105; - int BSR_ASSIGN = 106; - int SL_ASSIGN = 107; - int BAND_ASSIGN = 108; - int BXOR_ASSIGN = 109; - int BOR_ASSIGN = 110; - int QUESTION = 111; - int LOR = 112; - int LAND = 113; - int BOR = 114; - int BXOR = 115; - int BAND = 116; - int NOT_EQUAL = 117; - int EQUAL = 118; - int LT = 119; - int GT = 120; - int LE = 121; - int GE = 122; - int LITERAL_instanceof = 123; - int SL = 124; - int SR = 125; - int BSR = 126; - int PLUS = 127; - int MINUS = 128; - int DIV = 129; - int MOD = 130; - int INC = 131; - int DEC = 132; - int BNOT = 133; - int LNOT = 134; - int LITERAL_true = 135; - int LITERAL_false = 136; - int LITERAL_null = 137; - int LITERAL_new = 138; - int NUM_INT = 139; - int CHAR_LITERAL = 140; - int STRING_LITERAL = 141; - int NUM_FLOAT = 142; - int NUM_LONG = 143; - int NUM_DOUBLE = 144; - int WS = 145; - int SL_COMMENT = 146; - int ML_COMMENT = 147; - int ESC = 148; - int HEX_DIGIT = 149; - int VOCAB = 150; - int EXPONENT = 151; - int FLOAT_SUFFIX = 152; -} diff --git a/app/src/antlr/java/JavaTokenTypes.txt b/app/src/antlr/java/JavaTokenTypes.txt deleted file mode 100644 index 89fcc5943..000000000 --- a/app/src/antlr/java/JavaTokenTypes.txt +++ /dev/null @@ -1,151 +0,0 @@ -// $ANTLR 2.7.7 (2006-11-01): src/antlr/java/java.g -> JavaTokenTypes.txt$ -Java // output token vocab name -BLOCK=4 -MODIFIERS=5 -OBJBLOCK=6 -SLIST=7 -CTOR_DEF=8 -METHOD_DEF=9 -VARIABLE_DEF=10 -INSTANCE_INIT=11 -STATIC_INIT=12 -TYPE=13 -CLASS_DEF=14 -INTERFACE_DEF=15 -PACKAGE_DEF=16 -ARRAY_DECLARATOR=17 -EXTENDS_CLAUSE=18 -IMPLEMENTS_CLAUSE=19 -PARAMETERS=20 -PARAMETER_DEF=21 -LABELED_STAT=22 -TYPECAST=23 -INDEX_OP=24 -POST_INC=25 -POST_DEC=26 -METHOD_CALL=27 -EXPR=28 -ARRAY_INIT=29 -IMPORT=30 -UNARY_MINUS=31 -UNARY_PLUS=32 -CASE_GROUP=33 -ELIST=34 -FOR_INIT=35 -FOR_CONDITION=36 -FOR_ITERATOR=37 -EMPTY_STAT=38 -FINAL="final"=39 -ABSTRACT="abstract"=40 -STRICTFP="strictfp"=41 -SUPER_CTOR_CALL=42 -CTOR_CALL=43 -LITERAL_package="package"=44 -SEMI=45 -LITERAL_import="import"=46 -LBRACK=47 -RBRACK=48 -LITERAL_void="void"=49 -LITERAL_boolean="boolean"=50 -LITERAL_byte="byte"=51 -LITERAL_char="char"=52 -LITERAL_short="short"=53 -LITERAL_int="int"=54 -LITERAL_float="float"=55 -LITERAL_long="long"=56 -LITERAL_double="double"=57 -IDENT=58 -DOT=59 -STAR=60 -LITERAL_private="private"=61 -LITERAL_public="public"=62 -LITERAL_protected="protected"=63 -LITERAL_static="static"=64 -LITERAL_transient="transient"=65 -LITERAL_native="native"=66 -LITERAL_threadsafe="threadsafe"=67 -LITERAL_synchronized="synchronized"=68 -LITERAL_volatile="volatile"=69 -LITERAL_class="class"=70 -LITERAL_extends="extends"=71 -LITERAL_interface="interface"=72 -LCURLY=73 -RCURLY=74 -COMMA=75 -LITERAL_implements="implements"=76 -LPAREN=77 -RPAREN=78 -LITERAL_this="this"=79 -LITERAL_super="super"=80 -ASSIGN=81 -LITERAL_throws="throws"=82 -COLON=83 -LITERAL_if="if"=84 -LITERAL_else="else"=85 -LITERAL_for="for"=86 -LITERAL_while="while"=87 -LITERAL_do="do"=88 -LITERAL_break="break"=89 -LITERAL_continue="continue"=90 -LITERAL_return="return"=91 -LITERAL_switch="switch"=92 -LITERAL_throw="throw"=93 -LITERAL_assert="assert"=94 -LITERAL_case="case"=95 -LITERAL_default="default"=96 -LITERAL_try="try"=97 -LITERAL_finally="finally"=98 -LITERAL_catch="catch"=99 -PLUS_ASSIGN=100 -MINUS_ASSIGN=101 -STAR_ASSIGN=102 -DIV_ASSIGN=103 -MOD_ASSIGN=104 -SR_ASSIGN=105 -BSR_ASSIGN=106 -SL_ASSIGN=107 -BAND_ASSIGN=108 -BXOR_ASSIGN=109 -BOR_ASSIGN=110 -QUESTION=111 -LOR=112 -LAND=113 -BOR=114 -BXOR=115 -BAND=116 -NOT_EQUAL=117 -EQUAL=118 -LT=119 -GT=120 -LE=121 -GE=122 -LITERAL_instanceof="instanceof"=123 -SL=124 -SR=125 -BSR=126 -PLUS=127 -MINUS=128 -DIV=129 -MOD=130 -INC=131 -DEC=132 -BNOT=133 -LNOT=134 -LITERAL_true="true"=135 -LITERAL_false="false"=136 -LITERAL_null="null"=137 -LITERAL_new="new"=138 -NUM_INT=139 -CHAR_LITERAL=140 -STRING_LITERAL=141 -NUM_FLOAT=142 -NUM_LONG=143 -NUM_DOUBLE=144 -WS=145 -SL_COMMENT=146 -ML_COMMENT=147 -ESC=148 -HEX_DIGIT=149 -VOCAB=150 -EXPONENT=151 -FLOAT_SUFFIX=152