final public void Prolog() throws ParseException { label_1: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BASE: case PREFIX: ; break; default: jj_la1[2] = jj_gen; break label_1; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PREFIX: PrefixDecl(); break; case BASE: BaseDecl(); break; default: jj_la1[3] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
final public void TriplesNode() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: Collection(); break; case LBRACK: BlankNodePropertyList(); break; default: jj_la1[95] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void FilterOrBind() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FILTER: Filter(); break; case BIND: Bind(); break; default: jj_la1[62] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void TriplesNodePath() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: CollectionPath(); break; case LBRACK: BlankNodePropertyListPath(); break; default: jj_la1[96] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void IRIref() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case Q_IRI_REF: IRI(); break; case PNAME_NS: case PNAME_LN: PrefixedName(); break; default: jj_la1[148] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void DataBlock() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VAR1: case VAR2: InlineDataOneVar(); break; case LPAREN: case NIL: InlineDataFull(); break; default: jj_la1[29] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void VarOrIRIref() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VAR1: case VAR2: Var(); break; case Q_IRI_REF: case PNAME_NS: case PNAME_LN: IRIref(); break; default: jj_la1[102] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void ArgList() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case NIL: jj_consume_token(NIL); break; case LPAREN: jj_consume_token(LPAREN); Expression(); label_20: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[70] = jj_gen; break label_20; } jj_consume_token(COMMA); Expression(); } jj_consume_token(RPAREN); break; default: jj_la1[71] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void TriplesTemplate() throws ParseException { TriplesSameSubject(); label_19: while (true) { if (jj_2_3(2)) { ; } else { break label_19; } jj_consume_token(DOT); TriplesSameSubject(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOT: jj_consume_token(DOT); break; default: jj_la1[64] = jj_gen; ; } }
final public void TriplesBlock() throws ParseException { TriplesSameSubjectPath(); label_18: while (true) { if (jj_2_2(2)) { ; } else { break label_18; } jj_consume_token(DOT); TriplesSameSubjectPath(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOT: jj_consume_token(DOT); break; default: jj_la1[63] = jj_gen; ; } }
final public void NumericLiteral() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER: case DECIMAL: case DOUBLE: NumericLiteralUnsigned(); break; case INTEGER_POSITIVE: case DECIMAL_POSITIVE: case DOUBLE_POSITIVE: NumericLiteralPositive(); break; case INTEGER_NEGATIVE: case DECIMAL_NEGATIVE: case DOUBLE_NEGATIVE: NumericLiteralNegative(); break; default: jj_la1[140] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void Query() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SELECT: SelectQuery(); break; case CONSTRUCT: ConstructQuery(); break; case DESCRIBE: DescribeQuery(); break; case ASK: AskQuery(); break; default: jj_la1[4] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void BlankNode() throws ParseException { /*@bgen(jjtree) BlankNode */ ASTBlankNode jjtn000 = new ASTBlankNode(JJTBLANKNODE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BLANK_NODE_LABEL: t = jj_consume_token(BLANK_NODE_LABEL); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setID(t.image.substring(2)); break; case ANON: jj_consume_token(ANON); break; default: jj_la1[150] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
final public void Var() throws ParseException { /*@bgen(jjtree) Var */ ASTVar jjtn000 = new ASTVar(JJTVAR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VAR1: t = jj_consume_token(VAR1); break; case VAR2: t = jj_consume_token(VAR2); break; default: jj_la1[103] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setName(t.image.substring(1)); } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
final public void NumericFunction() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RAND: Rand(); break; case ABS: Abs(); break; case CEIL: Ceil(); break; case FLOOR: Floor(); break; case ROUND: Round(); break; default: jj_la1[129] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void GraphPatternNotTriples() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OPTIONAL: OptionalGraphPattern(); break; case LBRACE: GroupOrUnionGraphPattern(); break; case GRAPH: GraphGraphPattern(); break; case MINUS_SETOPER: MinusGraphPattern(); break; case SERVICE: ServiceGraphPattern(); break; case VALUES: InlineData(); break; default: jj_la1[65] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void HashFunction() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case MD5: MD5(); break; case SHA1: SHA1(); break; case SHA224: SHA224(); break; case SHA256: SHA256(); break; case SHA384: SHA384(); break; case SHA512: SHA512(); break; default: jj_la1[132] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void PrefixedName() throws ParseException { /*@bgen(jjtree) QName */ ASTQName jjtn000 = new ASTQName(JJTQNAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PNAME_LN: t = jj_consume_token(PNAME_LN); break; case PNAME_NS: t = jj_consume_token(PNAME_NS); break; default: jj_la1[149] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setValue(t.image); } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
final public void Aggregate() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COUNT: Count(); break; case SUM: Sum(); break; case MIN: Min(); break; case MAX: Max(); break; case AVG: Avg(); break; case SAMPLE: Sample(); break; case GROUP_CONCAT: GroupConcat(); break; default: jj_la1[117] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
final public void Verb() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case Q_IRI_REF: case PNAME_NS: case PNAME_LN: case VAR1: case VAR2: VarOrIRIref(); break; case IS_A: jj_consume_token(IS_A); ASTIRI jjtn001 = new ASTIRI(JJTIRI); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { jjtree.closeNodeScope(jjtn001, true); jjtc001 = false; jjtn001.setValue(RDF.TYPE.toString()); } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, true); } } break; default: jj_la1[94] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }