Uses of Class
com.cloudbees.groovy.cps.Next
Packages that use Next
Package
Description
Even though classes in this package is public, they should not be referenced from outside this library.
-
Uses of Next in com.cloudbees.groovy.cps
Methods in com.cloudbees.groovy.cps that return NextModifier 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.static NextNext.go0(Outcome v, Continuable c) Crestes aNextobject that causes the interpreter loop to keep evaluating the continuation represented byContinuableby passing the outcome (or throwing it).As aContinuation, just ignore the argument.Outcome.resumeFrom(Continuable c) Outcome.resumeFrom(Env e, Continuation k) Next.run()Resumes the execution of this program state, until it yields a value or finishes computation.LValue.set(Object v, Continuation k) Sets the given value to this variable, and passesnullto the given continuation when done.Next.step()Executes one stepstatic NextCreates aNextobject that terminates the computation and either returns a value.static NextNext.terminate0(Outcome v) Creates aNextobject that terminates the computation and either returns a value or throw an exception.static NextNext.unhandledException(Throwable t) Creates aNextobject that terminates the computation by throwing an exception.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.static NextNext.yield0(Outcome v, Continuable c) Creates aNextobject that causes the interpreter loop to exit with the specified value, then optionally allow the interpreter to resume to the continuation represented byContinuable.Constructors in com.cloudbees.groovy.cps with parameters of type Next -
Uses of Next in com.cloudbees.groovy.cps.impl
Methods in com.cloudbees.groovy.cps.impl that return NextModifier and TypeMethodDescriptionAssertBlock.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)