Uses of Interface
com.cloudbees.groovy.cps.Env
Packages that use Env
Package
Description
Even though classes in this package is public, they should not be referenced from outside this library.
-
Uses of Env in com.cloudbees.groovy.cps
Subinterfaces of Env in com.cloudbees.groovy.cpsFields in com.cloudbees.groovy.cps declared as EnvMethods in com.cloudbees.groovy.cps that return EnvModifier and TypeMethodDescriptionstatic EnvEnvs.empty()The most plain vanilla environment suitable for outer-most use.static EnvWorks likeEnvs.empty()except it allows a customInvoker.Methods in com.cloudbees.groovy.cps with parameters of type EnvModifier 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.Outcome.resumeFrom(Env e, Continuation k) 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 EnvModifierConstructorDescriptionContinuable(Block block, Env e) Creates aContinuablethat executes the block in the specified environment.Continuable(groovy.lang.Script cpsTransformedScript, Env env) Takes aScriptcompiled from CPS-transformingGroovyShelland wraps that into aContinuable, in the context of the givenEnv.Continuable(groovy.lang.Script cpsTransformedScript, Env env, Continuation k) Next(Block f, Env e, Continuation k) Next(Env e, Continuation k, Outcome yield) -
Uses of Env in com.cloudbees.groovy.cps.impl
Classes in com.cloudbees.groovy.cps.impl that implement EnvModifier and TypeClassDescriptionclassEnvfor a new block.classclassclassclassEnvironment for evaluating the body of a try/catch block.Fields in com.cloudbees.groovy.cps.impl declared as EnvMethods in com.cloudbees.groovy.cps.impl with parameters of type EnvModifier and TypeMethodDescriptionprotected final voidCpsCallable.assignArguments(List<?> args, Env e) 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) protected Objectprotected Objectprotected Objectprotected voidprotected voidprotected voidConstructors in com.cloudbees.groovy.cps.impl with parameters of type EnvModifierConstructorDescriptionBlockScopeEnv(Env parent) BlockScopeEnv(Env parent, int localsSize) CaseEnv(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) TryBlockEnv(Env parent, Block finally_)