/** Actually parse org.netbeans.modules.scala.core.rats.Keyword.keyword. */
private Result pkeyword$1(final int yyStart) throws IOException {
int yyC;
int yyIndex;
Result yyPredResult;
boolean yyPredMatched;
String yyValue;
ParseError yyError = ParseError.DUMMY;
// Alternative 1.
yyPredMatched = false;
yyC = character(yyStart);
if ('\'' == yyC) {
yyPredMatched = true;
}
if (! yyPredMatched) {
final int yyChoice1 = yyStart;
// Nested alternative 1.
yyC = character(yyChoice1);
if (-1 != yyC) {
yyIndex = yyChoice1 + 1;
switch (yyC) {
case 'a':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('b' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "abstract";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
break;
case 'c':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'a':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 's':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "case";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
case 't':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('h' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "catch";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'l':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "class";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'd':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'e':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('f' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "def";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
case 'o':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "do";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'e':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'l':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "else";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
case 'x':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('n' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('d' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "extends";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'f':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'a':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "false";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
case 'i':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('n' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
final int yyChoice2 = yyIndex;
// Nested alternative 1.
yyPredMatched = false;
yyPredResult = pidrest(yyChoice2);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "final";
return new SemanticValue(yyValue, yyChoice2, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
// Nested alternative 2.
yyC = character(yyChoice2);
if (-1 != yyC) {
yyIndex = yyChoice2 + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('y' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "finally";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
break;
case 'o':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
final int yyChoice2 = yyIndex;
// Nested alternative 1.
yyPredMatched = false;
yyPredResult = pidrest(yyChoice2);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "for";
return new SemanticValue(yyValue, yyChoice2, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
// Nested alternative 2.
yyC = character(yyChoice2);
if (-1 != yyC) {
yyIndex = yyChoice2 + 1;
if ('S' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('o' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('m' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "forSome";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'i':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'f':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "if";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case 'm':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('p' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'l':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "implicit";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case 'o':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "import";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'l':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('z' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('y' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "lazy";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
case 'm':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('h' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "match";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case 'n':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'e':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('w' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "new";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
case 'u':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "null";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'o':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'b':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('j' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "object";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case 'v':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('d' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "override";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'p':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'a':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('k' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('g' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "package";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
break;
case 'r':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'i':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('v' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "private";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case 'o':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('c' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('d' == yyC) {
yyPredMatched = false;
yyPredResult =
pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "protected";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'r':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'q':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('u' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "requires";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
}
}
break;
case 't':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('u' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('n' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "return";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
}
}
break;
case 's':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'e':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('d' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "sealed";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case 'u':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('p' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('r' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "super";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 't':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'h':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'i':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('s' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "this";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
case 'r':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('o' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('w' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "throw";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'r':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'a':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "trait";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
case 'y':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "try";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case 'u':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "true";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'y':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('p' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "type";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'v':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('a' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'l':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "val";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case 'r':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "var";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
default:
/* No match. */
}
}
}
}
}
break;
case 'w':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case 'h':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "while";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
break;
case 'i':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('t' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('h' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "with";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
break;
default:
/* No match. */
}
}
}
break;
case 'y':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('i' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('e' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('l' == yyC) {
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if ('d' == yyC) {
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "yield";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
}
}
}
}
}
}
break;
case '_':
{
yyPredMatched = false;
yyPredResult = pidrest(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "_";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '=':
{
final int yyChoice2 = yyIndex;
// Nested alternative 1.
yyC = character(yyChoice2);
if (-1 != yyC) {
yyIndex = yyChoice2 + 1;
if ('>' == yyC) {
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "=>";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
// Nested alternative 2.
yyPredMatched = false;
yyPredResult = popchar(yyChoice2);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "=";
return new SemanticValue(yyValue, yyChoice2, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '\u21d2':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "\u21d2";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '<':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
switch (yyC) {
case '-':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "<-";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case ':':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "<:";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '%':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "<%";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
default:
/* No match. */
}
}
}
break;
case '\u2190':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "\u2190";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '>':
{
yyC = character(yyIndex);
if (-1 != yyC) {
yyIndex = yyIndex + 1;
if (':' == yyC) {
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = ">:";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
}
}
break;
case ':':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = ":";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '#':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {
yyValue = "#";
return new SemanticValue(yyValue, yyIndex, yyError);
} else {
yyError = yyError.select("keyword expected", yyStart);
}
}
break;
case '@':
{
yyPredMatched = false;
yyPredResult = popchar(yyIndex);
if (yyPredResult.hasValue()) {
yyPredMatched = true;
}
if (! yyPredMatched) {