Search in sources :

Example 1 with DifferentAtom

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

the class RuleParserImpl method differentFromAtom.

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

Aggregations

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