|
@@ -107,7 +107,14 @@ function forWalker (forLoop) {
|
|
? expressionWalker(forLoop.for_pass)
|
|
? expressionWalker(forLoop.for_pass)
|
|
: [];
|
|
: [];
|
|
const commands = forLoop.commands.map(commandWalker);
|
|
const commands = forLoop.commands.map(commandWalker);
|
|
- return { var_attribution, var_initial, condition, step_expression, commands };
|
|
|
|
|
|
+ return {
|
|
|
|
+ type: "repeatNtimes",
|
|
|
|
+ var_attribution,
|
|
|
|
+ var_initial,
|
|
|
|
+ condition,
|
|
|
|
+ step_expression,
|
|
|
|
+ commands,
|
|
|
|
+ };
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|