Result yyResult;
int yyRepetition1;
int yyRepetition2;
boolean yyRepeated2;
String yyValue;
ParseError yyError = ParseError.DUMMY;
// Alternative 1.
yyC = character(yyStart);
if (-1 != yyC) {
yyIndex = yyStart + 1;
switch (yyC) {
case '\"':
{
yyRepetition1 = yyIndex;
while (true) {
final int yyChoice1 = yyRepetition1;
// Nested alternative 1.
yyC = character(yyChoice1);
if (-1 != yyC) {
yyIndex = yyChoice1 + 1;
switch (yyC) {
case '\"':
case '&':
case '<':
/* No match. */
break;
default:
{
yyRepetition1 = yyIndex;
continue;
}
}
}
// Nested alternative 2.
yyC = character(yyChoice1);
if (-1 != yyC) {
yyIndex = yyChoice1 + 1;
if ('&' == yyC) {
final int yyChoice2 = yyIndex;
// Nested alternative 1.
yyResult = pParserScala$xmlName(yyChoice2);
yyError = yyResult.select(yyError, yyRepetition1);
if (yyResult.hasValue()) {
yyC = character(yyResult.index);
if (';' == yyC) {
yyIndex = yyResult.index + 1;
yyRepetition1 = yyIndex;
continue;
}
}
// Nested alternative 2.
yyC = character(yyChoice2);
if (-1 != yyC) {
yyIndex = yyChoice2 + 1;
if ('#' == yyC) {
final int yyChoice3 = yyIndex;
// Nested alternative 1.
yyRepetition2 = yyChoice3;
yyRepeated2 = false;
while (true) {
yyC = character(yyRepetition2);
if (-1 != yyC) {
yyIndex = yyRepetition2 + 1;
switch (yyC) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
yyRepetition2 = yyIndex;
yyRepeated2 = true;
continue;
}
default:
/* No match. */
}
}
break;
}
if (yyRepeated2) {
yyC = character(yyRepetition2);
if (';' == yyC) {
yyIndex = yyRepetition2 + 1;
yyRepetition1 = yyIndex;
continue;
}
}
// Nested alternative 2.
yyC = character(yyChoice3);
if (-1 != yyC) {
yyIndex = yyChoice3 + 1;
if ('x' == yyC) {
yyRepetition2 = yyIndex;
yyRepeated2 = false;
while (true) {
yyC = character(yyRepetition2);
if (-1 != yyC) {
yyIndex = yyRepetition2 + 1;
switch (yyC) {
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 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
{
yyRepetition2 = yyIndex;
yyRepeated2 = true;
continue;
}
default:
/* No match. */
}
}
break;
}
if (yyRepeated2) {
yyC = character(yyRepetition2);
if (';' == yyC) {
yyIndex = yyRepetition2 + 1;
yyRepetition1 = yyIndex;
continue;
}
}
}
}
}
}
}
}
break;
}
yyC = character(yyRepetition1);
if ('\"' == yyC) {
yyIndex = yyRepetition1 + 1;
yyValue = difference(yyStart, yyIndex);
return new SemanticValue(yyValue, yyIndex, yyError);
}
}
break;
case '\'':
{
yyRepetition1 = yyIndex;
while (true) {
final int yyChoice1 = yyRepetition1;
// Nested alternative 1.
yyC = character(yyChoice1);
if (-1 != yyC) {
yyIndex = yyChoice1 + 1;
switch (yyC) {
case '&':
case '\'':
case '<':
/* No match. */
break;
default:
{
yyRepetition1 = yyIndex;
continue;
}
}
}
// Nested alternative 2.
yyC = character(yyChoice1);
if (-1 != yyC) {
yyIndex = yyChoice1 + 1;
if ('&' == yyC) {
final int yyChoice2 = yyIndex;
// Nested alternative 1.
yyResult = pParserScala$xmlName(yyChoice2);
yyError = yyResult.select(yyError, yyRepetition1);
if (yyResult.hasValue()) {
yyC = character(yyResult.index);
if (';' == yyC) {
yyIndex = yyResult.index + 1;
yyRepetition1 = yyIndex;
continue;
}
}
// Nested alternative 2.
yyC = character(yyChoice2);
if (-1 != yyC) {
yyIndex = yyChoice2 + 1;
if ('#' == yyC) {
final int yyChoice3 = yyIndex;
// Nested alternative 1.
yyRepetition2 = yyChoice3;
yyRepeated2 = false;
while (true) {
yyC = character(yyRepetition2);
if (-1 != yyC) {
yyIndex = yyRepetition2 + 1;
switch (yyC) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
{
yyRepetition2 = yyIndex;
yyRepeated2 = true;
continue;
}
default:
/* No match. */
}
}
break;
}
if (yyRepeated2) {
yyC = character(yyRepetition2);
if (';' == yyC) {
yyIndex = yyRepetition2 + 1;
yyRepetition1 = yyIndex;
continue;
}
}
// Nested alternative 2.
yyC = character(yyChoice3);
if (-1 != yyC) {
yyIndex = yyChoice3 + 1;
if ('x' == yyC) {
yyRepetition2 = yyIndex;
yyRepeated2 = false;
while (true) {
yyC = character(yyRepetition2);
if (-1 != yyC) {
yyIndex = yyRepetition2 + 1;
switch (yyC) {
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 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
{
yyRepetition2 = yyIndex;
yyRepeated2 = true;
continue;
}
default:
/* No match. */
}
}
break;
}
if (yyRepeated2) {
yyC = character(yyRepetition2);
if (';' == yyC) {
yyIndex = yyRepetition2 + 1;
yyRepetition1 = yyIndex;
continue;
}
}
}
}
}
}
}
}
break;
}
yyC = character(yyRepetition1);
if ('\'' == yyC) {
yyIndex = yyRepetition1 + 1;
yyValue = difference(yyStart, yyIndex);
return new SemanticValue(yyValue, yyIndex, yyError);
}
}
break;
default:
/* No match. */
}
}
// Done.
yyError = yyError.select("xml att value expected", yyStart);
return yyError;
}