Search in sources :

Example 1 with StrAtom

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

the class RuleParserImpl method strAtom.

public final StrAtom strAtom() throws ParseException {
    IObjectAtom uri;
    jj_consume_token(STR);
    jj_consume_token(LPAR);
    uri = iObject();
    jj_consume_token(RPAR);
    {
        if (true)
            return new StrAtom(uri);
    }
    throw new Error("Missing return statement in function");
}
Also used : IObjectAtom(org.apache.stanbol.rules.manager.atoms.IObjectAtom) StrAtom(org.apache.stanbol.rules.manager.atoms.StrAtom)

Aggregations

IObjectAtom (org.apache.stanbol.rules.manager.atoms.IObjectAtom)1 StrAtom (org.apache.stanbol.rules.manager.atoms.StrAtom)1