Package com.cloudbees.groovy.cps
Interface Block
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CallSiteBlock
- All Known Implementing Classes:
ArrayAccessBlock,AssertBlock,AssignmentBlock,AttributeAccessBlock,Block.Noop,BlockScopedBlock,BreakBlock,CallSiteBlockSupport,CastBlock,ClosureBlock,CollectionLiteralBlock,ConstantBlock,ContinueBlock,DoWhileBlock,ElvisBlock,ExcrementOperatorBlock,ForInLoopBlock,ForLoopBlock,FunctionCallBlock,IfBlock,JavaThisBlock,ListBlock,LocalVariableBlock,LogicalOpBlock,LValueBlock,MapBlock,MethodPointerBlock,NewArrayBlock,NewArrayFromInitializersBlock,NotBlock,PropertyAccessBlock,ReturnBlock,SequenceBlock,SpreadBlock,SpreadMapBlock,StaticFieldBlock,SuperBlock,SuspendBlock,SwitchBlock,ThrowBlock,TryCatchBlock,VariableDeclBlock,WhileBlock,YieldBlock
AST Node of Groovy for CPS execution.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioneval(Env e, Continuation k) Executes this expression, then pass the result to the given continuation when it's available.
-
Field Details
-
NOOP
A function that does nothing.
-
-
Method Details
-
eval
Executes 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.
-