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");
}
Aggregations