Package com.cloudbees.groovy.cps.impl
Class LocalVariableBlock
java.lang.Object
com.cloudbees.groovy.cps.LValueBlock
com.cloudbees.groovy.cps.impl.LocalVariableBlock
- All Implemented Interfaces:
Block,Serializable
Access to local variables and method parameters.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.cloudbees.groovy.cps.Block
Block.Noop -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionLocalVariableBlock(SourceLocation loc, String name) LocalVariableBlock(String name) -
Method Summary
Modifier and TypeMethodDescriptionevalLValue(Env e, Continuation k) Evaluate the block asLValueand pass it toContinuationwhen done.Methods inherited from class com.cloudbees.groovy.cps.LValueBlock
asLValue, eval
-
Constructor Details
-
LocalVariableBlock
-
LocalVariableBlock
-
-
Method Details
-
evalLValue
Description copied from class:LValueBlockEvaluate the block asLValueand pass it toContinuationwhen done.LValuecan then be used to set the value.- Specified by:
evalLValuein classLValueBlock
-