Node expression = list.get(i);
if (expression instanceof SplatNode || expression instanceof ArgsCatNode) {
cases.add(new WhenNode(position, expression, bodyNode, null));
} else {
cases.add(new WhenOneArgNode(position, expression, bodyNode, null));
}
}
} else {
cases.add(sourceWhen);
}