}
throw new Error("Missing return statement in function");
}
final public AtomList[] ruleDefinition() throws ParseException {
AtomList body;
AtomList head;
Token t;
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case LARROW:
case SAME:
case DIFFERENT:
case LESSTHAN:
case GREATERTHAN:
case IS:
case NEW_NODE:
case STARTS_WITH:
case ENDS_WITH:
case LET:
case HAS:
case VALUES:
case NOT:
case UNION:
case IS_BLANK:
body = atomList();
jj_consume_token(LARROW);
head = atomList();
{
if (true)
return new AtomList[] { body, head };
}
break;
case SPARQL_C:
jj_consume_token(SPARQL_C);
jj_consume_token(LPAR);
t = jj_consume_token(SPARQL_STRING);
jj_consume_token(RPAR);
RuleAtom sparqlAtom = new SPARQLcAtom(t.image);
AtomList atomList = new AtomList();
atomList.addToHead(sparqlAtom);
{
if (true)
return new AtomList[] { atomList };
}
break;
case SPARQL_D:
jj_consume_token(SPARQL_D);
jj_consume_token(LPAR);
t = jj_consume_token(SPARQL_STRING);
jj_consume_token(RPAR);
RuleAtom sparqlDAtom = new SPARQLdAtom(t.image);
AtomList atomDList = new AtomList();
atomDList.addToHead(sparqlDAtom);
{
if (true)
return new AtomList[] { atomDList };
}
break;
case SPARQL_DD:
jj_consume_token(SPARQL_DD);
jj_consume_token(LPAR);
t = jj_consume_token(SPARQL_STRING);
jj_consume_token(RPAR);
RuleAtom sparqlDDAtom = new SPARQLddAtom(t.image);
AtomList atomDDList = new AtomList();
atomDDList.addToHead(sparqlDDAtom);
{
if (true)
return new AtomList[] { atomDDList };
}
break;