use of org.apache.stanbol.rules.manager.atoms.EndsWithAtom in project stanbol by apache.
the class RuleParserImpl method endsWithAtom.
public final ComparisonAtom endsWithAtom() throws ParseException {
RuleAtom ruleAtom;
StringFunctionAtom arg;
StringFunctionAtom stringFunctionAtom;
jj_consume_token(ENDS_WITH);
jj_consume_token(LPAR);
arg = stringFunctionAtom();
jj_consume_token(COMMA);
stringFunctionAtom = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new EndsWithAtom(arg, stringFunctionAtom);
}
throw new Error("Missing return statement in function");
}
Aggregations