use of org.apache.stanbol.rules.manager.atoms.IObjectAtom in project stanbol by apache.
the class RuleParserImpl method datavaluedPropertyAtom.
public final DatavaluedPropertyAtom datavaluedPropertyAtom() throws ParseException {
IObjectAtom uri1;
IObjectAtom uri2;
RuleAtom obj;
jj_consume_token(VALUES);
jj_consume_token(LPAR);
uri1 = iObject();
jj_consume_token(COMMA);
uri2 = iObject();
jj_consume_token(COMMA);
obj = dObject();
jj_consume_token(RPAR);
{
if (true)
return new DatavaluedPropertyAtom(uri1, uri2, obj);
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.IObjectAtom in project stanbol by apache.
the class RuleParserImpl method namespaceAtom.
public final NamespaceAtom namespaceAtom() throws ParseException {
IObjectAtom uri;
jj_consume_token(NAMESPACE);
jj_consume_token(LPAR);
uri = iObject();
jj_consume_token(RPAR);
{
if (true)
return new NamespaceAtom(uri);
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.IObjectAtom in project stanbol by apache.
the class RuleParserImpl method typedLiteral.
public final IObjectAtom typedLiteral() throws ParseException {
IObjectAtom type = null;
switch((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case APOX:
jj_consume_token(APOX);
jj_consume_token(APOX);
type = reference();
break;
default:
jj_la1[14] = jj_gen;
}
{
if (true)
return type;
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.IObjectAtom in project stanbol by apache.
the class RuleParserImpl method letAtom.
public final LetAtom letAtom() throws ParseException {
IObjectAtom uri1;
StringFunctionAtom fun;
jj_consume_token(LET);
jj_consume_token(LPAR);
uri1 = iObject();
jj_consume_token(COMMA);
fun = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new LetAtom(uri1, fun);
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.IObjectAtom in project stanbol by apache.
the class RuleParserImpl method newIRIAtom.
public final NewIRIAtom newIRIAtom() throws ParseException {
IObjectAtom arg1;
StringFunctionAtom arg2;
jj_consume_token(NEW_IRI);
jj_consume_token(LPAR);
arg1 = iObject();
jj_consume_token(COMMA);
arg2 = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new NewIRIAtom(arg1, arg2);
}
throw new Error("Missing return statement in function");
}
Aggregations