001// $ANTLR 2.7.7 (20060906): "schema.g" -> "AntlrSchemaLexer.java"$
002
003/*
004 *  Licensed to the Apache Software Foundation (ASF) under one
005 *  or more contributor license agreements.  See the NOTICE file
006 *  distributed with this work for additional information
007 *  regarding copyright ownership.  The ASF licenses this file
008 *  to you under the Apache License, Version 2.0 (the
009 *  "License"); you may not use this file except in compliance
010 *  with the License.  You may obtain a copy of the License at
011 *  
012 *    http://www.apache.org/licenses/LICENSE-2.0
013 *  
014 *  Unless required by applicable law or agreed to in writing,
015 *  software distributed under the License is distributed on an
016 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 *  KIND, either express or implied.  See the License for the
018 *  specific language governing permissions and limitations
019 *  under the License. 
020 *  
021 */
022package org.apache.directory.shared.ldap.model.schema.syntaxes;
023
024import java.io.StringReader;
025import java.util.ArrayList;
026import java.util.HashMap;
027import java.util.List;
028import java.util.Map;
029
030import org.apache.directory.shared.ldap.model.schema.parsers.LdapComparatorDescription;
031import org.apache.directory.shared.ldap.model.schema.DITContentRule;
032import org.apache.directory.shared.ldap.model.schema.DITStructureRule;
033import org.apache.directory.shared.ldap.model.schema.LdapSyntax;
034import org.apache.directory.shared.ldap.model.schema.MatchingRule;
035import org.apache.directory.shared.ldap.model.schema.MatchingRuleUse;
036import org.apache.directory.shared.ldap.model.schema.NameForm;
037import org.apache.directory.shared.ldap.model.schema.parsers.NormalizerDescription;
038import org.apache.directory.shared.ldap.model.schema.parsers.ParserMonitor;
039import org.apache.directory.shared.ldap.model.schema.AttributeType;
040import org.apache.directory.shared.ldap.model.schema.ObjectClass;
041import org.apache.directory.shared.ldap.model.schema.parsers.SyntaxCheckerDescription;
042import org.apache.directory.shared.ldap.model.schema.syntaxCheckers.OpenLdapObjectIdentifierMacro;
043import org.apache.directory.shared.ldap.model.schema.ObjectClassTypeEnum;
044import org.apache.directory.shared.ldap.model.schema.UsageEnum;
045
046
047import java.io.InputStream;
048import antlr.TokenStreamException;
049import antlr.TokenStreamIOException;
050import antlr.TokenStreamRecognitionException;
051import antlr.CharStreamException;
052import antlr.CharStreamIOException;
053import antlr.ANTLRException;
054import java.io.Reader;
055import java.util.Hashtable;
056import antlr.CharScanner;
057import antlr.InputBuffer;
058import antlr.ByteBuffer;
059import antlr.CharBuffer;
060import antlr.Token;
061import antlr.CommonToken;
062import antlr.RecognitionException;
063import antlr.NoViableAltForCharException;
064import antlr.MismatchedCharException;
065import antlr.TokenStream;
066import antlr.ANTLRHashString;
067import antlr.LexerSharedInputState;
068import antlr.collections.impl.BitSet;
069import antlr.SemanticException;
070
071/**
072 * An antlr generated schema main lexer.
073 *
074 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
075 */
076public class AntlrSchemaLexer extends antlr.CharScanner implements AntlrSchemaTokenTypes, TokenStream
077 {
078public AntlrSchemaLexer(InputStream in) {
079        this(new ByteBuffer(in));
080}
081public AntlrSchemaLexer(Reader in) {
082        this(new CharBuffer(in));
083}
084public AntlrSchemaLexer(InputBuffer ib) {
085        this(new LexerSharedInputState(ib));
086}
087public AntlrSchemaLexer(LexerSharedInputState state) {
088        super(state);
089        caseSensitiveLiterals = true;
090        setCaseSensitive(false);
091        literals = new Hashtable();
092}
093
094public Token nextToken() throws TokenStreamException {
095        Token theRetToken=null;
096tryAgain:
097        for (;;) {
098                Token _token = null;
099                int _ttype = Token.INVALID_TYPE;
100                resetText();
101                try {   // for char stream error handling
102                        try {   // for lexical error handling
103                                switch ( LA(1)) {
104                                case '\t':  case '\n':  case '\r':  case ' ':
105                                case '#':
106                                {
107                                        mWHSP(true);
108                                        theRetToken=_returnToken;
109                                        break;
110                                }
111                                case ')':
112                                {
113                                        mRPAR(true);
114                                        theRetToken=_returnToken;
115                                        break;
116                                }
117                                case '\'':
118                                {
119                                        mQUOTE(true);
120                                        theRetToken=_returnToken;
121                                        break;
122                                }
123                                case '$':
124                                {
125                                        mDOLLAR(true);
126                                        theRetToken=_returnToken;
127                                        break;
128                                }
129                                case '}':
130                                {
131                                        mRBRACKET(true);
132                                        theRetToken=_returnToken;
133                                        break;
134                                }
135                                case 'c':
136                                {
137                                        mCOLLECTIVE(true);
138                                        theRetToken=_returnToken;
139                                        break;
140                                }
141                                case 'e':
142                                {
143                                        mEQUALITY(true);
144                                        theRetToken=_returnToken;
145                                        break;
146                                }
147                                case 'x':
148                                {
149                                        mEXTENSION(true);
150                                        theRetToken=_returnToken;
151                                        break;
152                                }
153                                case 'b':
154                                {
155                                        mBYTECODE(true);
156                                        theRetToken=_returnToken;
157                                        break;
158                                }
159                                default:
160                                        if ((LA(1)=='o') && (LA(2)=='b') && (LA(3)=='j') && (LA(4)=='e') && (LA(5)=='c') && (LA(6)=='t') && (LA(7)=='i')) {
161                                                mOBJECTIDENTIFIER(true);
162                                                theRetToken=_returnToken;
163                                        }
164                                        else if ((LA(1)=='o') && (LA(2)=='b') && (LA(3)=='j') && (LA(4)=='e') && (LA(5)=='c') && (LA(6)=='t') && (LA(7)=='c')) {
165                                                mOBJECTCLASS(true);
166                                                theRetToken=_returnToken;
167                                        }
168                                        else if ((LA(1)=='n') && (LA(2)=='o') && (LA(3)=='-')) {
169                                                mNO_USER_MODIFICATION(true);
170                                                theRetToken=_returnToken;
171                                        }
172                                        else if ((LA(1)=='o') && (LA(2)=='b') && (LA(3)=='s')) {
173                                                mOBSOLETE(true);
174                                                theRetToken=_returnToken;
175                                        }
176                                        else if ((LA(1)=='s') && (LA(2)=='u') && (LA(3)=='p')) {
177                                                mSUP(true);
178                                                theRetToken=_returnToken;
179                                        }
180                                        else if ((LA(1)=='n') && (LA(2)=='o') && (LA(3)=='t')) {
181                                                mNOT(true);
182                                                theRetToken=_returnToken;
183                                        }
184                                        else if ((LA(1)=='s') && (LA(2)=='u') && (LA(3)=='b')) {
185                                                mSUBSTR(true);
186                                                theRetToken=_returnToken;
187                                        }
188                                        else if ((LA(1)=='u') && (LA(2)=='s') && (LA(3)=='a')) {
189                                                mUSAGE(true);
190                                                theRetToken=_returnToken;
191                                        }
192                                        else if ((LA(1)=='u') && (LA(2)=='s') && (LA(3)=='e')) {
193                                                mUSER_APPLICATIONS(true);
194                                                theRetToken=_returnToken;
195                                        }
196                                        else if ((LA(1)=='d') && (LA(2)=='i') && (LA(3)=='r')) {
197                                                mDIRECTORY_OPERATION(true);
198                                                theRetToken=_returnToken;
199                                        }
200                                        else if ((LA(1)=='d') && (LA(2)=='i') && (LA(3)=='s')) {
201                                                mDISTRIBUTED_OPERATION(true);
202                                                theRetToken=_returnToken;
203                                        }
204                                        else if ((LA(1)=='{') && ((LA(2) >= '0' && LA(2) <= '9'))) {
205                                                mLEN(true);
206                                                theRetToken=_returnToken;
207                                        }
208                                        else if ((LA(1)=='s') && (LA(2)=='i')) {
209                                                mSINGLE_VALUE(true);
210                                                theRetToken=_returnToken;
211                                        }
212                                        else if ((LA(1)=='a') && (LA(2)=='b')) {
213                                                mABSTRACT(true);
214                                                theRetToken=_returnToken;
215                                        }
216                                        else if ((LA(1)=='s') && (LA(2)=='t')) {
217                                                mSTRUCTURAL(true);
218                                                theRetToken=_returnToken;
219                                        }
220                                        else if ((LA(1)=='a') && (LA(2)=='t')) {
221                                                mATTRIBUTETYPE(true);
222                                                theRetToken=_returnToken;
223                                        }
224                                        else if ((LA(1)=='(') && (_tokenSet_0.member(LA(2)))) {
225                                                mSTARTNUMERICOID(true);
226                                                theRetToken=_returnToken;
227                                        }
228                                        else if ((LA(1)=='n') && (LA(2)=='a')) {
229                                                mNAME(true);
230                                                theRetToken=_returnToken;
231                                        }
232                                        else if ((LA(1)=='d') && (LA(2)=='e')) {
233                                                mDESC(true);
234                                                theRetToken=_returnToken;
235                                        }
236                                        else if ((LA(1)=='m') && (LA(2)=='u')) {
237                                                mMUST(true);
238                                                theRetToken=_returnToken;
239                                        }
240                                        else if ((LA(1)=='m') && (LA(2)=='a')) {
241                                                mMAY(true);
242                                                theRetToken=_returnToken;
243                                        }
244                                        else if ((LA(1)=='f') && (LA(2)=='o')) {
245                                                mFORM(true);
246                                                theRetToken=_returnToken;
247                                        }
248                                        else if ((LA(1)=='o') && (LA(2)=='c')) {
249                                                mOC(true);
250                                                theRetToken=_returnToken;
251                                        }
252                                        else if ((LA(1)=='o') && (LA(2)=='r')) {
253                                                mORDERING(true);
254                                                theRetToken=_returnToken;
255                                        }
256                                        else if ((LA(1)=='s') && (LA(2)=='y')) {
257                                                mSYNTAX(true);
258                                                theRetToken=_returnToken;
259                                        }
260                                        else if ((LA(1)=='a') && (LA(2)=='p')) {
261                                                mAPPLIES(true);
262                                                theRetToken=_returnToken;
263                                        }
264                                        else if ((LA(1)=='f') && (LA(2)=='q')) {
265                                                mFQCN(true);
266                                                theRetToken=_returnToken;
267                                        }
268                                        else if ((LA(1)=='a') && (LA(2)=='u')) {
269                                                mAUX_OR_AUXILIARY(true);
270                                                theRetToken=_returnToken;
271                                        }
272                                        else if ((LA(1)=='d') && (LA(2)=='s')) {
273                                                mDSA_OPERATION(true);
274                                                theRetToken=_returnToken;
275                                        }
276                                        else if ((LA(1)=='(') && (true)) {
277                                                mLPAR(true);
278                                                theRetToken=_returnToken;
279                                        }
280                                        else if ((LA(1)=='{') && (true)) {
281                                                mLBRACKET(true);
282                                                theRetToken=_returnToken;
283                                        }
284                                else {
285                                        if (LA(1)==EOF_CHAR) {uponEOF(); _returnToken = makeToken(Token.EOF_TYPE);}
286                                else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
287                                }
288                                }
289                                if ( _returnToken==null ) continue tryAgain; // found SKIP token
290                                _ttype = _returnToken.getType();
291                                _ttype = testLiteralsTable(_ttype);
292                                _returnToken.setType(_ttype);
293                                return _returnToken;
294                        }
295                        catch (RecognitionException e) {
296                                throw new TokenStreamRecognitionException(e);
297                        }
298                }
299                catch (CharStreamException cse) {
300                        if ( cse instanceof CharStreamIOException ) {
301                                throw new TokenStreamIOException(((CharStreamIOException)cse).io);
302                        }
303                        else {
304                                throw new TokenStreamException(cse.getMessage());
305                        }
306                }
307        }
308}
309
310        public final void mWHSP(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
311                int _ttype; Token _token=null; int _begin=text.length();
312                _ttype = WHSP;
313                int _saveIndex;
314                
315                {
316                int _cnt6=0;
317                _loop6:
318                do {
319                        if ((LA(1)=='#') && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
320                                match('#');
321                                {
322                                _loop5:
323                                do {
324                                        if ((_tokenSet_1.member(LA(1)))) {
325                                                matchNot('\n');
326                                        }
327                                        else {
328                                                break _loop5;
329                                        }
330                                        
331                                } while (true);
332                                }
333                                match('\n');
334                                if ( inputState.guessing==0 ) {
335                                        newline();
336                                }
337                        }
338                        else if ((LA(1)==' ') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
339                                match(' ');
340                        }
341                        else if ((LA(1)=='\t') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
342                                match('\t');
343                        }
344                        else if ((LA(1)=='\r') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
345                                match('\r');
346                                {
347                                if ((LA(1)=='\n') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
348                                        match('\n');
349                                }
350                                else {
351                                }
352                                
353                                }
354                                if ( inputState.guessing==0 ) {
355                                        newline();
356                                }
357                        }
358                        else if ((LA(1)=='\n') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
359                                match('\n');
360                                if ( inputState.guessing==0 ) {
361                                        newline();
362                                }
363                        }
364                        else {
365                                if ( _cnt6>=1 ) { break _loop6; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
366                        }
367                        
368                        _cnt6++;
369                } while (true);
370                }
371                if ( inputState.guessing==0 ) {
372                        _ttype = Token.SKIP;
373                }
374                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
375                        _token = makeToken(_ttype);
376                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
377                }
378                _returnToken = _token;
379        }
380        
381        public final void mLPAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
382                int _ttype; Token _token=null; int _begin=text.length();
383                _ttype = LPAR;
384                int _saveIndex;
385                
386                match('(');
387                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
388                        _token = makeToken(_ttype);
389                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
390                }
391                _returnToken = _token;
392        }
393        
394        public final void mRPAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
395                int _ttype; Token _token=null; int _begin=text.length();
396                _ttype = RPAR;
397                int _saveIndex;
398                
399                match(')');
400                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
401                        _token = makeToken(_ttype);
402                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
403                }
404                _returnToken = _token;
405        }
406        
407        public final void mQUOTE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
408                int _ttype; Token _token=null; int _begin=text.length();
409                _ttype = QUOTE;
410                int _saveIndex;
411                
412                match('\'');
413                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
414                        _token = makeToken(_ttype);
415                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
416                }
417                _returnToken = _token;
418        }
419        
420        public final void mDOLLAR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
421                int _ttype; Token _token=null; int _begin=text.length();
422                _ttype = DOLLAR;
423                int _saveIndex;
424                
425                match('$');
426                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
427                        _token = makeToken(_ttype);
428                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
429                }
430                _returnToken = _token;
431        }
432        
433        public final void mLBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
434                int _ttype; Token _token=null; int _begin=text.length();
435                _ttype = LBRACKET;
436                int _saveIndex;
437                
438                match('{');
439                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
440                        _token = makeToken(_ttype);
441                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
442                }
443                _returnToken = _token;
444        }
445        
446        public final void mRBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
447                int _ttype; Token _token=null; int _begin=text.length();
448                _ttype = RBRACKET;
449                int _saveIndex;
450                
451                match('}');
452                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
453                        _token = makeToken(_ttype);
454                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
455                }
456                _returnToken = _token;
457        }
458        
459        public final void mLEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
460                int _ttype; Token _token=null; int _begin=text.length();
461                _ttype = LEN;
462                int _saveIndex;
463                
464                mLBRACKET(false);
465                {
466                int _cnt15=0;
467                _loop15:
468                do {
469                        if (((LA(1) >= '0' && LA(1) <= '9'))) {
470                                matchRange('0','9');
471                        }
472                        else {
473                                if ( _cnt15>=1 ) { break _loop15; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
474                        }
475                        
476                        _cnt15++;
477                } while (true);
478                }
479                mRBRACKET(false);
480                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
481                        _token = makeToken(_ttype);
482                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
483                }
484                _returnToken = _token;
485        }
486        
487        public final void mSINGLE_VALUE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
488                int _ttype; Token _token=null; int _begin=text.length();
489                _ttype = SINGLE_VALUE;
490                int _saveIndex;
491                
492                {
493                match("single-value");
494                {
495                if ((_tokenSet_2.member(LA(1)))) {
496                        mWHSP(false);
497                }
498                else {
499                }
500                
501                }
502                }
503                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
504                        _token = makeToken(_ttype);
505                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
506                }
507                _returnToken = _token;
508        }
509        
510        public final void mCOLLECTIVE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
511                int _ttype; Token _token=null; int _begin=text.length();
512                _ttype = COLLECTIVE;
513                int _saveIndex;
514                
515                {
516                match("collective");
517                {
518                if ((_tokenSet_2.member(LA(1)))) {
519                        mWHSP(false);
520                }
521                else {
522                }
523                
524                }
525                }
526                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
527                        _token = makeToken(_ttype);
528                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
529                }
530                _returnToken = _token;
531        }
532        
533        public final void mNO_USER_MODIFICATION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
534                int _ttype; Token _token=null; int _begin=text.length();
535                _ttype = NO_USER_MODIFICATION;
536                int _saveIndex;
537                
538                {
539                match("no-user-modification");
540                {
541                if ((_tokenSet_2.member(LA(1)))) {
542                        mWHSP(false);
543                }
544                else {
545                }
546                
547                }
548                }
549                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
550                        _token = makeToken(_ttype);
551                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
552                }
553                _returnToken = _token;
554        }
555        
556        public final void mOBSOLETE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
557                int _ttype; Token _token=null; int _begin=text.length();
558                _ttype = OBSOLETE;
559                int _saveIndex;
560                
561                {
562                match("obsolete");
563                {
564                if ((_tokenSet_2.member(LA(1)))) {
565                        mWHSP(false);
566                }
567                else {
568                }
569                
570                }
571                }
572                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
573                        _token = makeToken(_ttype);
574                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
575                }
576                _returnToken = _token;
577        }
578        
579        public final void mABSTRACT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
580                int _ttype; Token _token=null; int _begin=text.length();
581                _ttype = ABSTRACT;
582                int _saveIndex;
583                
584                {
585                match("abstract");
586                {
587                if ((_tokenSet_2.member(LA(1)))) {
588                        mWHSP(false);
589                }
590                else {
591                }
592                
593                }
594                }
595                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
596                        _token = makeToken(_ttype);
597                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
598                }
599                _returnToken = _token;
600        }
601        
602        public final void mSTRUCTURAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
603                int _ttype; Token _token=null; int _begin=text.length();
604                _ttype = STRUCTURAL;
605                int _saveIndex;
606                
607                {
608                match("structural");
609                {
610                if ((_tokenSet_2.member(LA(1)))) {
611                        mWHSP(false);
612                }
613                else {
614                }
615                
616                }
617                }
618                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
619                        _token = makeToken(_ttype);
620                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
621                }
622                _returnToken = _token;
623        }
624        
625        protected final void mAUXILIARY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
626                int _ttype; Token _token=null; int _begin=text.length();
627                _ttype = AUXILIARY;
628                int _saveIndex;
629                
630                {
631                match("auxiliary");
632                {
633                if ((_tokenSet_2.member(LA(1)))) {
634                        mWHSP(false);
635                }
636                else {
637                }
638                
639                }
640                }
641                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
642                        _token = makeToken(_ttype);
643                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
644                }
645                _returnToken = _token;
646        }
647        
648        public final void mOBJECTIDENTIFIER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
649                int _ttype; Token _token=null; int _begin=text.length();
650                _ttype = OBJECTIDENTIFIER;
651                int _saveIndex;
652                Token oiName=null;
653                Token oiValue=null;
654                
655                {
656                match("objectidentifier");
657                mWHSP(false);
658                {
659                mUNQUOTED_STRING(true);
660                oiName=_returnToken;
661                }
662                mWHSP(false);
663                {
664                mUNQUOTED_STRING(true);
665                oiValue=_returnToken;
666                }
667                }
668                if ( inputState.guessing==0 ) {
669                        setText( oiName.getText() + " " + oiValue.getText() );
670                }
671                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
672                        _token = makeToken(_ttype);
673                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
674                }
675                _returnToken = _token;
676        }
677        
678        protected final void mUNQUOTED_STRING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
679                int _ttype; Token _token=null; int _begin=text.length();
680                _ttype = UNQUOTED_STRING;
681                int _saveIndex;
682                
683                {
684                int _cnt120=0;
685                _loop120:
686                do {
687                        if (((LA(1) >= 'a' && LA(1) <= 'z')) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
688                                matchRange('a','z');
689                        }
690                        else if (((LA(1) >= '0' && LA(1) <= '9')) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
691                                matchRange('0','9');
692                        }
693                        else if ((LA(1)=='-') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
694                                match('-');
695                        }
696                        else if ((LA(1)=='_') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
697                                match('_');
698                        }
699                        else if ((LA(1)==';') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
700                                match(';');
701                        }
702                        else if ((LA(1)=='.') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
703                                match('.');
704                        }
705                        else if ((LA(1)==':') && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
706                                match(':');
707                        }
708                        else {
709                                if ( _cnt120>=1 ) { break _loop120; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
710                        }
711                        
712                        _cnt120++;
713                } while (true);
714                }
715                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
716                        _token = makeToken(_ttype);
717                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
718                }
719                _returnToken = _token;
720        }
721        
722        public final void mOBJECTCLASS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
723                int _ttype; Token _token=null; int _begin=text.length();
724                _ttype = OBJECTCLASS;
725                int _saveIndex;
726                
727                {
728                match("objectclass");
729                {
730                if ((_tokenSet_2.member(LA(1)))) {
731                        mWHSP(false);
732                }
733                else {
734                }
735                
736                }
737                }
738                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
739                        _token = makeToken(_ttype);
740                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
741                }
742                _returnToken = _token;
743        }
744        
745        public final void mATTRIBUTETYPE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
746                int _ttype; Token _token=null; int _begin=text.length();
747                _ttype = ATTRIBUTETYPE;
748                int _saveIndex;
749                
750                {
751                match("attributetype");
752                {
753                if ((_tokenSet_2.member(LA(1)))) {
754                        mWHSP(false);
755                }
756                else {
757                }
758                
759                }
760                }
761                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
762                        _token = makeToken(_ttype);
763                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
764                }
765                _returnToken = _token;
766        }
767        
768        public final void mSTARTNUMERICOID(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
769                int _ttype; Token _token=null; int _begin=text.length();
770                _ttype = STARTNUMERICOID;
771                int _saveIndex;
772                Token numericoid=null;
773                
774                {
775                mLPAR(false);
776                {
777                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
778                        mWHSP(false);
779                }
780                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
781                }
782                else {
783                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
784                }
785                
786                }
787                {
788                mVALUES(true);
789                numericoid=_returnToken;
790                }
791                }
792                if ( inputState.guessing==0 ) {
793                        setText(numericoid.getText());
794                }
795                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
796                        _token = makeToken(_ttype);
797                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
798                }
799                _returnToken = _token;
800        }
801        
802        protected final void mVALUES(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
803                int _ttype; Token _token=null; int _begin=text.length();
804                _ttype = VALUES;
805                int _saveIndex;
806                
807                {
808                switch ( LA(1)) {
809                case '\t':  case '\n':  case '\r':  case ' ':
810                case '#':  case '\'':  case '-':  case '.':
811                case '0':  case '1':  case '2':  case '3':
812                case '4':  case '5':  case '6':  case '7':
813                case '8':  case '9':  case ':':  case ';':
814                case '_':  case 'a':  case 'b':  case 'c':
815                case 'd':  case 'e':  case 'f':  case 'g':
816                case 'h':  case 'i':  case 'j':  case 'k':
817                case 'l':  case 'm':  case 'n':  case 'o':
818                case 'p':  case 'q':  case 'r':  case 's':
819                case 't':  case 'u':  case 'v':  case 'w':
820                case 'x':  case 'y':  case 'z':
821                {
822                        mVALUE(false);
823                        break;
824                }
825                case '(':
826                {
827                        mLPAR(false);
828                        mVALUE(false);
829                        {
830                        _loop113:
831                        do {
832                                if ((_tokenSet_3.member(LA(1)))) {
833                                        {
834                                        switch ( LA(1)) {
835                                        case '$':
836                                        {
837                                                mDOLLAR(false);
838                                                break;
839                                        }
840                                        case '\t':  case '\n':  case '\r':  case ' ':
841                                        case '#':  case '\'':  case '-':  case '.':
842                                        case '0':  case '1':  case '2':  case '3':
843                                        case '4':  case '5':  case '6':  case '7':
844                                        case '8':  case '9':  case ':':  case ';':
845                                        case '_':  case 'a':  case 'b':  case 'c':
846                                        case 'd':  case 'e':  case 'f':  case 'g':
847                                        case 'h':  case 'i':  case 'j':  case 'k':
848                                        case 'l':  case 'm':  case 'n':  case 'o':
849                                        case 'p':  case 'q':  case 'r':  case 's':
850                                        case 't':  case 'u':  case 'v':  case 'w':
851                                        case 'x':  case 'y':  case 'z':
852                                        {
853                                                break;
854                                        }
855                                        default:
856                                        {
857                                                throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
858                                        }
859                                        }
860                                        }
861                                        mVALUE(false);
862                                }
863                                else {
864                                        break _loop113;
865                                }
866                                
867                        } while (true);
868                        }
869                        mRPAR(false);
870                        break;
871                }
872                default:
873                {
874                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
875                }
876                }
877                }
878                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
879                        _token = makeToken(_ttype);
880                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
881                }
882                _returnToken = _token;
883        }
884        
885        public final void mNAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
886                int _ttype; Token _token=null; int _begin=text.length();
887                _ttype = NAME;
888                int _saveIndex;
889                Token qdstrings=null;
890                
891                {
892                match("name");
893                {
894                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
895                        mWHSP(false);
896                }
897                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
898                }
899                else {
900                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
901                }
902                
903                }
904                mVALUES(true);
905                qdstrings=_returnToken;
906                }
907                if ( inputState.guessing==0 ) {
908                        setText(qdstrings.getText().trim());
909                }
910                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
911                        _token = makeToken(_ttype);
912                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
913                }
914                _returnToken = _token;
915        }
916        
917        public final void mDESC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
918                int _ttype; Token _token=null; int _begin=text.length();
919                _ttype = DESC;
920                int _saveIndex;
921                Token qdstring=null;
922                
923                {
924                match("desc");
925                {
926                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
927                        mWHSP(false);
928                }
929                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
930                }
931                else {
932                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
933                }
934                
935                }
936                mVALUES(true);
937                qdstring=_returnToken;
938                }
939                if ( inputState.guessing==0 ) {
940                        setText(qdstring.getText().trim());
941                }
942                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
943                        _token = makeToken(_ttype);
944                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
945                }
946                _returnToken = _token;
947        }
948        
949        public final void mSUP(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
950                int _ttype; Token _token=null; int _begin=text.length();
951                _ttype = SUP;
952                int _saveIndex;
953                Token sup=null;
954                
955                {
956                match("sup");
957                {
958                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
959                        mWHSP(false);
960                }
961                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
962                }
963                else {
964                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
965                }
966                
967                }
968                mVALUES(true);
969                sup=_returnToken;
970                }
971                if ( inputState.guessing==0 ) {
972                        setText(sup.getText().trim());
973                }
974                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
975                        _token = makeToken(_ttype);
976                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
977                }
978                _returnToken = _token;
979        }
980        
981        public final void mMUST(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
982                int _ttype; Token _token=null; int _begin=text.length();
983                _ttype = MUST;
984                int _saveIndex;
985                Token must=null;
986                
987                {
988                match("must");
989                {
990                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
991                        mWHSP(false);
992                }
993                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
994                }
995                else {
996                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
997                }
998                
999                }
1000                mVALUES(true);
1001                must=_returnToken;
1002                }
1003                if ( inputState.guessing==0 ) {
1004                        setText(must.getText().trim());
1005                }
1006                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1007                        _token = makeToken(_ttype);
1008                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1009                }
1010                _returnToken = _token;
1011        }
1012        
1013        public final void mMAY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1014                int _ttype; Token _token=null; int _begin=text.length();
1015                _ttype = MAY;
1016                int _saveIndex;
1017                Token may=null;
1018                
1019                {
1020                match("may");
1021                {
1022                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1023                        mWHSP(false);
1024                }
1025                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1026                }
1027                else {
1028                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1029                }
1030                
1031                }
1032                mVALUES(true);
1033                may=_returnToken;
1034                }
1035                if ( inputState.guessing==0 ) {
1036                        setText(may.getText());
1037                }
1038                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1039                        _token = makeToken(_ttype);
1040                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1041                }
1042                _returnToken = _token;
1043        }
1044        
1045        protected final void mAUX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1046                int _ttype; Token _token=null; int _begin=text.length();
1047                _ttype = AUX;
1048                int _saveIndex;
1049                Token aux=null;
1050                
1051                {
1052                match("aux");
1053                {
1054                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1055                        mWHSP(false);
1056                }
1057                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1058                }
1059                else {
1060                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1061                }
1062                
1063                }
1064                mVALUES(true);
1065                aux=_returnToken;
1066                }
1067                if ( inputState.guessing==0 ) {
1068                        setText(aux.getText());
1069                }
1070                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1071                        _token = makeToken(_ttype);
1072                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1073                }
1074                _returnToken = _token;
1075        }
1076        
1077        public final void mNOT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1078                int _ttype; Token _token=null; int _begin=text.length();
1079                _ttype = NOT;
1080                int _saveIndex;
1081                Token not=null;
1082                
1083                {
1084                match("not");
1085                {
1086                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1087                        mWHSP(false);
1088                }
1089                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1090                }
1091                else {
1092                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1093                }
1094                
1095                }
1096                mVALUES(true);
1097                not=_returnToken;
1098                }
1099                if ( inputState.guessing==0 ) {
1100                        setText(not.getText());
1101                }
1102                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1103                        _token = makeToken(_ttype);
1104                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1105                }
1106                _returnToken = _token;
1107        }
1108        
1109        public final void mFORM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1110                int _ttype; Token _token=null; int _begin=text.length();
1111                _ttype = FORM;
1112                int _saveIndex;
1113                Token form=null;
1114                
1115                {
1116                match("form");
1117                {
1118                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1119                        mWHSP(false);
1120                }
1121                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1122                }
1123                else {
1124                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1125                }
1126                
1127                }
1128                mVALUES(true);
1129                form=_returnToken;
1130                }
1131                if ( inputState.guessing==0 ) {
1132                        setText(form.getText());
1133                }
1134                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1135                        _token = makeToken(_ttype);
1136                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1137                }
1138                _returnToken = _token;
1139        }
1140        
1141        public final void mOC(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1142                int _ttype; Token _token=null; int _begin=text.length();
1143                _ttype = OC;
1144                int _saveIndex;
1145                Token oc=null;
1146                
1147                {
1148                match("oc");
1149                {
1150                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1151                        mWHSP(false);
1152                }
1153                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1154                }
1155                else {
1156                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1157                }
1158                
1159                }
1160                mVALUES(true);
1161                oc=_returnToken;
1162                }
1163                if ( inputState.guessing==0 ) {
1164                        setText(oc.getText());
1165                }
1166                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1167                        _token = makeToken(_ttype);
1168                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1169                }
1170                _returnToken = _token;
1171        }
1172        
1173        public final void mEQUALITY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1174                int _ttype; Token _token=null; int _begin=text.length();
1175                _ttype = EQUALITY;
1176                int _saveIndex;
1177                Token equality=null;
1178                
1179                {
1180                match("equality");
1181                {
1182                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1183                        mWHSP(false);
1184                }
1185                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1186                }
1187                else {
1188                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1189                }
1190                
1191                }
1192                mVALUES(true);
1193                equality=_returnToken;
1194                }
1195                if ( inputState.guessing==0 ) {
1196                        setText(equality.getText().trim());
1197                }
1198                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1199                        _token = makeToken(_ttype);
1200                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1201                }
1202                _returnToken = _token;
1203        }
1204        
1205        public final void mORDERING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1206                int _ttype; Token _token=null; int _begin=text.length();
1207                _ttype = ORDERING;
1208                int _saveIndex;
1209                Token ordering=null;
1210                
1211                {
1212                match("ordering");
1213                {
1214                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1215                        mWHSP(false);
1216                }
1217                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1218                }
1219                else {
1220                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1221                }
1222                
1223                }
1224                mVALUES(true);
1225                ordering=_returnToken;
1226                }
1227                if ( inputState.guessing==0 ) {
1228                        setText(ordering.getText().trim());
1229                }
1230                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1231                        _token = makeToken(_ttype);
1232                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1233                }
1234                _returnToken = _token;
1235        }
1236        
1237        public final void mSUBSTR(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1238                int _ttype; Token _token=null; int _begin=text.length();
1239                _ttype = SUBSTR;
1240                int _saveIndex;
1241                Token substring=null;
1242                
1243                {
1244                match("substr");
1245                {
1246                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1247                        mWHSP(false);
1248                }
1249                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1250                }
1251                else {
1252                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1253                }
1254                
1255                }
1256                mVALUES(true);
1257                substring=_returnToken;
1258                }
1259                if ( inputState.guessing==0 ) {
1260                        setText(substring.getText().trim());
1261                }
1262                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1263                        _token = makeToken(_ttype);
1264                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1265                }
1266                _returnToken = _token;
1267        }
1268        
1269        public final void mSYNTAX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1270                int _ttype; Token _token=null; int _begin=text.length();
1271                _ttype = SYNTAX;
1272                int _saveIndex;
1273                Token syntax=null;
1274                Token len=null;
1275                
1276                {
1277                match("syntax");
1278                {
1279                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1280                        mWHSP(false);
1281                }
1282                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1283                }
1284                else {
1285                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1286                }
1287                
1288                }
1289                mVALUES(true);
1290                syntax=_returnToken;
1291                {
1292                if ((LA(1)=='{')) {
1293                        mLEN(true);
1294                        len=_returnToken;
1295                }
1296                else {
1297                }
1298                
1299                }
1300                }
1301                if ( inputState.guessing==0 ) {
1302                        setText(syntax.getText().trim() + (len!=null?len.getText().trim():""));
1303                }
1304                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1305                        _token = makeToken(_ttype);
1306                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1307                }
1308                _returnToken = _token;
1309        }
1310        
1311        public final void mAPPLIES(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1312                int _ttype; Token _token=null; int _begin=text.length();
1313                _ttype = APPLIES;
1314                int _saveIndex;
1315                Token applies=null;
1316                
1317                {
1318                match("applies");
1319                {
1320                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1321                        mWHSP(false);
1322                }
1323                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1324                }
1325                else {
1326                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1327                }
1328                
1329                }
1330                mVALUES(true);
1331                applies=_returnToken;
1332                }
1333                if ( inputState.guessing==0 ) {
1334                        setText(applies.getText().trim());
1335                }
1336                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1337                        _token = makeToken(_ttype);
1338                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1339                }
1340                _returnToken = _token;
1341        }
1342        
1343        public final void mEXTENSION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1344                int _ttype; Token _token=null; int _begin=text.length();
1345                _ttype = EXTENSION;
1346                int _saveIndex;
1347                Token x=null;
1348                
1349                {
1350                match("x-");
1351                {
1352                int _cnt97=0;
1353                _loop97:
1354                do {
1355                        if (((LA(1) >= 'a' && LA(1) <= 'z')) && (_tokenSet_0.member(LA(2))) && (true) && (true) && (true) && (true) && (true) && (true)) {
1356                                matchRange('a','z');
1357                        }
1358                        else if ((LA(1)=='-') && (_tokenSet_0.member(LA(2))) && (true) && (true) && (true) && (true) && (true) && (true)) {
1359                                match('-');
1360                        }
1361                        else if ((LA(1)=='_') && (_tokenSet_0.member(LA(2))) && (true) && (true) && (true) && (true) && (true) && (true)) {
1362                                match('_');
1363                        }
1364                        else {
1365                                if ( _cnt97>=1 ) { break _loop97; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
1366                        }
1367                        
1368                        _cnt97++;
1369                } while (true);
1370                }
1371                {
1372                if ((_tokenSet_2.member(LA(1))) && ((LA(2) >= '\u0000' && LA(2) <= '\ufffe')) && (true) && (true) && (true) && (true) && (true) && (true)) {
1373                        mWHSP(false);
1374                }
1375                else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1376                }
1377                else {
1378                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1379                }
1380                
1381                }
1382                mVALUES(false);
1383                }
1384                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1385                        _token = makeToken(_ttype);
1386                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1387                }
1388                _returnToken = _token;
1389        }
1390        
1391        public final void mFQCN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1392                int _ttype; Token _token=null; int _begin=text.length();
1393                _ttype = FQCN;
1394                int _saveIndex;
1395                Token fqcn=null;
1396                
1397                {
1398                match("fqcn");
1399                {
1400                if ((_tokenSet_2.member(LA(1)))) {
1401                        mWHSP(false);
1402                }
1403                else if ((_tokenSet_4.member(LA(1)))) {
1404                }
1405                else {
1406                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1407                }
1408                
1409                }
1410                mFQCN_VALUE(true);
1411                fqcn=_returnToken;
1412                }
1413                if ( inputState.guessing==0 ) {
1414                        setText(fqcn.getText().trim());
1415                }
1416                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1417                        _token = makeToken(_ttype);
1418                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1419                }
1420                _returnToken = _token;
1421        }
1422        
1423        protected final void mFQCN_VALUE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1424                int _ttype; Token _token=null; int _begin=text.length();
1425                _ttype = FQCN_VALUE;
1426                int _saveIndex;
1427                
1428                {
1429                mFQCN_IDENTIFIER(false);
1430                {
1431                _loop128:
1432                do {
1433                        if ((LA(1)=='.')) {
1434                                match('.');
1435                                mFQCN_IDENTIFIER(false);
1436                        }
1437                        else {
1438                                break _loop128;
1439                        }
1440                        
1441                } while (true);
1442                }
1443                }
1444                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1445                        _token = makeToken(_ttype);
1446                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1447                }
1448                _returnToken = _token;
1449        }
1450        
1451        public final void mBYTECODE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1452                int _ttype; Token _token=null; int _begin=text.length();
1453                _ttype = BYTECODE;
1454                int _saveIndex;
1455                Token bytecode=null;
1456                
1457                {
1458                match("bytecode");
1459                {
1460                switch ( LA(1)) {
1461                case '\t':  case '\n':  case '\r':  case ' ':
1462                case '#':
1463                {
1464                        mWHSP(false);
1465                        break;
1466                }
1467                case '+':  case '/':  case '0':  case '1':
1468                case '2':  case '3':  case '4':  case '5':
1469                case '6':  case '7':  case '8':  case '9':
1470                case '=':  case 'a':  case 'b':  case 'c':
1471                case 'd':  case 'e':  case 'f':  case 'g':
1472                case 'h':  case 'i':  case 'j':  case 'k':
1473                case 'l':  case 'm':  case 'n':  case 'o':
1474                case 'p':  case 'q':  case 'r':  case 's':
1475                case 't':  case 'u':  case 'v':  case 'w':
1476                case 'x':  case 'y':  case 'z':
1477                {
1478                        break;
1479                }
1480                default:
1481                {
1482                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1483                }
1484                }
1485                }
1486                mBYTECODE_VALUE(true);
1487                bytecode=_returnToken;
1488                }
1489                if ( inputState.guessing==0 ) {
1490                        setText(bytecode.getText().trim());
1491                }
1492                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1493                        _token = makeToken(_ttype);
1494                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1495                }
1496                _returnToken = _token;
1497        }
1498        
1499        protected final void mBYTECODE_VALUE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1500                int _ttype; Token _token=null; int _begin=text.length();
1501                _ttype = BYTECODE_VALUE;
1502                int _saveIndex;
1503                
1504                {
1505                int _cnt137=0;
1506                _loop137:
1507                do {
1508                        switch ( LA(1)) {
1509                        case 'a':  case 'b':  case 'c':  case 'd':
1510                        case 'e':  case 'f':  case 'g':  case 'h':
1511                        case 'i':  case 'j':  case 'k':  case 'l':
1512                        case 'm':  case 'n':  case 'o':  case 'p':
1513                        case 'q':  case 'r':  case 's':  case 't':
1514                        case 'u':  case 'v':  case 'w':  case 'x':
1515                        case 'y':  case 'z':
1516                        {
1517                                matchRange('a','z');
1518                                break;
1519                        }
1520                        case '0':  case '1':  case '2':  case '3':
1521                        case '4':  case '5':  case '6':  case '7':
1522                        case '8':  case '9':
1523                        {
1524                                matchRange('0','9');
1525                                break;
1526                        }
1527                        case '+':
1528                        {
1529                                match('+');
1530                                break;
1531                        }
1532                        case '/':
1533                        {
1534                                match('/');
1535                                break;
1536                        }
1537                        case '=':
1538                        {
1539                                match('=');
1540                                break;
1541                        }
1542                        default:
1543                        {
1544                                if ( _cnt137>=1 ) { break _loop137; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
1545                        }
1546                        }
1547                        _cnt137++;
1548                } while (true);
1549                }
1550                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1551                        _token = makeToken(_ttype);
1552                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1553                }
1554                _returnToken = _token;
1555        }
1556        
1557        public final void mAUX_OR_AUXILIARY(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1558                int _ttype; Token _token=null; int _begin=text.length();
1559                _ttype = AUX_OR_AUXILIARY;
1560                int _saveIndex;
1561                
1562                boolean synPredMatched107 = false;
1563                if (((LA(1)=='a') && (LA(2)=='u') && (LA(3)=='x') && (LA(4)=='i') && (LA(5)=='l') && (LA(6)=='i') && (LA(7)=='a') && (LA(8)=='r'))) {
1564                        int _m107 = mark();
1565                        synPredMatched107 = true;
1566                        inputState.guessing++;
1567                        try {
1568                                {
1569                                mAUXILIARY(false);
1570                                }
1571                        }
1572                        catch (RecognitionException pe) {
1573                                synPredMatched107 = false;
1574                        }
1575                        rewind(_m107);
1576inputState.guessing--;
1577                }
1578                if ( synPredMatched107 ) {
1579                        mAUXILIARY(false);
1580                        if ( inputState.guessing==0 ) {
1581                                _ttype =  AUXILIARY;
1582                        }
1583                }
1584                else if ((LA(1)=='a') && (LA(2)=='u') && (LA(3)=='x') && (_tokenSet_0.member(LA(4))) && (true) && (true) && (true) && (true)) {
1585                        {
1586                        mAUX(false);
1587                        }
1588                        if ( inputState.guessing==0 ) {
1589                                _ttype =  AUX;
1590                        }
1591                }
1592                else {
1593                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1594                }
1595                
1596                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1597                        _token = makeToken(_ttype);
1598                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1599                }
1600                _returnToken = _token;
1601        }
1602        
1603        protected final void mVALUE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1604                int _ttype; Token _token=null; int _begin=text.length();
1605                _ttype = VALUE;
1606                int _saveIndex;
1607                
1608                {
1609                switch ( LA(1)) {
1610                case '\t':  case '\n':  case '\r':  case ' ':
1611                case '#':
1612                {
1613                        mWHSP(false);
1614                        break;
1615                }
1616                case '\'':  case '-':  case '.':  case '0':
1617                case '1':  case '2':  case '3':  case '4':
1618                case '5':  case '6':  case '7':  case '8':
1619                case '9':  case ':':  case ';':  case '_':
1620                case 'a':  case 'b':  case 'c':  case 'd':
1621                case 'e':  case 'f':  case 'g':  case 'h':
1622                case 'i':  case 'j':  case 'k':  case 'l':
1623                case 'm':  case 'n':  case 'o':  case 'p':
1624                case 'q':  case 'r':  case 's':  case 't':
1625                case 'u':  case 'v':  case 'w':  case 'x':
1626                case 'y':  case 'z':
1627                {
1628                        break;
1629                }
1630                default:
1631                {
1632                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1633                }
1634                }
1635                }
1636                {
1637                switch ( LA(1)) {
1638                case '\'':
1639                {
1640                        mQUOTED_STRING(false);
1641                        break;
1642                }
1643                case '-':  case '.':  case '0':  case '1':
1644                case '2':  case '3':  case '4':  case '5':
1645                case '6':  case '7':  case '8':  case '9':
1646                case ':':  case ';':  case '_':  case 'a':
1647                case 'b':  case 'c':  case 'd':  case 'e':
1648                case 'f':  case 'g':  case 'h':  case 'i':
1649                case 'j':  case 'k':  case 'l':  case 'm':
1650                case 'n':  case 'o':  case 'p':  case 'q':
1651                case 'r':  case 's':  case 't':  case 'u':
1652                case 'v':  case 'w':  case 'x':  case 'y':
1653                case 'z':
1654                {
1655                        mUNQUOTED_STRING(false);
1656                        break;
1657                }
1658                default:
1659                {
1660                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1661                }
1662                }
1663                }
1664                {
1665                if ((_tokenSet_2.member(LA(1))) && (true) && (true) && (true) && (true) && (true) && (true) && (true)) {
1666                        mWHSP(false);
1667                }
1668                else {
1669                }
1670                
1671                }
1672                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1673                        _token = makeToken(_ttype);
1674                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1675                }
1676                _returnToken = _token;
1677        }
1678        
1679        protected final void mQUOTED_STRING(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1680                int _ttype; Token _token=null; int _begin=text.length();
1681                _ttype = QUOTED_STRING;
1682                int _saveIndex;
1683                
1684                {
1685                mQUOTE(false);
1686                {
1687                _loop124:
1688                do {
1689                        if ((_tokenSet_5.member(LA(1)))) {
1690                                matchNot('\'');
1691                        }
1692                        else {
1693                                break _loop124;
1694                        }
1695                        
1696                } while (true);
1697                }
1698                mQUOTE(false);
1699                }
1700                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1701                        _token = makeToken(_ttype);
1702                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1703                }
1704                _returnToken = _token;
1705        }
1706        
1707        protected final void mFQCN_IDENTIFIER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1708                int _ttype; Token _token=null; int _begin=text.length();
1709                _ttype = FQCN_IDENTIFIER;
1710                int _saveIndex;
1711                
1712                {
1713                mFQCN_LETTER(false);
1714                {
1715                _loop132:
1716                do {
1717                        if ((_tokenSet_6.member(LA(1)))) {
1718                                mFQCN_LETTERORDIGIT(false);
1719                        }
1720                        else {
1721                                break _loop132;
1722                        }
1723                        
1724                } while (true);
1725                }
1726                }
1727                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1728                        _token = makeToken(_ttype);
1729                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1730                }
1731                _returnToken = _token;
1732        }
1733        
1734        protected final void mFQCN_LETTER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1735                int _ttype; Token _token=null; int _begin=text.length();
1736                _ttype = FQCN_LETTER;
1737                int _saveIndex;
1738                
1739                switch ( LA(1)) {
1740                case '$':
1741                {
1742                        match('\u0024');
1743                        break;
1744                }
1745                case '_':
1746                {
1747                        match('\u005f');
1748                        break;
1749                }
1750                case 'a':  case 'b':  case 'c':  case 'd':
1751                case 'e':  case 'f':  case 'g':  case 'h':
1752                case 'i':  case 'j':  case 'k':  case 'l':
1753                case 'm':  case 'n':  case 'o':  case 'p':
1754                case 'q':  case 'r':  case 's':  case 't':
1755                case 'u':  case 'v':  case 'w':  case 'x':
1756                case 'y':  case 'z':
1757                {
1758                        matchRange('\u0061','\u007a');
1759                        break;
1760                }
1761                case '\u00c0':  case '\u00c1':  case '\u00c2':  case '\u00c3':
1762                case '\u00c4':  case '\u00c5':  case '\u00c6':  case '\u00c7':
1763                case '\u00c8':  case '\u00c9':  case '\u00ca':  case '\u00cb':
1764                case '\u00cc':  case '\u00cd':  case '\u00ce':  case '\u00cf':
1765                case '\u00d0':  case '\u00d1':  case '\u00d2':  case '\u00d3':
1766                case '\u00d4':  case '\u00d5':  case '\u00d6':
1767                {
1768                        matchRange('\u00c0','\u00d6');
1769                        break;
1770                }
1771                case '\u00d8':  case '\u00d9':  case '\u00da':  case '\u00db':
1772                case '\u00dc':  case '\u00dd':  case '\u00de':  case '\u00df':
1773                case '\u00e0':  case '\u00e1':  case '\u00e2':  case '\u00e3':
1774                case '\u00e4':  case '\u00e5':  case '\u00e6':  case '\u00e7':
1775                case '\u00e8':  case '\u00e9':  case '\u00ea':  case '\u00eb':
1776                case '\u00ec':  case '\u00ed':  case '\u00ee':  case '\u00ef':
1777                case '\u00f0':  case '\u00f1':  case '\u00f2':  case '\u00f3':
1778                case '\u00f4':  case '\u00f5':  case '\u00f6':
1779                {
1780                        matchRange('\u00d8','\u00f6');
1781                        break;
1782                }
1783                case '\u00f8':  case '\u00f9':  case '\u00fa':  case '\u00fb':
1784                case '\u00fc':  case '\u00fd':  case '\u00fe':  case '\u00ff':
1785                {
1786                        matchRange('\u00f8','\u00ff');
1787                        break;
1788                }
1789                default:
1790                        if (((LA(1) >= '\u0100' && LA(1) <= '\u1fff'))) {
1791                                matchRange('\u0100','\u1fff');
1792                        }
1793                        else if (((LA(1) >= '\u3040' && LA(1) <= '\u318f'))) {
1794                                matchRange('\u3040','\u318f');
1795                        }
1796                        else if (((LA(1) >= '\u3300' && LA(1) <= '\u337f'))) {
1797                                matchRange('\u3300','\u337f');
1798                        }
1799                        else if (((LA(1) >= '\u3400' && LA(1) <= '\u3d2d'))) {
1800                                matchRange('\u3400','\u3d2d');
1801                        }
1802                        else if (((LA(1) >= '\u4e00' && LA(1) <= '\u9fff'))) {
1803                                matchRange('\u4e00','\u9fff');
1804                        }
1805                        else if (((LA(1) >= '\uf900' && LA(1) <= '\ufaff'))) {
1806                                matchRange('\uf900','\ufaff');
1807                        }
1808                else {
1809                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1810                }
1811                }
1812                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1813                        _token = makeToken(_ttype);
1814                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1815                }
1816                _returnToken = _token;
1817        }
1818        
1819        protected final void mFQCN_LETTERORDIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1820                int _ttype; Token _token=null; int _begin=text.length();
1821                _ttype = FQCN_LETTERORDIGIT;
1822                int _saveIndex;
1823                
1824                switch ( LA(1)) {
1825                case '$':
1826                {
1827                        match('\u0024');
1828                        break;
1829                }
1830                case '_':
1831                {
1832                        match('\u005f');
1833                        break;
1834                }
1835                case 'a':  case 'b':  case 'c':  case 'd':
1836                case 'e':  case 'f':  case 'g':  case 'h':
1837                case 'i':  case 'j':  case 'k':  case 'l':
1838                case 'm':  case 'n':  case 'o':  case 'p':
1839                case 'q':  case 'r':  case 's':  case 't':
1840                case 'u':  case 'v':  case 'w':  case 'x':
1841                case 'y':  case 'z':
1842                {
1843                        matchRange('\u0061','\u007a');
1844                        break;
1845                }
1846                case '\u00c0':  case '\u00c1':  case '\u00c2':  case '\u00c3':
1847                case '\u00c4':  case '\u00c5':  case '\u00c6':  case '\u00c7':
1848                case '\u00c8':  case '\u00c9':  case '\u00ca':  case '\u00cb':
1849                case '\u00cc':  case '\u00cd':  case '\u00ce':  case '\u00cf':
1850                case '\u00d0':  case '\u00d1':  case '\u00d2':  case '\u00d3':
1851                case '\u00d4':  case '\u00d5':  case '\u00d6':
1852                {
1853                        matchRange('\u00c0','\u00d6');
1854                        break;
1855                }
1856                case '\u00d8':  case '\u00d9':  case '\u00da':  case '\u00db':
1857                case '\u00dc':  case '\u00dd':  case '\u00de':  case '\u00df':
1858                case '\u00e0':  case '\u00e1':  case '\u00e2':  case '\u00e3':
1859                case '\u00e4':  case '\u00e5':  case '\u00e6':  case '\u00e7':
1860                case '\u00e8':  case '\u00e9':  case '\u00ea':  case '\u00eb':
1861                case '\u00ec':  case '\u00ed':  case '\u00ee':  case '\u00ef':
1862                case '\u00f0':  case '\u00f1':  case '\u00f2':  case '\u00f3':
1863                case '\u00f4':  case '\u00f5':  case '\u00f6':
1864                {
1865                        matchRange('\u00d8','\u00f6');
1866                        break;
1867                }
1868                case '\u00f8':  case '\u00f9':  case '\u00fa':  case '\u00fb':
1869                case '\u00fc':  case '\u00fd':  case '\u00fe':  case '\u00ff':
1870                {
1871                        matchRange('\u00f8','\u00ff');
1872                        break;
1873                }
1874                case '0':  case '1':  case '2':  case '3':
1875                case '4':  case '5':  case '6':  case '7':
1876                case '8':  case '9':
1877                {
1878                        matchRange('\u0030','\u0039');
1879                        break;
1880                }
1881                default:
1882                        if (((LA(1) >= '\u0100' && LA(1) <= '\u1fff'))) {
1883                                matchRange('\u0100','\u1fff');
1884                        }
1885                        else if (((LA(1) >= '\u3040' && LA(1) <= '\u318f'))) {
1886                                matchRange('\u3040','\u318f');
1887                        }
1888                        else if (((LA(1) >= '\u3300' && LA(1) <= '\u337f'))) {
1889                                matchRange('\u3300','\u337f');
1890                        }
1891                        else if (((LA(1) >= '\u3400' && LA(1) <= '\u3d2d'))) {
1892                                matchRange('\u3400','\u3d2d');
1893                        }
1894                        else if (((LA(1) >= '\u4e00' && LA(1) <= '\u9fff'))) {
1895                                matchRange('\u4e00','\u9fff');
1896                        }
1897                        else if (((LA(1) >= '\uf900' && LA(1) <= '\ufaff'))) {
1898                                matchRange('\uf900','\ufaff');
1899                        }
1900                else {
1901                        throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
1902                }
1903                }
1904                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1905                        _token = makeToken(_ttype);
1906                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1907                }
1908                _returnToken = _token;
1909        }
1910        
1911        public final void mUSAGE(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1912                int _ttype; Token _token=null; int _begin=text.length();
1913                _ttype = USAGE;
1914                int _saveIndex;
1915                
1916                {
1917                match("usage");
1918                {
1919                if ((_tokenSet_2.member(LA(1)))) {
1920                        mWHSP(false);
1921                }
1922                else {
1923                }
1924                
1925                }
1926                }
1927                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1928                        _token = makeToken(_ttype);
1929                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1930                }
1931                _returnToken = _token;
1932        }
1933        
1934        public final void mUSER_APPLICATIONS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1935                int _ttype; Token _token=null; int _begin=text.length();
1936                _ttype = USER_APPLICATIONS;
1937                int _saveIndex;
1938                
1939                {
1940                match("userapplications");
1941                {
1942                if ((_tokenSet_2.member(LA(1)))) {
1943                        mWHSP(false);
1944                }
1945                else {
1946                }
1947                
1948                }
1949                }
1950                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1951                        _token = makeToken(_ttype);
1952                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1953                }
1954                _returnToken = _token;
1955        }
1956        
1957        public final void mDIRECTORY_OPERATION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1958                int _ttype; Token _token=null; int _begin=text.length();
1959                _ttype = DIRECTORY_OPERATION;
1960                int _saveIndex;
1961                
1962                {
1963                match("directoryoperation");
1964                {
1965                if ((_tokenSet_2.member(LA(1)))) {
1966                        mWHSP(false);
1967                }
1968                else {
1969                }
1970                
1971                }
1972                }
1973                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1974                        _token = makeToken(_ttype);
1975                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1976                }
1977                _returnToken = _token;
1978        }
1979        
1980        public final void mDISTRIBUTED_OPERATION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
1981                int _ttype; Token _token=null; int _begin=text.length();
1982                _ttype = DISTRIBUTED_OPERATION;
1983                int _saveIndex;
1984                
1985                {
1986                match("distributedoperation");
1987                {
1988                if ((_tokenSet_2.member(LA(1)))) {
1989                        mWHSP(false);
1990                }
1991                else {
1992                }
1993                
1994                }
1995                }
1996                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
1997                        _token = makeToken(_ttype);
1998                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
1999                }
2000                _returnToken = _token;
2001        }
2002        
2003        public final void mDSA_OPERATION(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
2004                int _ttype; Token _token=null; int _begin=text.length();
2005                _ttype = DSA_OPERATION;
2006                int _saveIndex;
2007                
2008                {
2009                match("dsaoperation");
2010                {
2011                if ((_tokenSet_2.member(LA(1)))) {
2012                        mWHSP(false);
2013                }
2014                else {
2015                }
2016                
2017                }
2018                }
2019                if ( _createToken && _token==null && _ttype!=Token.SKIP ) {
2020                        _token = makeToken(_ttype);
2021                        _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
2022                }
2023                _returnToken = _token;
2024        }
2025        
2026        
2027        private static final long[] mk_tokenSet_0() {
2028                long[] data = new long[1025];
2029                data[0]=1152747270668559872L;
2030                data[1]=576460745860972544L;
2031                return data;
2032        }
2033        public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0());
2034        private static final long[] mk_tokenSet_1() {
2035                long[] data = new long[2048];
2036                data[0]=-1025L;
2037                for (int i = 1; i<=1022; i++) { data[i]=-1L; }
2038                data[1023]=9223372036854775807L;
2039                return data;
2040        }
2041        public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1());
2042        private static final long[] mk_tokenSet_2() {
2043                long[] data = new long[1025];
2044                data[0]=38654715392L;
2045                return data;
2046        }
2047        public static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2());
2048        private static final long[] mk_tokenSet_3() {
2049                long[] data = new long[1025];
2050                data[0]=1152746239876408832L;
2051                data[1]=576460745860972544L;
2052                return data;
2053        }
2054        public static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3());
2055        private static final long[] mk_tokenSet_4() {
2056                long[] data = new long[3988];
2057                data[0]=68719476736L;
2058                data[1]=576460745860972544L;
2059                data[3]=-36028797027352577L;
2060                for (int i = 4; i<=127; i++) { data[i]=-1L; }
2061                for (int i = 193; i<=197; i++) { data[i]=-1L; }
2062                data[198]=65535L;
2063                for (int i = 204; i<=205; i++) { data[i]=-1L; }
2064                for (int i = 208; i<=243; i++) { data[i]=-1L; }
2065                data[244]=70368744177663L;
2066                for (int i = 312; i<=639; i++) { data[i]=-1L; }
2067                for (int i = 996; i<=1003; i++) { data[i]=-1L; }
2068                return data;
2069        }
2070        public static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4());
2071        private static final long[] mk_tokenSet_5() {
2072                long[] data = new long[2048];
2073                data[0]=-549755813889L;
2074                for (int i = 1; i<=1022; i++) { data[i]=-1L; }
2075                data[1023]=9223372036854775807L;
2076                return data;
2077        }
2078        public static final BitSet _tokenSet_5 = new BitSet(mk_tokenSet_5());
2079        private static final long[] mk_tokenSet_6() {
2080                long[] data = new long[3988];
2081                data[0]=287948969894477824L;
2082                data[1]=576460745860972544L;
2083                data[3]=-36028797027352577L;
2084                for (int i = 4; i<=127; i++) { data[i]=-1L; }
2085                for (int i = 193; i<=197; i++) { data[i]=-1L; }
2086                data[198]=65535L;
2087                for (int i = 204; i<=205; i++) { data[i]=-1L; }
2088                for (int i = 208; i<=243; i++) { data[i]=-1L; }
2089                data[244]=70368744177663L;
2090                for (int i = 312; i<=639; i++) { data[i]=-1L; }
2091                for (int i = 996; i<=1003; i++) { data[i]=-1L; }
2092                return data;
2093        }
2094        public static final BitSet _tokenSet_6 = new BitSet(mk_tokenSet_6());
2095        
2096        }