public final void mATOM(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = ATOM; int _saveIndex; { int _cnt26=0; _loop26: do { if ((_tokenSet_0.member(LA(1)))) { mIDENTIFIER_PART(false); } else { if ( _cnt26>=1 ) { break _loop26; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt26++; } while (true); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
theRetToken=_returnToken; else if ((_tokenSet_0.member(LA(1)))) { mATOM(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _ttype = testLiteralsTable(_ttype); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
if ((_tokenSet_0.member(LA(1)))) { mIDENT(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
public final void mTOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = TOKEN; int _saveIndex; { int _cnt18=0; _loop18: do { if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { if ( _cnt18>=1 ) { break _loop18; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt18++; } while (true); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = WS; int _saveIndex; if ( _cnt21>=1 ) { break _loop21; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
theRetToken=_returnToken; else if ((_tokenSet_0.member(LA(1))) && (true)) { mNOT_STMT_END(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _ttype = testLiteralsTable(_ttype); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = WS; int _saveIndex; if ( _cnt29>=1 ) { break _loop29; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin));
else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _ttype = testLiteralsTable(_ttype); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
protected final void mID_LETTER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = ID_LETTER; int _saveIndex; if ((_tokenSet_0.member(LA(1)))) { mID_START_LETTER(false); } else if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
theRetToken=_returnToken; else if ((_tokenSet_0.member(LA(1)))) { mIDENT(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
protected final void mID_LETTER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = ID_LETTER; int _saveIndex; if ((_tokenSet_0.member(LA(1)))) { mID_START_LETTER(false); } else if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
theRetToken=_returnToken; else if ((LA(1)=='/') && (_tokenSet_0.member(LA(2)))) { mRegionPath(true); theRetToken=_returnToken; theRetToken=_returnToken; else if ((_tokenSet_1.member(LA(1)))) { mIdentifier(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
protected final void mBINARY_DIGIT(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = BINARY_DIGIT; int _saveIndex; { switch ( LA(1)) { case '0': { match('0'); break; } case '1': { match('1'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
theRetToken=_returnToken; else if ((_tokenSet_0.member(LA(1)))) { mIDENT(true); theRetToken=_returnToken; else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
public final void mCHAR_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = CHAR_LITERAL; int _saveIndex; match('\''); { if ((LA(1)=='\\')) { mESC(false); } else if ((_tokenSet_3.member(LA(1)))) { matchNot('\''); } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } match('\''); if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
protected final void mFLOAT_SUFFIX(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = FLOAT_SUFFIX; int _saveIndex; switch ( LA(1)) { case 'f': { match('f'); break; } case 'd': { match('d'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} _ttype = _returnToken.getType(); _returnToken.setType(_ttype); return _returnToken; throw new TokenStreamRecognitionException(e); throw new TokenStreamIOException(((CharStreamIOException)cse).io); throw new TokenStreamException(cse.getMessage());
protected final void mNameFirstCharacter(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NameFirstCharacter; int _saveIndex; { if ((_tokenSet_2.member(LA(1)))) { mLETTER(false); } else if ((LA(1)=='_')) { match('_'); } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }