File | ForStatement.str |
Author | Lennart Kats <lennart add lclnet.nl> |
Since | unknown |
14.14.2: The enhanced for statement
General | |
Lines of code | 46 |
Stratego | |
Module number | 1 (100% documented) |
Constructor number | 0 |
Overlay number | 0 |
Strategy number | 3 (33% documented) |
Rule number | 1 (100% documented) |
DynamicRule number | 0 |
Strategy summary |
||
dryad-tc-foreach(Strategy rec) | Define the type of and conversions for a local variable declared in an enhanced for loop | ForStatement.str |
get-foreach-rhs-value | n/a | ForStatement.str |
get-foreach-rhs-value | n/a | ForStatement.str |
Rule summary |
||
dryad-tc-foreach-add-conversion(Strategy rec) | The foreach is defined as a desugaring over the regular for; do on-the-fly desugaring to determine the required conversion | ForStatement.str |
Strategy details |
|||||||||
ATerm | dryad-tc-foreach(Strategy rec) | ||||||||
Define the type of and conversions for a local variable declared inan enhanced for loop. |
|||||||||
Rule details |
|||||||||
ATerm | dryad-tc-foreach-add-conversion(Strategy rec) | ||||||||
The foreach is defined as a desugaring over the regular for;do on-the-fly desugaring to determine the required conversion. |
|||||||||