Uses of Class
org.ek9lang.compiler.symbols.CaptureScope
Packages that use 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
Methods in org.ek9lang.compiler.support that return CaptureScopeModifier and TypeMethodDescriptionBasicSymbolFactory.newDynamicVariableCapture
(ICanCaptureVariables scope, IScope enclosingBlockScope) SymbolFactory.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
Methods in org.ek9lang.compiler.symbols that return CaptureScopeModifier and TypeMethodDescriptionCaptureScope.cloneIntoCaptureScope
(CaptureScope newCopy) Clones the content of this into the new copy.Methods in org.ek9lang.compiler.symbols that return types with arguments of type CaptureScopeModifier and TypeMethodDescriptionCaptureScopedSymbol.getCapturedVariables()
ICanCaptureVariables.getCapturedVariables()
Make the scope that holds the captured variables (if any accessible).StackConsistencyScope.getCapturedVariables()
Methods in org.ek9lang.compiler.symbols with parameters of type CaptureScopeModifier 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) Method parameters in org.ek9lang.compiler.symbols with type arguments of type CaptureScopeModifier and TypeMethodDescriptionvoid
CaptureScopedSymbol.setCapturedVariables
(Optional<CaptureScope> capturedVariables)