Search in sources :

Example 1 with UnionAtom

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

the class RuleParserImpl method unionAtom.

public final RuleAtom unionAtom() throws ParseException {
    AtomList atomList1;
    AtomList atomList2;
    jj_consume_token(UNION);
    jj_consume_token(LPAR);
    atomList1 = atomList();
    jj_consume_token(COMMA);
    atomList2 = atomList();
    jj_consume_token(RPAR);
    {
        if (true)
            return new UnionAtom(atomList1, atomList2);
    }
    throw new Error("Missing return statement in function");
}
Also used : AtomList(org.apache.stanbol.rules.base.api.util.AtomList) UnionAtom(org.apache.stanbol.rules.manager.atoms.UnionAtom)

Aggregations

AtomList (org.apache.stanbol.rules.base.api.util.AtomList)1 UnionAtom (org.apache.stanbol.rules.manager.atoms.UnionAtom)1