1062106310641065106610671068
/* user code: */ StringBuffer string = new StringBuffer(128); private QvtSymbol token(short id) { return new QvtSymbol(id, yyline+1, yychar, yychar+yylength(), yytext()); }
1067106810691070107110721073
return new QvtSymbol(id, yyline+1, yychar, yychar+yylength(), yytext()); } private QvtSymbol token(short id, Object value) { return new QvtSymbol(id, yyline+1, yychar, yychar+yylength(), value); }
1072107310741075107610771078
return new QvtSymbol(id, yyline+1, yychar, yychar+yylength(), value); } private QvtSymbol token(short id, int lineStart, int charStart, int charEnd, Object value) { return new QvtSymbol(id, lineStart, charStart, charEnd, value); }
21362137213821392140214121422143214421452146
} case 360: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; { return new QvtSymbol(Terminals.EOF, "end-of-file"); } } else { zzScanError(ZZ_NO_MATCH); }
808809810811812813814
813814815816817818819
818819820821822823824
17021703170417051706170717081709171017111712
} case 270: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; { return new QvtSymbol(Terminals.EOF, "end-of-file"); } } else { zzScanError(ZZ_NO_MATCH); }
654655656657658659660661662663664665666
{ int start = 0; int length = 0; if(token instanceof QvtSymbol){ QvtSymbol qvtSymbol = (QvtSymbol)token; start = qvtSymbol.getCharStart(); length = qvtSymbol.getCharEnd() - qvtSymbol.getCharStart(); } String msg = "Syntax Error : Unexpected token"; if(token.getId()>0 && token.getId()<QvtSyntaxAnalyser.Terminals.NAMES.length) msg += " "+QvtSyntaxAnalyser.Terminals.NAMES[token.getId()];
673674675676677678679680681682683684685
{ int start = 0; int length = 0; if(token instanceof QvtSymbol){ QvtSymbol qvtSymbol = (QvtSymbol)token; start = qvtSymbol.getCharStart(); length = qvtSymbol.getCharEnd() - qvtSymbol.getCharStart(); } String msg = "Recovered : Removed unexpected token"; if(token.getId()>0 && token.getId()<QvtSyntaxAnalyser.Terminals.NAMES.length) msg += " "+QvtSyntaxAnalyser.Terminals.NAMES[token.getId()];