OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | fractal-commits List | September 2006 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of fscript/src/org/objectweb/fractal/fscript/parser (3 files)


    Date: Wednesday, September 13, 2006 @ 16:56:24
  Author: pcdavid
    Path: /cvsroot/fractal/fscript/src/org/objectweb/fractal/fscript/parser

Modified: FScriptLexer.java FScriptParser.java
          FScriptParserTokenTypes.java

Generated source cleanup: formatting, imports, disabled warnings.


------------------------------+
 FScriptLexer.java            | 2497 ++++++++++++++++++++++-------------------
 FScriptParser.java           | 1826 +++++++++++++----------------
 FScriptParserTokenTypes.java |  106 -
 3 files changed, 2256 insertions(+), 2173 deletions(-)


Index: fscript/src/org/objectweb/fractal/fscript/parser/FScriptLexer.java
diff -u 
fscript/src/org/objectweb/fractal/fscript/parser/FScriptLexer.java:1.2 
fscript/src/org/objectweb/fractal/fscript/parser/FScriptLexer.java:1.3
--- fscript/src/org/objectweb/fractal/fscript/parser/FScriptLexer.java:1.2    
  Tue Jul 18 20:52:16 2006
+++ fscript/src/org/objectweb/fractal/fscript/parser/FScriptLexer.java  Wed 
Sep 13 16:56:23 2006
@@ -22,1154 +22,1369 @@
 package org.objectweb.fractal.fscript.parser;
 
 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.ANTLRHashString;
 import antlr.ByteBuffer;
 import antlr.CharBuffer;
-import antlr.Token;
-import antlr.CommonToken;
-import antlr.RecognitionException;
+import antlr.CharStreamException;
+import antlr.CharStreamIOException;
+import antlr.InputBuffer;
+import antlr.LexerSharedInputState;
 import antlr.NoViableAltForCharException;
-import antlr.MismatchedCharException;
+import antlr.RecognitionException;
+import antlr.Token;
 import antlr.TokenStream;
-import antlr.ANTLRHashString;
-import antlr.LexerSharedInputState;
+import antlr.TokenStreamException;
+import antlr.TokenStreamIOException;
+import antlr.TokenStreamRecognitionException;
 import antlr.collections.impl.BitSet;
-import antlr.SemanticException;
 
-public class FScriptLexer extends antlr.CharScanner implements 
FScriptLexerTokenTypes, TokenStream
- {
-public FScriptLexer(InputStream in) {
-       this(new ByteBuffer(in));
-}
-public FScriptLexer(Reader in) {
-       this(new CharBuffer(in));
-}
-public FScriptLexer(InputBuffer ib) {
-       this(new LexerSharedInputState(ib));
-}
-public FScriptLexer(LexerSharedInputState state) {
-       super(state);
-       caseSensitiveLiterals = true;
-       setCaseSensitive(true);
-       literals = new Hashtable();
-       literals.put(new ANTLRHashString("if", this), new Integer(9));
-       literals.put(new ANTLRHashString("action", this), new Integer(7));
-       literals.put(new ANTLRHashString("function", this), new Integer(8));
-       literals.put(new ANTLRHashString("then", this), new Integer(10));
-       literals.put(new ANTLRHashString("in", this), new Integer(13));
-       literals.put(new ANTLRHashString("or", this), new Integer(5));
-       literals.put(new ANTLRHashString("else", this), new Integer(11));
-       literals.put(new ANTLRHashString("div", this), new Integer(6));
-       literals.put(new ANTLRHashString("and", this), new Integer(4));
-       literals.put(new ANTLRHashString("return", this), new Integer(14));
-       literals.put(new ANTLRHashString("foreach", this), new Integer(12));
-}
+@SuppressWarnings({"unchecked", "unused"})
+public class FScriptLexer extends antlr.CharScanner implements 
FScriptLexerTokenTypes, TokenStream {
+    public FScriptLexer(InputStream in) {
+        this(new ByteBuffer(in));
+    }
 
-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 '0':  case '1':  case '2':  case '3':
-                               case '4':  case '5':  case '6':  case '7':
-                               case '8':  case '9':
-                               {
-                                       mNUMBER(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '"':  case '\'':
-                               {
-                                       mSTRING(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '+':
-                               {
-                                       mPLUS(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '-':
-                               {
-                                       mMINUS(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '*':
-                               {
-                                       mSTAR(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '=':
-                               {
-                                       mEQUAL(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '!':
-                               {
-                                       mNEQUAL(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case ',':
-                               {
-                                       mCOMMA(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '(':
-                               {
-                                       mLPAREN(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case ')':
-                               {
-                                       mRPAREN(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '[':
-                               {
-                                       mLBRACKET(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case ']':
-                               {
-                                       mRBRACKET(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '$':
-                               {
-                                       mDOLLAR(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '@':
-                               {
-                                       mAT(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '#':
-                               {
-                                       mSHARP(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case ';':
-                               {
-                                       mSEMI(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '{':
-                               {
-                                       mLCURLY(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '}':
-                               {
-                                       mRCURLY(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               case '\t':  case '\n':  case '\u000c':  case 
'\r':
-                               case ' ':
-                               {
-                                       mWS(true);
-                                       theRetToken=_returnToken;
-                                       break;
-                               }
-                               default:
-                                       if ((LA(1)=='<') && (LA(2)=='=')) {
-                                               mLEQ(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='>') && 
(LA(2)=='=')) {
-                                               mGEQ(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='.') && 
(LA(2)=='.')) {
-                                               mDOTDOT(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)==':') && 
(LA(2)==':')) {
-                                               mAXIS_SEP(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)==':') && 
(LA(2)=='=')) {
-                                               mASSIGN(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)==':') && 
(LA(2)=='/')) {
-                                               mDSEP(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='/') && 
(LA(2)=='/')) {
-                                               mSL_COMMENT(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((_tokenSet_0.member(LA(1)))) 
{
-                                               mNAME(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='.') && (true)) {
-                                               mDOT(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='/') && (true)) {
-                                               mSLASH(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='<') && (true)) {
-                                               mLESS(true);
-                                               theRetToken=_returnToken;
-                                       }
-                                       else if ((LA(1)=='>') && (true)) {
-                                               mGREATER(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();
-                               _ttype = testLiteralsTable(_ttype);
-                               _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 FScriptLexer(Reader in) {
+        this(new CharBuffer(in));
+    }
+
+    public FScriptLexer(InputBuffer ib) {
+        this(new LexerSharedInputState(ib));
+    }
+
+    public FScriptLexer(LexerSharedInputState state) {
+        super(state);
+        caseSensitiveLiterals = true;
+        setCaseSensitive(true);
+        literals = new Hashtable();
+        literals.put(new ANTLRHashString("if", this), new Integer(9));
+        literals.put(new ANTLRHashString("action", this), new Integer(7));
+        literals.put(new ANTLRHashString("function", this), new Integer(8));
+        literals.put(new ANTLRHashString("then", this), new Integer(10));
+        literals.put(new ANTLRHashString("in", this), new Integer(13));
+        literals.put(new ANTLRHashString("or", this), new Integer(5));
+        literals.put(new ANTLRHashString("else", this), new Integer(11));
+        literals.put(new ANTLRHashString("div", this), new Integer(6));
+        literals.put(new ANTLRHashString("and", this), new Integer(4));
+        literals.put(new ANTLRHashString("return", this), new Integer(14));
+        literals.put(new ANTLRHashString("foreach", this), new Integer(12));
+    }
+
+    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 '0':
+                    case '1':
+                    case '2':
+                    case '3':
+                    case '4':
+                    case '5':
+                    case '6':
+                    case '7':
+                    case '8':
+                    case '9': {
+                        mNUMBER(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '"':
+                    case '\'': {
+                        mSTRING(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '+': {
+                        mPLUS(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '-': {
+                        mMINUS(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '*': {
+                        mSTAR(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '=': {
+                        mEQUAL(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '!': {
+                        mNEQUAL(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case ',': {
+                        mCOMMA(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '(': {
+                        mLPAREN(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case ')': {
+                        mRPAREN(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '[': {
+                        mLBRACKET(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case ']': {
+                        mRBRACKET(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '$': {
+                        mDOLLAR(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '@': {
+                        mAT(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '#': {
+                        mSHARP(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case ';': {
+                        mSEMI(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '{': {
+                        mLCURLY(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '}': {
+                        mRCURLY(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    case '\t':
+                    case '\n':
+                    case '\u000c':
+                    case '\r':
+                    case ' ': {
+                        mWS(true);
+                        theRetToken = _returnToken;
+                        break;
+                    }
+                    default:
+                        if ((LA(1) == '<') && (LA(2) == '=')) {
+                            mLEQ(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '>') && (LA(2) == '=')) {
+                            mGEQ(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '.') && (LA(2) == '.')) {
+                            mDOTDOT(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == ':') && (LA(2) == ':')) {
+                            mAXIS_SEP(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == ':') && (LA(2) == '=')) {
+                            mASSIGN(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == ':') && (LA(2) == '/')) {
+                            mDSEP(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '/') && (LA(2) == '/')) {
+                            mSL_COMMENT(true);
+                            theRetToken = _returnToken;
+                        } else if ((_tokenSet_0.member(LA(1)))) {
+                            mNAME(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '.') && (true)) {
+                            mDOT(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '/') && (true)) {
+                            mSLASH(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '<') && (true)) {
+                            mLESS(true);
+                            theRetToken = _returnToken;
+                        } else if ((LA(1) == '>') && (true)) {
+                            mGREATER(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();
+                    _ttype = testLiteralsTable(_ttype);
+                    _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 mNAME(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = NAME;
+        int _saveIndex;
+
+        mLETTER(false);
+        {
+            _loop124: do {
+                if ((_tokenSet_1.member(LA(1)))) {
+                    mNAME_CHAR(false);
+                } else {
+                    break _loop124;
+                }
+
+            } 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 mLETTER(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LETTER;
+        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('\u0041', '\u005a');
+            break;
+        }
+        case '_': {
+            match('\u005f');
+            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('\u0061', '\u007a');
+            break;
+        }
+        case '\u00c0':
+        case '\u00c1':
+        case '\u00c2':
+        case '\u00c3':
+        case '\u00c4':
+        case '\u00c5':
+        case '\u00c6':
+        case '\u00c7':
+        case '\u00c8':
+        case '\u00c9':
+        case '\u00ca':
+        case '\u00cb':
+        case '\u00cc':
+        case '\u00cd':
+        case '\u00ce':
+        case '\u00cf':
+        case '\u00d0':
+        case '\u00d1':
+        case '\u00d2':
+        case '\u00d3':
+        case '\u00d4':
+        case '\u00d5':
+        case '\u00d6': {
+            matchRange('\u00c0', '\u00d6');
+            break;
+        }
+        case '\u00d8':
+        case '\u00d9':
+        case '\u00da':
+        case '\u00db':
+        case '\u00dc':
+        case '\u00dd':
+        case '\u00de':
+        case '\u00df':
+        case '\u00e0':
+        case '\u00e1':
+        case '\u00e2':
+        case '\u00e3':
+        case '\u00e4':
+        case '\u00e5':
+        case '\u00e6':
+        case '\u00e7':
+        case '\u00e8':
+        case '\u00e9':
+        case '\u00ea':
+        case '\u00eb':
+        case '\u00ec':
+        case '\u00ed':
+        case '\u00ee':
+        case '\u00ef':
+        case '\u00f0':
+        case '\u00f1':
+        case '\u00f2':
+        case '\u00f3':
+        case '\u00f4':
+        case '\u00f5':
+        case '\u00f6': {
+            matchRange('\u00d8', '\u00f6');
+            break;
+        }
+        case '\u00f8':
+        case '\u00f9':
+        case '\u00fa':
+        case '\u00fb':
+        case '\u00fc':
+        case '\u00fd':
+        case '\u00fe':
+        case '\u00ff': {
+            matchRange('\u00f8', '\u00ff');
+            break;
+        }
+        default:
+            if (((LA(1) >= '\u0100' && LA(1) <= '\u1fff'))) {
+                matchRange('\u0100', '\u1fff');
+            } else if (((LA(1) >= '\u3040' && LA(1) <= '\u318f'))) {
+                matchRange('\u3040', '\u318f');
+            } else if (((LA(1) >= '\u3300' && LA(1) <= '\u337f'))) {
+                matchRange('\u3300', '\u337f');
+            } else if (((LA(1) >= '\u3400' && LA(1) <= '\u3d2d'))) {
+                matchRange('\u3400', '\u3d2d');
+            } else if (((LA(1) >= '\u4e00' && LA(1) <= '\u9fff'))) {
+                matchRange('\u4e00', '\u9fff');
+            } else if (((LA(1) >= '\uf900' && LA(1) <= '\ufaff'))) {
+                matchRange('\uf900', '\ufaff');
+            } else {
+                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 mNAME_CHAR(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = NAME_CHAR;
+        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': {
+                mDIGIT(false);
+                break;
+            }
+            case '$': {
+                mDOLLAR(false);
+                break;
+            }
+            case '.': {
+                mDOT(false);
+                break;
+            }
+            case '-': {
+                mMINUS(false);
+                break;
+            }
+            default:
+                if ((_tokenSet_0.member(LA(1)))) {
+                    mLETTER(false);
+                } else {
+                    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 mNUMBER(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = NUMBER;
+        int _saveIndex;
+
+        {
+            int _cnt127 = 0;
+            _loop127: do {
+                if (((LA(1) >= '0' && LA(1) <= '9'))) {
+                    mDIGIT(false);
+                } else {
+                    if (_cnt127 >= 1) {
+                        break _loop127;
+                    } else {
+                        throw new NoViableAltForCharException((char) LA(1), 
getFilename(),
+                                getLine(), getColumn());
+                    }
+                }
+
+                _cnt127++;
+            } while (true);
+        }
+        {
+            if ((LA(1) == '.')) {
+                mDOT(false);
+                {
+                    _loop130: do {
+                        if (((LA(1) >= '0' && LA(1) <= '9'))) {
+                            mDIGIT(false);
+                        } else {
+                            break _loop130;
+                        }
+
+                    } while (true);
+                }
+            } else {
+            }
+
+        }
+        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 mDIGIT(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DIGIT;
+        int _saveIndex;
+
+        {
+            matchRange('0', '9');
+        }
+        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 mDOT(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DOT;
+        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 mSTRING(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = STRING;
+        int _saveIndex;
+
+        switch (LA(1)) {
+        case '"': {
+            mDQ_STRING(false);
+            break;
+        }
+        case '\'': {
+            mSQ_STRING(false);
+            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 mDQ_STRING(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DQ_STRING;
+        int _saveIndex;
+
+        {
+            match('"');
+            {
+                _loop172: do {
+                    if ((LA(1) == '\\')) {
+                        mESC(false);
+                    } else if ((_tokenSet_2.member(LA(1)))) {
+                        {
+                            match(_tokenSet_2);
+                        }
+                    } else {
+                        break _loop172;
+                    }
+
+                } 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 mSQ_STRING(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = SQ_STRING;
+        int _saveIndex;
+
+        {
+            match('\'');
+            {
+                _loop177: do {
+                    if ((LA(1) == '\\')) {
+                        mESC(false);
+                    } else if ((_tokenSet_3.member(LA(1)))) {
+                        {
+                            match(_tokenSet_3);
+                        }
+                    } else {
+                        break _loop177;
+                    }
+
+                } 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;
+    }
+
+    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 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 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 mSLASH(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = SLASH;
+        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;
 
-       public final void mNAME(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = NAME;
-               int _saveIndex;
-               
-               mLETTER(false);
-               {
-               _loop124:
-               do {
-                       if ((_tokenSet_1.member(LA(1)))) {
-                               mNAME_CHAR(false);
-                       }
-                       else {
-                               break _loop124;
-                       }
-                       
-               } 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 mLETTER(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = LETTER;
-               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('\u0041','\u005a');
-                       break;
-               }
-               case '_':
-               {
-                       match('\u005f');
-                       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('\u0061','\u007a');
-                       break;
-               }
-               case '\u00c0':  case '\u00c1':  case '\u00c2':  case '\u00c3':
-               case '\u00c4':  case '\u00c5':  case '\u00c6':  case '\u00c7':
-               case '\u00c8':  case '\u00c9':  case '\u00ca':  case '\u00cb':
-               case '\u00cc':  case '\u00cd':  case '\u00ce':  case '\u00cf':
-               case '\u00d0':  case '\u00d1':  case '\u00d2':  case '\u00d3':
-               case '\u00d4':  case '\u00d5':  case '\u00d6':
-               {
-                       matchRange('\u00c0','\u00d6');
-                       break;
-               }
-               case '\u00d8':  case '\u00d9':  case '\u00da':  case '\u00db':
-               case '\u00dc':  case '\u00dd':  case '\u00de':  case '\u00df':
-               case '\u00e0':  case '\u00e1':  case '\u00e2':  case '\u00e3':
-               case '\u00e4':  case '\u00e5':  case '\u00e6':  case '\u00e7':
-               case '\u00e8':  case '\u00e9':  case '\u00ea':  case '\u00eb':
-               case '\u00ec':  case '\u00ed':  case '\u00ee':  case '\u00ef':
-               case '\u00f0':  case '\u00f1':  case '\u00f2':  case '\u00f3':
-               case '\u00f4':  case '\u00f5':  case '\u00f6':
-               {
-                       matchRange('\u00d8','\u00f6');
-                       break;
-               }
-               case '\u00f8':  case '\u00f9':  case '\u00fa':  case '\u00fb':
-               case '\u00fc':  case '\u00fd':  case '\u00fe':  case '\u00ff':
-               {
-                       matchRange('\u00f8','\u00ff');
-                       break;
-               }
-               default:
-                       if (((LA(1) >= '\u0100' && LA(1) <= '\u1fff'))) {
-                               matchRange('\u0100','\u1fff');
-                       }
-                       else if (((LA(1) >= '\u3040' && LA(1) <= '\u318f'))) {
-                               matchRange('\u3040','\u318f');
-                       }
-                       else if (((LA(1) >= '\u3300' && LA(1) <= '\u337f'))) {
-                               matchRange('\u3300','\u337f');
-                       }
-                       else if (((LA(1) >= '\u3400' && LA(1) <= '\u3d2d'))) {
-                               matchRange('\u3400','\u3d2d');
-                       }
-                       else if (((LA(1) >= '\u4e00' && LA(1) <= '\u9fff'))) {
-                               matchRange('\u4e00','\u9fff');
-                       }
-                       else if (((LA(1) >= '\uf900' && LA(1) <= '\ufaff'))) {
-                               matchRange('\uf900','\ufaff');
-                       }
-               else {
-                       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 mNAME_CHAR(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = NAME_CHAR;
-               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':
-               {
-                       mDIGIT(false);
-                       break;
-               }
-               case '$':
-               {
-                       mDOLLAR(false);
-                       break;
-               }
-               case '.':
-               {
-                       mDOT(false);
-                       break;
-               }
-               case '-':
-               {
-                       mMINUS(false);
-                       break;
-               }
-               default:
-                       if ((_tokenSet_0.member(LA(1)))) {
-                               mLETTER(false);
-                       }
-               else {
-                       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 mNUMBER(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = NUMBER;
-               int _saveIndex;
-               
-               {
-               int _cnt127=0;
-               _loop127:
-               do {
-                       if (((LA(1) >= '0' && LA(1) <= '9'))) {
-                               mDIGIT(false);
-                       }
-                       else {
-                               if ( _cnt127>=1 ) { break _loop127; } else 
{throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), 
getColumn());}
-                       }
-                       
-                       _cnt127++;
-               } while (true);
-               }
-               {
-               if ((LA(1)=='.')) {
-                       mDOT(false);
-                       {
-                       _loop130:
-                       do {
-                               if (((LA(1) >= '0' && LA(1) <= '9'))) {
-                                       mDIGIT(false);
-                               }
-                               else {
-                                       break _loop130;
-                               }
-                               
-                       } while (true);
-                       }
-               }
-               else {
-               }
-               
-               }
-               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 mDIGIT(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DIGIT;
-               int _saveIndex;
-               
-               {
-               matchRange('0','9');
-               }
-               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 mDOT(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DOT;
-               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 mSTRING(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = STRING;
-               int _saveIndex;
-               
-               switch ( LA(1)) {
-               case '"':
-               {
-                       mDQ_STRING(false);
-                       break;
-               }
-               case '\'':
-               {
-                       mSQ_STRING(false);
-                       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 mDQ_STRING(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DQ_STRING;
-               int _saveIndex;
-               
-               {
-               match('"');
-               {
-               _loop172:
-               do {
-                       if ((LA(1)=='\\')) {
-                               mESC(false);
-                       }
-                       else if ((_tokenSet_2.member(LA(1)))) {
-                               {
-                               match(_tokenSet_2);
-                               }
-                       }
-                       else {
-                               break _loop172;
-                       }
-                       
-               } 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 mSQ_STRING(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = SQ_STRING;
-               int _saveIndex;
-               
-               {
-               match('\'');
-               {
-               _loop177:
-               do {
-                       if ((LA(1)=='\\')) {
-                               mESC(false);
-                       }
-                       else if ((_tokenSet_3.member(LA(1)))) {
-                               {
-                               match(_tokenSet_3);
-                               }
-                       }
-                       else {
-                               break _loop177;
-                       }
-                       
-               } 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;
-       }
-       
-       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 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 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 mSLASH(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = SLASH;
-               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 mNEQUAL(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = NEQUAL;
-               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 mLESS(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = LESS;
-               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 mGREATER(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = GREATER;
-               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 mLEQ(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = LEQ;
-               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 mGEQ(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = GEQ;
-               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 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 mLBRACKET(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = LBRACKET;
-               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 mRBRACKET(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = RBRACKET;
-               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 mDOLLAR(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DOLLAR;
-               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 mAT(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = AT;
-               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 mSHARP(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = SHARP;
-               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 mDOTDOT(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DOTDOT;
-               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 mAXIS_SEP(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = AXIS_SEP;
-               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 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 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 mDSEP(boolean _createToken) throws 
RecognitionException, CharStreamException, TokenStreamException {
-               int _ttype; Token _token=null; int _begin=text.length();
-               _ttype = DSEP;
-               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 _cnt161=0;
-               _loop161:
-               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')) {
-                                       match("\r\n");
-                               }
-                               else if ((LA(1)=='\r') && (true)) {
-                                       match('\r');
-                               }
-                               else if ((LA(1)=='\n')) {
-                                       match('\n');
-                               }
-                               else {
-                                       throw new 
NoViableAltForCharException((char)LA(1), getFilename(), getLine(), 
getColumn());
-                               }
-                               
-                               }
-                               newline();
-                               break;
-                       }
-                       default:
-                       {
-                               if ( _cnt161>=1 ) { break _loop161; } else 
{throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), 
getColumn());}
-                       }
-                       }
-                       _cnt161++;
-               } 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("//");
-               {
-               _loop165:
-               do {
-                       if ((_tokenSet_4.member(LA(1)))) {
-                               {
-                               match(_tokenSet_4);
-                               }
-                       }
-                       else {
-                               break _loop165;
-                       }
-                       
-               } 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;
-       }
-       
-       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 '\'':
-               {
-                       match('\'');
-                       break;
-               }
-               case '"':
-               {
-                       match('"');
-                       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[3988];
-               data[1]=576460745995190270L;
-               data[3]=-36028797027352577L;
-               for (int i = 4; i<=127; i++) { data[i]=-1L; }
-               for (int i = 193; i<=197; i++) { data[i]=-1L; }
-               data[198]=65535L;
-               for (int i = 204; i<=205; i++) { data[i]=-1L; }
-               for (int i = 208; i<=243; i++) { data[i]=-1L; }
-               data[244]=70368744177663L;
-               for (int i = 312; i<=639; i++) { data[i]=-1L; }
-               for (int i = 996; i<=1003; 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[3988];
-               data[0]=288054523010744320L;
-               data[1]=576460745995190270L;
-               data[3]=-36028797027352577L;
-               for (int i = 4; i<=127; i++) { data[i]=-1L; }
-               for (int i = 193; i<=197; i++) { data[i]=-1L; }
-               data[198]=65535L;
-               for (int i = 204; i<=205; i++) { data[i]=-1L; }
-               for (int i = 208; i<=243; i++) { data[i]=-1L; }
-               data[244]=70368744177663L;
-               for (int i = 312; i<=639; i++) { data[i]=-1L; }
-               for (int i = 996; i<=1003; 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]=-17179869185L;
-               data[1]=-268435457L;
-               data[3]=-36028797027352577L;
-               for (int i = 4; i<=127; i++) { data[i]=-1L; }
-               for (int i = 193; i<=197; i++) { data[i]=-1L; }
-               data[198]=65535L;
-               for (int i = 204; i<=205; i++) { data[i]=-1L; }
-               for (int i = 208; i<=243; i++) { data[i]=-1L; }
-               data[244]=70368744177663L;
-               for (int i = 312; i<=639; i++) { data[i]=-1L; }
-               for (int i = 996; i<=1003; 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]=-549755813889L;
-               data[1]=-268435457L;
-               data[3]=-36028797027352577L;
-               for (int i = 4; i<=127; i++) { data[i]=-1L; }
-               for (int i = 193; i<=197; i++) { data[i]=-1L; }
-               data[198]=65535L;
-               for (int i = 204; i<=205; i++) { data[i]=-1L; }
-               for (int i = 208; i<=243; i++) { data[i]=-1L; }
-               data[244]=70368744177663L;
-               for (int i = 312; i<=639; i++) { data[i]=-1L; }
-               for (int i = 996; i<=1003; 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[2048];
-               data[0]=-9217L;
-               data[1]=-1L;
-               data[3]=-36028797027352577L;
-               for (int i = 4; i<=127; i++) { data[i]=-1L; }
-               for (int i = 193; i<=197; i++) { data[i]=-1L; }
-               data[198]=65535L;
-               for (int i = 204; i<=205; i++) { data[i]=-1L; }
-               for (int i = 208; i<=243; i++) { data[i]=-1L; }
-               data[244]=70368744177663L;
-               for (int i = 312; i<=639; i++) { data[i]=-1L; }
-               for (int i = 996; i<=1003; i++) { data[i]=-1L; }
-               return data;
-       }
-       public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4());
-       
-       }
+        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 mNEQUAL(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = NEQUAL;
+        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 mLESS(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LESS;
+        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 mGREATER(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = GREATER;
+        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 mLEQ(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LEQ;
+        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 mGEQ(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = GEQ;
+        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 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 mLBRACKET(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = LBRACKET;
+        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 mRBRACKET(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = RBRACKET;
+        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 mDOLLAR(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DOLLAR;
+        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 mAT(boolean _createToken) throws RecognitionException, 
CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = AT;
+        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 mSHARP(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = SHARP;
+        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 mDOTDOT(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DOTDOT;
+        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 mAXIS_SEP(boolean _createToken) throws 
RecognitionException,
+            CharStreamException, TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = AXIS_SEP;
+        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 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 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 mDSEP(boolean _createToken) throws 
RecognitionException, CharStreamException,
+            TokenStreamException {
+        int _ttype;
+        Token _token = null;
+        int _begin = text.length();
+        _ttype = DSEP;
+        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 _cnt161 = 0;
+            _loop161: 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')) {
+                            match("\r\n");
+                        } else if ((LA(1) == '\r') && (true)) {
+                            match('\r');
+                        } else if ((LA(1) == '\n')) {
+                            match('\n');
+                        } else {
+                            throw new NoViableAltForCharException((char) 
LA(1), getFilename(),
+                                    getLine(), getColumn());
+                        }
+
+                    }
+                    newline();
+                    break;
+                }
+                default: {
+                    if (_cnt161 >= 1) {
+                        break _loop161;
+                    } else {
+                        throw new NoViableAltForCharException((char) LA(1), 
getFilename(),
+                                getLine(), getColumn());
+                    }
+                }
+                }
+                _cnt161++;
+            } 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("//");
+        {
+            _loop165: do {
+                if ((_tokenSet_4.member(LA(1)))) {
+                    {
+                        match(_tokenSet_4);
+                    }
+                } else {
+                    break _loop165;
+                }
+
+            } 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;
+    }
+
+    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 '\'': {
+                match('\'');
+                break;
+            }
+            case '"': {
+                match('"');
+                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[3988];
+        data[1] = 576460745995190270L;
+        data[3] = -36028797027352577L;
+        for (int i = 4; i <= 127; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 193; i <= 197; i++) {
+            data[i] = -1L;
+        }
+        data[198] = 65535L;
+        for (int i = 204; i <= 205; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 208; i <= 243; i++) {
+            data[i] = -1L;
+        }
+        data[244] = 70368744177663L;
+        for (int i = 312; i <= 639; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 996; i <= 1003; 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[3988];
+        data[0] = 288054523010744320L;
+        data[1] = 576460745995190270L;
+        data[3] = -36028797027352577L;
+        for (int i = 4; i <= 127; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 193; i <= 197; i++) {
+            data[i] = -1L;
+        }
+        data[198] = 65535L;
+        for (int i = 204; i <= 205; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 208; i <= 243; i++) {
+            data[i] = -1L;
+        }
+        data[244] = 70368744177663L;
+        for (int i = 312; i <= 639; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 996; i <= 1003; 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] = -17179869185L;
+        data[1] = -268435457L;
+        data[3] = -36028797027352577L;
+        for (int i = 4; i <= 127; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 193; i <= 197; i++) {
+            data[i] = -1L;
+        }
+        data[198] = 65535L;
+        for (int i = 204; i <= 205; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 208; i <= 243; i++) {
+            data[i] = -1L;
+        }
+        data[244] = 70368744177663L;
+        for (int i = 312; i <= 639; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 996; i <= 1003; 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] = -549755813889L;
+        data[1] = -268435457L;
+        data[3] = -36028797027352577L;
+        for (int i = 4; i <= 127; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 193; i <= 197; i++) {
+            data[i] = -1L;
+        }
+        data[198] = 65535L;
+        for (int i = 204; i <= 205; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 208; i <= 243; i++) {
+            data[i] = -1L;
+        }
+        data[244] = 70368744177663L;
+        for (int i = 312; i <= 639; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 996; i <= 1003; 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[2048];
+        data[0] = -9217L;
+        data[1] = -1L;
+        data[3] = -36028797027352577L;
+        for (int i = 4; i <= 127; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 193; i <= 197; i++) {
+            data[i] = -1L;
+        }
+        data[198] = 65535L;
+        for (int i = 204; i <= 205; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 208; i <= 243; i++) {
+            data[i] = -1L;
+        }
+        data[244] = 70368744177663L;
+        for (int i = 312; i <= 639; i++) {
+            data[i] = -1L;
+        }
+        for (int i = 996; i <= 1003; i++) {
+            data[i] = -1L;
+        }
+        return data;
+    }
+
+    public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4());
+
+}
Index: fscript/src/org/objectweb/fractal/fscript/parser/FScriptParser.java
diff -u 
fscript/src/org/objectweb/fractal/fscript/parser/FScriptParser.java:1.2 
fscript/src/org/objectweb/fractal/fscript/parser/FScriptParser.java:1.3
--- fscript/src/org/objectweb/fractal/fscript/parser/FScriptParser.java:1.2   
  Tue Jul 18 20:52:16 2006
+++ fscript/src/org/objectweb/fractal/fscript/parser/FScriptParser.java Wed 
Sep 13 16:56:23 2006
@@ -23,32 +23,40 @@
 
 import java.util.ArrayList;
 import java.util.List;
-import org.objectweb.fractal.fscript.*;
-import org.objectweb.fractal.fscript.expressions.*;
-import org.objectweb.fractal.fscript.statements.*;
-import org.objectweb.fractal.fscript.nodes.*;
 
-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 org.objectweb.fractal.fscript.expressions.AndExpression;
+import org.objectweb.fractal.fscript.expressions.CallExpression;
+import org.objectweb.fractal.fscript.expressions.ConstantExpression;
+import org.objectweb.fractal.fscript.expressions.Expression;
+import org.objectweb.fractal.fscript.expressions.FPathExpression;
+import org.objectweb.fractal.fscript.expressions.OrExpression;
+import org.objectweb.fractal.fscript.expressions.Step;
+import org.objectweb.fractal.fscript.expressions.VariableExpression;
+import org.objectweb.fractal.fscript.statements.AssignmentStatement;
+import org.objectweb.fractal.fscript.statements.BlockStatement;
+import org.objectweb.fractal.fscript.statements.ExpressionStatement;
+import org.objectweb.fractal.fscript.statements.ForeachStatement;
+import org.objectweb.fractal.fscript.statements.IfStatement;
+import org.objectweb.fractal.fscript.statements.ReturnStatement;
+import org.objectweb.fractal.fscript.statements.Statement;
+import org.objectweb.fractal.fscript.statements.UserDefinedProcedure;
+
 import antlr.NoViableAltException;
-import antlr.MismatchedTokenException;
-import antlr.SemanticException;
 import antlr.ParserSharedInputState;
+import antlr.RecognitionException;
+import antlr.Token;
+import antlr.TokenBuffer;
+import antlr.TokenStream;
+import antlr.TokenStreamException;
 import antlr.collections.impl.BitSet;
 
-public class FScriptParser extends antlr.LLkParser       implements 
FScriptParserTokenTypes
- {
+@SuppressWarnings("unchecked")
+public class FScriptParser extends antlr.LLkParser implements 
FScriptParserTokenTypes {
 
     private String unquote(String str) {
         str = str.substring(1, str.length() - 1); // removes leadding & 
ending quotes
-        str = str.replaceAll("\\\\'", "'");       // unquotes single-quotes
-        str = str.replaceAll("\\\\\"", "\"");     // unquotes double-quotes
+        str = str.replaceAll("\\\\'", "'"); // unquotes single-quotes
+        str = str.replaceAll("\\\\\"", "\""); // unquotes double-quotes
         return str;
     }
 
@@ -56,966 +64,832 @@
         return new CallExpression(op, new Expression[] { left, right });
     }
 
-protected FScriptParser(TokenBuffer tokenBuf, int k) {
-  super(tokenBuf,k);
-  tokenNames = _tokenNames;
-}
+    protected FScriptParser(TokenBuffer tokenBuf, int k) {
+        super(tokenBuf, k);
+        tokenNames = _tokenNames;
+    }
 
-public FScriptParser(TokenBuffer tokenBuf) {
-  this(tokenBuf,2);
-}
+    public FScriptParser(TokenBuffer tokenBuf) {
+        this(tokenBuf, 2);
+    }
 
-protected FScriptParser(TokenStream lexer, int k) {
-  super(lexer,k);
-  tokenNames = _tokenNames;
-}
+    protected FScriptParser(TokenStream lexer, int k) {
+        super(lexer, k);
+        tokenNames = _tokenNames;
+    }
 
-public FScriptParser(TokenStream lexer) {
-  this(lexer,2);
-}
+    public FScriptParser(TokenStream lexer) {
+        this(lexer, 2);
+    }
 
-public FScriptParser(ParserSharedInputState state) {
-  super(state,2);
-  tokenNames = _tokenNames;
-}
+    public FScriptParser(ParserSharedInputState state) {
+        super(state, 2);
+        tokenNames = _tokenNames;
+    }
+
+    /**
+     * Top-level production. Alias for orExpression.
+     */
+    public final Expression expression() throws RecognitionException, 
TokenStreamException {
+        Expression expr;
+
+        expr = null;
+
+        expr = orExpression();
+        return expr;
+    }
+
+    public final Expression orExpression() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+        List clauses = null;
+        Expression e1 = null, e2 = null;
+
+        e1 = andExpression();
+        result = e1;
+        {
+            _loop189: do {
+                if ((LA(1) == OR)) {
+                    match(OR);
+                    e2 = andExpression();
+
+                    if (clauses == null) {
+                        clauses = new ArrayList();
+                        clauses.add(result);
+                    }
+                    clauses.add(e2);
+
+                } else {
+                    break _loop189;
+                }
+
+            } while (true);
+        }
+
+        if (clauses != null) {
+            Expression[] args = (Expression[]) clauses.toArray(new 
Expression[clauses.size()]);
+            result = new OrExpression(args);
+        }
+
+        return result;
+    }
+
+    public final Expression andExpression() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+        List clauses = null;
+        Expression e1 = null, e2 = null;
+
+        e1 = compExpression();
+        result = e1;
+        {
+            _loop192: do {
+                if ((LA(1) == AND)) {
+                    match(AND);
+                    e2 = compExpression();
+
+                    if (clauses == null) {
+                        clauses = new ArrayList();
+                        clauses.add(result);
+                    }
+                    clauses.add(e2);
+
+                } else {
+                    break _loop192;
+                }
+
+            } while (true);
+        }
+
+        if (clauses != null) {
+            Expression[] args = (Expression[]) clauses.toArray(new 
Expression[clauses.size()]);
+            result = new AndExpression(args);
+        }
+
+        return result;
+    }
+
+    public final Expression compExpression() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+        Expression right = null;
+
+        result = plusExpression();
+        {
+            _loop195: do {
+                switch (LA(1)) {
+                case EQUAL: {
+                    match(EQUAL);
+                    right = plusExpression();
+                    result = operatorCall("=", result, right);
+                    break;
+                }
+                case NEQUAL: {
+                    match(NEQUAL);
+                    right = plusExpression();
+                    result = operatorCall("!=", result, right);
+                    break;
+                }
+                case LESS: {
+                    match(LESS);
+                    right = plusExpression();
+                    result = operatorCall("<", result, right);
+                    break;
+                }
+                case GREATER: {
+                    match(GREATER);
+                    right = plusExpression();
+                    result = operatorCall(">", result, right);
+                    break;
+                }
+                case LEQ: {
+                    match(LEQ);
+                    right = plusExpression();
+                    result = operatorCall("<=", result, right);
+                    break;
+                }
+                case GEQ: {
+                    match(GEQ);
+                    right = plusExpression();
+                    result = operatorCall(">=", result, right);
+                    break;
+                }
+                default: {
+                    break _loop195;
+                }
+                }
+            } while (true);
+        }
+        return result;
+    }
+
+    public final Expression plusExpression() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+        Expression right = null;
+
+        result = multiplyExpression();
+        {
+            _loop198: do {
+                switch (LA(1)) {
+                case PLUS: {
+                    match(PLUS);
+                    right = multiplyExpression();
+                    result = operatorCall("+", result, right);
+                    break;
+                }
+                case MINUS: {
+                    match(MINUS);
+                    right = multiplyExpression();
+                    result = operatorCall("-", result, right);
+                    break;
+                }
+                default: {
+                    break _loop198;
+                }
+                }
+            } while (true);
+        }
+        return result;
+    }
+
+    public final Expression multiplyExpression() throws 
RecognitionException, TokenStreamException {
+        Expression result;
+
+        result = null;
+        Expression right = null;
+
+        result = unaryExpression();
+        {
+            _loop201: do {
+                switch (LA(1)) {
+                case STAR: {
+                    match(STAR);
+                    right = unaryExpression();
+                    result = operatorCall("*", result, right);
+                    break;
+                }
+                case DIV: {
+                    match(DIV);
+                    right = unaryExpression();
+                    result = operatorCall("div", result, right);
+                    break;
+                }
+                default: {
+                    break _loop201;
+                }
+                }
+            } while (true);
+        }
+        return result;
+    }
+
+    public final Expression unaryExpression() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+
+        switch (LA(1)) {
+        case NAME:
+        case NUMBER:
+        case STRING:
+        case LPAREN:
+        case DOLLAR: {
+            result = atom();
+            break;
+        }
+        case MINUS: {
+            match(MINUS);
+            result = atom();
+            result = new CallExpression("minus", new Expression[] { result 
});
+            break;
+        }
+        default: {
+            throw new NoViableAltException(LT(1), getFilename());
+        }
+        }
+        return result;
+    }
+
+    public final Expression atom() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        result = null;
+        Step step = null;
+        List steps = new ArrayList();
+
+        switch (LA(1)) {
+        case NUMBER:
+        case STRING: {
+            result = literal();
+            break;
+        }
+        case DOLLAR: {
+            result = variable();
+            {
+                _loop205: do {
+                    if ((LA(1) == SLASH)) {
+                        match(SLASH);
+                        step = locationStep();
+                        steps.add(step);
+                    } else {
+                        break _loop205;
+                    }
+
+                } while (true);
+            }
+
+            if (steps.size() > 0)
+                result = new FPathExpression(result, (Step[]) 
steps.toArray(new Step[steps.size()]));
+
+            break;
+        }
+        case LPAREN: {
+            result = paren();
+            break;
+        }
+        default:
+            if ((LA(1) == NAME) && (LA(2) == LPAREN)) {
+                result = call();
+            } else if ((LA(1) == NAME) && (LA(2) == DSEP)) {
+                result = ctxpath();
+            } else {
+                throw new NoViableAltException(LT(1), getFilename());
+            }
+        }
+        return result;
+    }
+
+    public final Expression literal() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        Token n = null;
+        Token s = null;
+        result = null;
+
+        switch (LA(1)) {
+        case NUMBER: {
+            n = LT(1);
+            match(NUMBER);
+            result = new ConstantExpression(Double.valueOf(n.getText()));
+            break;
+        }
+        case STRING: {
+            s = LT(1);
+            match(STRING);
+            result = new ConstantExpression(unquote(s.getText()));
+            break;
+        }
+        default: {
+            throw new NoViableAltException(LT(1), getFilename());
+        }
+        }
+        return result;
+    }
+
+    public final Expression variable() throws RecognitionException, 
TokenStreamException {
+        Expression result;
+
+        Token n = null;
+        result = null;
+
+        match(DOLLAR);
+        n = LT(1);
+        match(NAME);
+        result = new VariableExpression(n.getText());
+        return result;
+    }
+
+    public final Step locationStep() throws RecognitionException, 
TokenStreamException {
+        Step step;
+
+        Token a = null;
+        Token id = null;
+
+        step = null;
+        String axis = null;
+        String test = null;
+        List predicates = new ArrayList();
+        Expression pred = null;
+
+        a = LT(1);
+        match(NAME);
+        axis = a.getText();
+        match(AXIS_SEP);
+        {
+            switch (LA(1)) {
+            case NAME: {
+                id = LT(1);
+                match(NAME);
+                test = id.getText();
+                break;
+            }
+            case STAR: {
+                match(STAR);
+                test = "*";
+                break;
+            }
+            default: {
+                throw new NoViableAltException(LT(1), getFilename());
+            }
+            }
+        }
+        {
+            _loop213: do {
+                if ((LA(1) == LBRACKET)) {
+                    match(LBRACKET);
+                    pred = predicate();
+                    match(RBRACKET);
+                    predicates.add(pred);
+                } else {
+                    break _loop213;
+                }
+
+            } while (true);
+        }
+
+        step = new Step(axis, test, (Expression[]) predicates.toArray(new 
Expression[predicates
+                .size()]));
 
-/**
- * Top-level production. Alias for orExpression.
- */
-       public final  Expression  expression() throws RecognitionException, 
TokenStreamException {
-                Expression expr ;
-               
-               expr = null;
-               
-               expr=orExpression();
-               return expr ;
-       }
-       
-       public final  Expression  orExpression() throws RecognitionException, 
TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               List clauses = null;
-               Expression e1 = null, e2 = null;
-               
-               
-               e1=andExpression();
-               result = e1;
-               {
-               _loop189:
-               do {
-                       if ((LA(1)==OR)) {
-                               match(OR);
-                               e2=andExpression();
-                               
-                               if (clauses == null) {
-                               clauses = new ArrayList();
-                               clauses.add(result);
-                               }   
-                               clauses.add(e2);
-                               
-                       }
-                       else {
-                               break _loop189;
-                       }
-                       
-               } while (true);
-               }
-               
-               if (clauses != null) {
-               Expression[] args = (Expression[]) clauses.toArray(new 
Expression[clauses.size()]);
-               result = new OrExpression(args);
-               }
-               
-               return result ;
-       }
-       
-       public final  Expression  andExpression() throws 
RecognitionException, TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               List clauses = null;
-               Expression e1 = null, e2 = null;
-               
-               
-               e1=compExpression();
-               result = e1;
-               {
-               _loop192:
-               do {
-                       if ((LA(1)==AND)) {
-                               match(AND);
-                               e2=compExpression();
-                               
-                               if (clauses == null) {
-                               clauses = new ArrayList();
-                               clauses.add(result);
-                               }
-                               clauses.add(e2);
-                               
-                       }
-                       else {
-                               break _loop192;
-                       }
-                       
-               } while (true);
-               }
-               
-               if (clauses != null) {
-               Expression[] args = (Expression[]) clauses.toArray(new 
Expression[clauses.size()]);
-               result = new AndExpression(args);
-               }
-               
-               return result ;
-       }
-       
-       public final  Expression  compExpression() throws 
RecognitionException, TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               Expression right = null;
-               
-               
-               result=plusExpression();
-               {
-               _loop195:
-               do {
-                       switch ( LA(1)) {
-                       case EQUAL:
-                       {
-                               match(EQUAL);
-                               right=plusExpression();
-                               result = operatorCall("=", result, right);
-                               break;
-                       }
-                       case NEQUAL:
-                       {
-                               match(NEQUAL);
-                               right=plusExpression();
-                               result = operatorCall("!=", result, right);
-                               break;
-                       }
-                       case LESS:
-                       {
-                               match(LESS);
-                               right=plusExpression();
-                               result = operatorCall("<", result, right);
-                               break;
-                       }
-                       case GREATER:
-                       {
-                               match(GREATER);
-                               right=plusExpression();
-                               result = operatorCall(">", result, right);
-                               break;
-                       }
-                       case LEQ:
-                       {
-                               match(LEQ);
-                               right=plusExpression();
-                               result = operatorCall("<=", result, right);
-                               break;
-                       }
-                       case GEQ:
-                       {
-                               match(GEQ);
-                               right=plusExpression();
-                               result = operatorCall(">=", result, right);
-                               break;
-                       }
-                       default:
-                       {
-                               break _loop195;
-                       }
-                       }
-               } while (true);
-               }
-               return result ;
-       }
-       
-       public final  Expression  plusExpression() throws 
RecognitionException, TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               Expression right = null;
-               
-               
-               result=multiplyExpression();
-               {
-               _loop198:
-               do {
-                       switch ( LA(1)) {
-                       case PLUS:
-                       {
-                               match(PLUS);
-                               right=multiplyExpression();
-                               result = operatorCall("+", result, right);
-                               break;
-                       }
-                       case MINUS:
-                       {
-                               match(MINUS);
-                               right=multiplyExpression();
-                               result = operatorCall("-", result, right);
-                               break;
-                       }
-                       default:
-                       {
-                               break _loop198;
-                       }
-                       }
-               } while (true);
-               }
-               return result ;
-       }
-       
-       public final  Expression  multiplyExpression() throws 
RecognitionException, TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               Expression right = null;
-               
-               
-               result=unaryExpression();
-               {
-               _loop201:
-               do {
-                       switch ( LA(1)) {
-                       case STAR:
-                       {
-                               match(STAR);
-                               right=unaryExpression();
-                               result = operatorCall("*", result, right);
-                               break;
-                       }
-                       case DIV:
-                       {
-                               match(DIV);
-                               right=unaryExpression();
-                               result = operatorCall("div", result, right);
-                               break;
-                       }
-                       default:
-                       {
-                               break _loop201;
-                       }
-                       }
-               } while (true);
-               }
-               return result ;
-       }
-       
-       public final  Expression  unaryExpression() throws 
RecognitionException, TokenStreamException {
-                Expression result ;
-               
-               result = null;
-               
-               switch ( LA(1)) {
-               case NAME:
-               case NUMBER:
-               case STRING:
-               case LPAREN:
-               case DOLLAR:
-               {
-                       result=atom();
-                       break;
-               }
-               case MINUS:
-               {
-                       match(MINUS);
-                       result=atom();
-                       result = new CallExpression("minus", new Expression[] 
{ result });
-                       break;
-               }
-               default:
-               {
-                       throw new NoViableAltException(LT(1), getFilename());
-               }
-               }
-               return result ;
-       }
-       
-       public final  Expression  atom() throws RecognitionException, 
TokenStreamException {
-                Expression result ;
-               
-               
-               result = null;
-               Step step = null;
-               List steps = new ArrayList();
-               
-               
-               switch ( LA(1)) {
-               case NUMBER:
-               case STRING:
-               {
-                       result=literal();
-                       break;
-               }
-               case DOLLAR:
-               {
-                       result=variable();
-                       {
-                       _loop205:
-                       do {
-                               if ((LA(1)==SLASH)) {
-                                       match(SLASH);
-                                       step=locationStep();
-                                       steps.add(step);
-                               }
-                               else {
-                                       break _loop205;
-                               }
-                               
-                       } while (true);
-                       }
-                       
-                       if (steps.size() > 0)
-                       result = new FPathExpression(result, (Step[]) 
steps.toArray(new Step[steps.size()]));
-                       
-                       break;
-               }
-               case LPAREN:
-               {
-                       result=paren();
-                       break;
-               }
-               default:
-                       if ((LA(1)==NAME) && (LA(2)==LPAREN)) {
-                               result=call();
-                       }
-                       else if ((LA(1)==NAME) && (LA(2)==DSEP)) {
-                               result=ctxpath();
-                       }
-               else {
-                       throw new NoViableAltException(LT(1), getFilename());
-               }
-               }
-               return result ;
-       }
-       
-       public final  Expression  literal() throws RecognitionException, 
TokenStreamException {
-                Expression result ;
-               
-               Token  n = null;
-               Token  s = null;
-               result = null;
-               
-               switch ( LA(1)) {
-               case NUMBER:
-               {
-                       n = LT(1);
-                       match(NUMBER);
-                       result = new 
ConstantExpression(Double.valueOf(n.getText()));
-                       break;
-