Search in sources :

Example 1 with DatavaluedPropertyAtom

use of org.apache.stanbol.rules.manager.atoms.DatavaluedPropertyAtom 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");
}
Also used : DatavaluedPropertyAtom(org.apache.stanbol.rules.manager.atoms.DatavaluedPropertyAtom) IObjectAtom(org.apache.stanbol.rules.manager.atoms.IObjectAtom) RuleAtom(org.apache.stanbol.rules.base.api.RuleAtom)

Aggregations

RuleAtom (org.apache.stanbol.rules.base.api.RuleAtom)1 DatavaluedPropertyAtom (org.apache.stanbol.rules.manager.atoms.DatavaluedPropertyAtom)1 IObjectAtom (org.apache.stanbol.rules.manager.atoms.IObjectAtom)1