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