Package com.cloudbees.groovy.cps.impl
Class AssignmentBlock
java.lang.Object
com.cloudbees.groovy.cps.impl.CallSiteBlockSupport
com.cloudbees.groovy.cps.impl.AssignmentBlock
- All Implemented Interfaces:
Block,CallSiteBlock,Serializable
Assignment operator
exp=rhs
TODO: tuple assignment- 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
ConstructorsConstructorDescriptionAssignmentBlock(SourceLocation loc, Collection<CallSiteTag> tags, LValueBlock lhsExp, Block rhsExp, String compoundOp) -
Method Summary
Modifier and TypeMethodDescriptioneval(Env e, Continuation k) Executes this expression, then pass the result to the given continuation when it's available.Methods inherited from class com.cloudbees.groovy.cps.impl.CallSiteBlockSupport
getTags
-
Constructor Details
-
AssignmentBlock
public AssignmentBlock(SourceLocation loc, Collection<CallSiteTag> tags, LValueBlock lhsExp, Block rhsExp, String compoundOp)
-
-
Method Details
-
eval
Description copied from interface:BlockExecutes this expression, then pass the result to the given continuation when it's available.To be more precise, this method does not evaluate the expression by itself synchronously. Instead, the evaluation is done by the caller by repeatedly step executing the resulting
Nextobject.
-