Package com.strobel.compilerservices
Class Closure
java.lang.Object
com.strobel.compilerservices.Closure
Represents the runtime state of a dynamically generated method.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
constants
Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method. -
locals
Represents the hoisted local variables from the parent context.
-
-
Constructor Details
-
Closure
Creates an object to hold state of a dynamically generated method.- Parameters:
constants
- The constant values used by the method.locals
- The hoisted local variables from the parent context.
-