Search in sources :

Example 1 with SameAtom

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

the class RuleParserImpl method sameAsAtom.

public final SameAtom sameAsAtom() throws ParseException {
    ExpressionAtom expressionAtom1;
    ExpressionAtom expressionAtom2;
    jj_consume_token(SAME);
    jj_consume_token(LPAR);
    expressionAtom1 = expressionAtom();
    jj_consume_token(COMMA);
    expressionAtom2 = expressionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new SameAtom(expressionAtom1, expressionAtom2);
    }
    throw new Error("Missing return statement in function");
}
Also used : SameAtom(org.apache.stanbol.rules.manager.atoms.SameAtom) ExpressionAtom(org.apache.stanbol.rules.manager.atoms.ExpressionAtom)

Aggregations

ExpressionAtom (org.apache.stanbol.rules.manager.atoms.ExpressionAtom)1 SameAtom (org.apache.stanbol.rules.manager.atoms.SameAtom)1