}
_returnToken = _token;
}
public final void mDIRECTIVENAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
int _ttype; Token _token=null; int _begin=text.length();
_ttype = DIRECTIVENAME;
int _saveIndex;
boolean synPredMatched14 = false;
if (((LA(1)=='@') && (_tokenSet_3.member(LA(2))))) {
int _m14 = mark();
synPredMatched14 = true;
inputState.guessing++;
try {
{
match('@');
{
switch ( LA(1)) {
case '\t': case '\n': case '\r': case ' ':
{
mWS(false);
break;
}
case '-': case '0': case '1': case '2':
case '3': case '4': case '5': case '6':
case '7': case '8': case '9': case 'A':
case 'B': case 'C': case 'D': case 'E':
case 'F': case 'G': case 'H': case 'I':
case 'J': case 'K': case 'L': case 'M':
case 'N': case 'O': case 'P': case 'Q':
case 'R': case 'S': case 'T': case 'U':
case 'V': case 'W': case 'X': case 'Y':
case 'Z': case '_': case 'a': case 'b':
case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j':
case 'k': case 'l': case 'm': case 'n':
case 'o': case 'p': case 'q': case 'r':
case 's': case 't': case 'u': case 'v':
case 'w': case 'x': case 'y': case 'z':
{
break;
}
default:
{
throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
}
}
}
mREFINEDID(false);
mWS(false);
}
}
catch (RecognitionException pe) {
synPredMatched14 = false;
}
rewind(_m14);
inputState.guessing--;
}
if ( synPredMatched14 ) {
_saveIndex=text.length();
match('@');
text.setLength(_saveIndex);
{
switch ( LA(1)) {
case '\t': case '\n': case '\r': case ' ':
{
_saveIndex=text.length();
mWS(false);
text.setLength(_saveIndex);
break;
}
case '-': case '0': case '1': case '2':
case '3': case '4': case '5': case '6':
case '7': case '8': case '9': case 'A':
case 'B': case 'C': case 'D': case 'E':
case 'F': case 'G': case 'H': case 'I':
case 'J': case 'K': case 'L': case 'M':
case 'N': case 'O': case 'P': case 'Q':
case 'R': case 'S': case 'T': case 'U':
case 'V': case 'W': case 'X': case 'Y':
case 'Z': case '_': case 'a': case 'b':
case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j':
case 'k': case 'l': case 'm': case 'n':
case 'o': case 'p': case 'q': case 'r':
case 's': case 't': case 'u': case 'v':
case 'w': case 'x': case 'y': case 'z':
{
break;
}
default:
{
throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());
}
}
}
mREFINEDID(false);
_saveIndex=text.length();
mWS(false);
text.setLength(_saveIndex);
if ( inputState.guessing==0 ) {
if( iDirectiveNameSeen ) {
String t = new String(text.getBuffer(),_begin,text.length()-_begin);
setText( "@"+t );
/* System.out.println( "dns t:"+iDirectiveNameSeen+": "+$getText ); */
_ttype = DirectiveAntlrLexerTokenTypes.NONSPACE;
}
else {
/* System.out.println( "dns f:"+iDirectiveNameSeen+": "+$getText ); */
iDirectiveNameSeen = true;
}
}
}
else {
boolean synPredMatched17 = false;
if (((_tokenSet_4.member(LA(1))) && (_tokenSet_5.member(LA(2))))) {
int _m17 = mark();
synPredMatched17 = true;
inputState.guessing++;
try {
{
mID(false);
match('=');
}
}
catch (RecognitionException pe) {
synPredMatched17 = false;
}
rewind(_m17);
inputState.guessing--;
}
if ( synPredMatched17 ) {
mID(false);
_saveIndex=text.length();
match('=');
text.setLength(_saveIndex);
if ( inputState.guessing==0 ) {
_ttype = DirectiveAntlrLexerTokenTypes.ARGNAME; /* System.out.println( "dnan: "+$getText ); */
}
}
else if ((_tokenSet_0.member(LA(1))) && (true)) {
mNONSPACE(false);
if ( inputState.guessing==0 ) {
_ttype = DirectiveAntlrLexerTokenTypes.NONSPACE; /* System.out.println( "dnns: "+$getText ); */
}
}
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;
}