use of org.apache.stanbol.rules.manager.atoms.NewLiteralAtom in project stanbol by apache.
the class RuleParserImpl method newLiteralAtom.
public final NewLiteralAtom newLiteralAtom() throws ParseException {
IObjectAtom arg1;
StringFunctionAtom arg2;
jj_consume_token(NEW_LITERAL);
jj_consume_token(LPAR);
arg1 = iObject();
jj_consume_token(COMMA);
arg2 = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new NewLiteralAtom(arg1, arg2);
}
throw new Error("Missing return statement in function");
}
Aggregations