Lines 373-379
Link Here
|
373 |
printIndent(indent, output).append("for ("); //$NON-NLS-1$ |
373 |
printIndent(indent, output).append("for ("); //$NON-NLS-1$ |
374 |
this.elementVariable.printAsExpression(0, output); |
374 |
this.elementVariable.printAsExpression(0, output); |
375 |
output.append(" : ");//$NON-NLS-1$ |
375 |
output.append(" : ");//$NON-NLS-1$ |
376 |
this.collection.print(0, output).append(") "); //$NON-NLS-1$ |
376 |
if (this.collection != null) { |
|
|
377 |
this.collection.print(0, output).append(") "); //$NON-NLS-1$ |
378 |
} else { |
379 |
output.append(')'); |
380 |
} |
377 |
//block |
381 |
//block |
378 |
if (this.action == null) { |
382 |
if (this.action == null) { |
379 |
output.append(';'); |
383 |
output.append(';'); |
Lines 525-531
Link Here
|
525 |
|
529 |
|
526 |
if (visitor.visit(this, blockScope)) { |
530 |
if (visitor.visit(this, blockScope)) { |
527 |
this.elementVariable.traverse(visitor, this.scope); |
531 |
this.elementVariable.traverse(visitor, this.scope); |
528 |
this.collection.traverse(visitor, this.scope); |
532 |
if (this.collection != null) { |
|
|
533 |
this.collection.traverse(visitor, this.scope); |
534 |
} |
529 |
if (this.action != null) { |
535 |
if (this.action != null) { |
530 |
this.action.traverse(visitor, this.scope); |
536 |
this.action.traverse(visitor, this.scope); |
531 |
} |
537 |
} |