super.compileMatch2(node, context, expr);
return;
}
// match with capture logic
final Match2CaptureNode matchNode = (Match2CaptureNode) node;
compile(matchNode.getReceiverNode(), context,true);
CompilerCallback value = new CompilerCallback() {
public void call(BodyCompiler context) {
compile(matchNode.getValueNode(), context,true);
}
};
context.match2Capture(value, matchNode.getScopeOffsets(), true);
// TODO: don't require pop
if (!expr) context.consumeCurrentValue();
}