| | 1 | = Scopes = |
| | 2 | |
| | 3 | Support for nested scopes within a function body will be added. |
| | 4 | This will require changes to front, model, dynamic, state layers. |
| | 5 | |
| | 6 | == Changed to model layer == |
| | 7 | |
| | 8 | ScopeIF: |
| | 9 | Collection<LocalVariableIF> variables(); |
| | 10 | ScopeIF parent(); |
| | 11 | Iterator<ScopeIF> children(); |
| | 12 | int numChildren(); |
| | 13 | |
| | 14 | ModelIF: |
| | 15 | ScopeIF newScope(ScopeIF parentScope); |
| | 16 | LocationIF newLocation(ScopeIF scope, ...); |
| | 17 | methods to create locations need to specify scope instead of function |
| | 18 | |
| | 19 | FunctionIF: |
| | 20 | /* creating a function creates one scope automatically: */ |
| | 21 | ScopeIF outerScope(); |