Search in sources :

Example 1 with ConcatAtom

use of org.apache.stanbol.rules.manager.atoms.ConcatAtom in project stanbol by apache.

the class RuleParserImpl method concatAtom.

public final ConcatAtom concatAtom() throws ParseException {
    StringFunctionAtom arg1;
    StringFunctionAtom arg2;
    jj_consume_token(CONCAT);
    jj_consume_token(LPAR);
    arg1 = stringFunctionAtom();
    jj_consume_token(COMMA);
    arg2 = stringFunctionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new ConcatAtom(arg1, arg2);
    }
    throw new Error("Missing return statement in function");
}
Also used : StringFunctionAtom(org.apache.stanbol.rules.manager.atoms.StringFunctionAtom) ConcatAtom(org.apache.stanbol.rules.manager.atoms.ConcatAtom)

Aggregations

ConcatAtom (org.apache.stanbol.rules.manager.atoms.ConcatAtom)1 StringFunctionAtom (org.apache.stanbol.rules.manager.atoms.StringFunctionAtom)1