Search in sources :

Example 1 with UpperCaseAtom

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

the class RuleParserImpl method upperCaseAtom.

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

Aggregations

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