Search in sources :

Example 1 with NewIRIAtom

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

the class RuleParserImpl method newIRIAtom.

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

Aggregations

IObjectAtom (org.apache.stanbol.rules.manager.atoms.IObjectAtom)1 NewIRIAtom (org.apache.stanbol.rules.manager.atoms.NewIRIAtom)1 StringFunctionAtom (org.apache.stanbol.rules.manager.atoms.StringFunctionAtom)1