Search in sources :

Example 1 with NamespaceAtom

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

the class RuleParserImpl method namespaceAtom.

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

Aggregations

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