Uses of Interface
com.cloudbees.groovy.cps.Continuation
Packages that use Continuation
Package
Description
Even though classes in this package is public, they should not be referenced from outside this library.
-
Uses of Continuation in com.cloudbees.groovy.cps
Classes in com.cloudbees.groovy.cps that implement ContinuationModifier and TypeClassDescriptionstatic final classSingleton implementation that maintains the singleton-ness across serializationfinal classRemaining computation to execute.Fields in com.cloudbees.groovy.cps declared as ContinuationModifier and TypeFieldDescriptionstatic final ContinuationContinuation.HALTIndicates the end of a program.final ContinuationNext.kMethods in com.cloudbees.groovy.cps that return ContinuationModifier and TypeMethodDescriptionEnv.getBreakAddress(String label) If we see a break statement, where should we go?Env.getContinueAddress(String label) If we see a continue statement, where should we go?Env.getExceptionHandler(Class<? extends Throwable> type) Finds the exception handler that catches aThrowableinstance of this type.Env.getReturnAddress()Where should the return statement return to?Methods in com.cloudbees.groovy.cps with parameters of type ContinuationModifier and TypeMethodDescriptionBlock.eval(Env e, Continuation k) Executes this expression, then pass the result to the given continuation when it's available.Block.Noop.eval(Env e, Continuation k) final NextLValueBlock.eval(Env e, Continuation k) Evaluates to the value.protected abstract NextLValueBlock.evalLValue(Env e, Continuation k) Evaluate the block asLValueand pass it toContinuationwhen done.LValue.get(Continuation k) Computes the value, and passes it to the given continuation when done.Outcome.resumeFrom(Env e, Continuation k) LValue.set(Object v, Continuation k) Sets the given value to this variable, and passesnullto the given continuation when done.static NextNext.yield(Object v, Env e, Continuation k) Creates aNextobject that causes the interpreter loop to exit with the specified value, then optionally allow the interpreter to resume with the specifiedContinuation.Constructors in com.cloudbees.groovy.cps with parameters of type ContinuationModifierConstructorDescriptionContinuable(groovy.lang.Script cpsTransformedScript, Env env, Continuation k) Next(Block f, Env e, Continuation k) Next(Env e, Continuation k, Outcome yield) -
Uses of Continuation in com.cloudbees.groovy.cps.impl
Methods in com.cloudbees.groovy.cps.impl that return ContinuationModifier and TypeMethodDescriptionCaseEnv.getBreakAddress(String label) ProxyEnv.getBreakAddress(String label) TryBlockEnv.getBreakAddress(String label) ProxyEnv.getContinueAddress(String label) TryBlockEnv.getContinueAddress(String label) ProxyEnv.getExceptionHandler(Class<? extends Throwable> type) TryBlockEnv.getExceptionHandler(Class<? extends Throwable> type) ProxyEnv.getReturnAddress()TryBlockEnv.getReturnAddress()Methods in com.cloudbees.groovy.cps.impl with parameters of type ContinuationModifier and TypeMethodDescriptionvoidTryBlockEnv.addHandler(Class<? extends Throwable> type, Continuation k) Handlers can be only added immediately after instantiation.AssertBlock.eval(Env e, Continuation k) AssignmentBlock.eval(Env e, Continuation k) BlockScopedBlock.eval(Env _e, Continuation k) BreakBlock.eval(Env e, Continuation k) CastBlock.eval(Env e, Continuation k) ClosureBlock.eval(Env e, Continuation k) CollectionLiteralBlock.eval(Env e, Continuation k) ConstantBlock.eval(Env e, Continuation k) ContinueBlock.eval(Env e, Continuation k) DoWhileBlock.eval(Env e, Continuation k) ElvisBlock.eval(Env e, Continuation k) ExcrementOperatorBlock.eval(Env e, Continuation k) ForInLoopBlock.eval(Env e, Continuation k) ForLoopBlock.eval(Env e, Continuation k) FunctionCallBlock.eval(Env e, Continuation k) IfBlock.eval(Env e, Continuation k) JavaThisBlock.eval(Env e, Continuation k) LogicalOpBlock.eval(Env e, Continuation k) MethodPointerBlock.eval(Env e, Continuation k) NewArrayBlock.eval(Env e, Continuation k) NotBlock.eval(Env e, Continuation k) ReturnBlock.eval(Env e, Continuation k) SequenceBlock.eval(Env e, Continuation k) SpreadBlock.eval(Env e, Continuation k) SpreadMapBlock.eval(Env e, Continuation k) SuperBlock.eval(Env e, Continuation k) SuspendBlock.eval(Env e, Continuation k) SwitchBlock.eval(Env e, Continuation k) ThrowBlock.eval(Env e, Continuation unused) TryCatchBlock.eval(Env e, Continuation k) VariableDeclBlock.eval(Env e, Continuation k) WhileBlock.eval(Env e, Continuation k) YieldBlock.eval(Env e, Continuation k) LocalVariableBlock.evalLValue(Env e, Continuation k) StaticFieldBlock.evalLValue(Env e, Continuation k) CpsCallableInvocation.invoke(Env caller, SourceLocation loc, Continuation k) CpsFunction.invoke(Env caller, SourceLocation loc, Object receiver, List<?> args, Continuation k) Constructors in com.cloudbees.groovy.cps.impl with parameters of type ContinuationModifierConstructorDescriptionCaseEnv(Env parent, String label, Continuation break_) FunctionCallEnv(Env caller, Continuation returnAddress, SourceLocation loc, Object _this) FunctionCallEnv(Env caller, Continuation returnAddress, SourceLocation loc, Object _this, int localsCount)