in jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/xpath/XPath.java [7872:7953]
final public void SequenceType() throws ParseException {
/*@bgen(jjtree) SequenceType */
SimpleNode jjtn000 = new SimpleNode(this, JJTSEQUENCETYPE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case Item:
case ElementType:
case AttributeType:
case SchemaElementType:
case SchemaAttributeType:
case DocumentLpar:
case DocumentLparForKindTest:
case NodeLpar:
case CommentLpar:
case TextLpar:
case ProcessingInstructionLpar:
case ElementTypeForKindTest:
case ElementTypeForDocumentTest:
case AttributeTypeForKindTest:
case SchemaElementTypeForKindTest:
case SchemaElementTypeForDocumentTest:
case SchemaAttributeTypeForKindTest:
case ProcessingInstructionLparForKindTest:
case TextLparForKindTest:
case CommentLparForKindTest:
case NodeLparForKindTest:
case QNameForSequenceType:
case QNameForAtomicType:
ItemType();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case OccurrenceZeroOrOne:
case OccurrenceZeroOrMore:
case OccurrenceOneOrMore:
OccurrenceIndicator();
break;
default:
jj_la1[140] = jj_gen;
;
}
break;
case EmptyTok:
jj_consume_token(EmptyTok);
SimpleNode jjtn001 = new SimpleNode(this, JJTEMPTYTOK);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
jjtree.closeNodeScope(jjtn001, true);
jjtc001 = false;
jjtn001.processToken(token);
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, true);
}
}
break;
default:
jj_la1[141] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}