Search in sources :

Example 1 with SubtractionAtom

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

the class RuleParserImpl method subtractionAtom.

public final SubtractionAtom subtractionAtom() throws ParseException {
    NumericFunctionAtom numericFunctionAtom1;
    NumericFunctionAtom numericFunctionAtom2;
    jj_consume_token(MINUS);
    jj_consume_token(LPAR);
    numericFunctionAtom1 = numericFunctionAtom();
    jj_consume_token(COMMA);
    numericFunctionAtom2 = numericFunctionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new SubtractionAtom(numericFunctionAtom1, numericFunctionAtom2);
    }
    throw new Error("Missing return statement in function");
}
Also used : NumericFunctionAtom(org.apache.stanbol.rules.manager.atoms.NumericFunctionAtom) SubtractionAtom(org.apache.stanbol.rules.manager.atoms.SubtractionAtom)

Aggregations

NumericFunctionAtom (org.apache.stanbol.rules.manager.atoms.NumericFunctionAtom)1 SubtractionAtom (org.apache.stanbol.rules.manager.atoms.SubtractionAtom)1