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