Search in sources :

Example 1 with CreateLabelAtom

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

the class RuleParserImpl method createLabelAtom.

public final StringFunctionAtom createLabelAtom() throws ParseException {
    StringFunctionAtom stringFunctionAtom;
    jj_consume_token(CREATE_LABEL);
    jj_consume_token(LPAR);
    stringFunctionAtom = stringFunctionAtom();
    jj_consume_token(RPAR);
    {
        if (true)
            return new CreateLabelAtom(stringFunctionAtom);
    }
    throw new Error("Missing return statement in function");
}
Also used : StringFunctionAtom(org.apache.stanbol.rules.manager.atoms.StringFunctionAtom) CreateLabelAtom(org.apache.stanbol.rules.manager.atoms.CreateLabelAtom)

Aggregations

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