127 | | way to do this is to extend the current class scope with the needed iterators (as we do also |
128 | | for the current front-end). |
| 127 | way to do this is to extend the current class scope with a new node InstNode.SCOPE_NODE which |
| 128 | can contain a stack of iterators. The lookup needs to be changed to handle this new node. |
| 129 | |
| 130 | For things that are not implemented yet, or additional error messages for debugging |
| 131 | is good to add error messages using getInstanceName (as is easy to copy/paste without |
| 132 | changing the name of the function). |
| 133 | Example: |
| 134 | {{{ |
| 135 | assert(false, getInstanceName() + " got unknown class"); |
| 136 | }}} |