Class CaptureScope

All Implemented Interfaces:
Serializable, IScope

public class CaptureScope extends LocalScope
Used to actually hold the captured symbols. Note that the resolution out to the enclosing scope is switched on and off. This switching is based on entering and exiting the 'capture' via the antlr listeners. It is important because on entering the capture scope it must be possible to resolve varaiables in the enclosing Blocks before, so that variables can be captured). But on exiting the capture scope, the resolution must then only be within this scope and must not look outside to the enclosing scope.
See Also: