Search in sources :

Example 1 with DivisionAtom

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

the class RuleParserImpl method divisionAtom.

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

Aggregations

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