use of org.apache.stanbol.rules.manager.atoms.StringFunctionAtom 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");
}
use of org.apache.stanbol.rules.manager.atoms.StringFunctionAtom 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");
}
use of org.apache.stanbol.rules.manager.atoms.StringFunctionAtom in project stanbol by apache.
the class RuleParserImpl method newLiteralAtom.
public final NewLiteralAtom newLiteralAtom() throws ParseException {
IObjectAtom arg1;
StringFunctionAtom arg2;
jj_consume_token(NEW_LITERAL);
jj_consume_token(LPAR);
arg1 = iObject();
jj_consume_token(COMMA);
arg2 = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new NewLiteralAtom(arg1, arg2);
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.StringFunctionAtom in project stanbol by apache.
the class RuleParserImpl method concatAtom.
public final ConcatAtom concatAtom() throws ParseException {
StringFunctionAtom arg1;
StringFunctionAtom arg2;
jj_consume_token(CONCAT);
jj_consume_token(LPAR);
arg1 = stringFunctionAtom();
jj_consume_token(COMMA);
arg2 = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new ConcatAtom(arg1, arg2);
}
throw new Error("Missing return statement in function");
}
use of org.apache.stanbol.rules.manager.atoms.StringFunctionAtom in project stanbol by apache.
the class RuleParserImpl method endsWithAtom.
public final ComparisonAtom endsWithAtom() throws ParseException {
RuleAtom ruleAtom;
StringFunctionAtom arg;
StringFunctionAtom stringFunctionAtom;
jj_consume_token(ENDS_WITH);
jj_consume_token(LPAR);
arg = stringFunctionAtom();
jj_consume_token(COMMA);
stringFunctionAtom = stringFunctionAtom();
jj_consume_token(RPAR);
{
if (true)
return new EndsWithAtom(arg, stringFunctionAtom);
}
throw new Error("Missing return statement in function");
}
Aggregations