key property

int key
final

If indicated, the parent property provides the link to the parent Environment which contains this Environment. This models for example the nesting of code blocks, where for example variables declared in a for-loop should not be accessible after exiting the loop. The highest-up Environment (scope) has its parent property set to null, thus indicating it is the "global" scope.

Implementation

final int key;