Search in sources :

Example 1 with PropStringAtom

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

the class RuleParserImpl method propStringAtom.

public final StringFunctionAtom propStringAtom() throws ParseException {
    StringFunctionAtom stringFunctionAtom1;
    StringFunctionAtom stringFunctionAtom2;
    jj_consume_token(PROP);
    jj_consume_token(LPAR);
    stringFunctionAtom1 = stringFunctionAtom();
    jj_consume_token(COMMA);
    stringFunctionAtom2 = stringFunctionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new PropStringAtom(stringFunctionAtom1, stringFunctionAtom2);
    }
    throw new Error("Missing return statement in function");
}
Also used : StringFunctionAtom(org.apache.stanbol.rules.manager.atoms.StringFunctionAtom) PropStringAtom(org.apache.stanbol.rules.manager.atoms.PropStringAtom)

Aggregations

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