Search in sources :

Example 1 with ClassAtom

use of org.apache.stanbol.rules.manager.atoms.ClassAtom in project stanbol by apache.

the class RuleParserImpl method classAtom.

public final ClassAtom classAtom() throws ParseException {
    IObjectAtom uri1;
    IObjectAtom uri2;
    jj_consume_token(IS);
    jj_consume_token(LPAR);
    uri1 = iObject();
    jj_consume_token(COMMA);
    uri2 = iObject();
    jj_consume_token(RPAR);
    {
        if (true)
            return new ClassAtom(uri1, uri2);
    }
    throw new Error("Missing return statement in function");
}
Also used : ClassAtom(org.apache.stanbol.rules.manager.atoms.ClassAtom) IObjectAtom(org.apache.stanbol.rules.manager.atoms.IObjectAtom)

Aggregations

ClassAtom (org.apache.stanbol.rules.manager.atoms.ClassAtom)1 IObjectAtom (org.apache.stanbol.rules.manager.atoms.IObjectAtom)1