use of org.apache.stanbol.rules.manager.atoms.NumericVariableAtom in project stanbol by apache.
the class RuleParserImpl method numericVariable.
public final NumericVariableAtom numericVariable() throws ParseException {
Token t;
String var;
t = jj_consume_token(VARIABLE);
var = t.image;
var = kb.getPrefixURI("var") + var.substring(1);
try {
{
if (true)
return new NumericVariableAtom(new URI(var), false);
}
} catch (URISyntaxException e) {
e.printStackTrace();
{
if (true)
return null;
}
}
throw new Error("Missing return statement in function");
}
Aggregations