if (!expr) context.consumeCurrentValue();
}
}
public void compileXStr(Node node, BodyCompiler context, boolean expr) {
final XStrNode xstrNode = (XStrNode) node;
ArgumentsCallback argsCallback = new ArgumentsCallback() {
public int getArity() {
return 1;
}
public void call(BodyCompiler context) {
// FIXME: shouldn't this have codeRange like StrNode?
context.createNewString(xstrNode.getValue(), StringSupport.CR_UNKNOWN);
}
};
context.getInvocationCompiler().invokeDynamic("`", null, argsCallback, CallType.FUNCTIONAL, null, false);
// TODO: don't require pop
if (!expr) context.consumeCurrentValue();