use of org.apache.stanbol.rules.manager.atoms.SumAtom in project stanbol by apache.
the class RuleParserImpl method sumAtom.
public final SumAtom sumAtom() throws ParseException {
NumericFunctionAtom numericFunctionAtom1;
NumericFunctionAtom numericFunctionAtom2;
jj_consume_token(PLUS);
jj_consume_token(LPAR);
numericFunctionAtom1 = numericFunctionAtom();
jj_consume_token(COMMA);
numericFunctionAtom2 = numericFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new SumAtom(numericFunctionAtom1, numericFunctionAtom2);
}
throw new Error("Missing return statement in function");
}
Aggregations