Uses of Class
org.ek9lang.compiler.symbols.CaptureScope
Package
Description
Contains critical general components used in the
Ek9Compiler
listeners.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of CaptureScope in org.ek9lang.compiler.support
Modifier and TypeMethodDescriptionSymbolFactory.newDynamicVariableCapture
(ICanCaptureVariables scope, IScope enclosingBlockScope) Create a new local scope just for variables to be defined/captured in for dynamic classes/functions. -
Uses of CaptureScope in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionCaptureScope.cloneIntoCaptureScope
(CaptureScope newCopy) Clones the content of this into the new copy.Modifier and TypeMethodDescriptionCaptureScopedSymbol.getCapturedVariables()
ICanCaptureVariables.getCapturedVariables()
Make the scope that holds the captured variables (if any accessible).StackConsistencyScope.getCapturedVariables()
Modifier and TypeMethodDescriptionCaptureScope.cloneIntoCaptureScope
(CaptureScope newCopy) Clones the content of this into the new copy.void
CaptureScopedSymbol.setCapturedVariables
(CaptureScope capturedVariables) It is possible to capture variables in the current scope and pull them into the function, so they can be used.void
ICanCaptureVariables.setCapturedVariables
(CaptureScope capturedVariables) So that a number of variables can be captured when a new dynamic type is defined.void
StackConsistencyScope.setCapturedVariables
(CaptureScope capturedVariables) Modifier and TypeMethodDescriptionvoid
CaptureScopedSymbol.setCapturedVariables
(Optional<CaptureScope> capturedVariables)