Package com.cloudbees.groovy.cps.impl
package com.cloudbees.groovy.cps.impl
Even though classes in this package is public, they should not be referenced from outside this library.
-
ClassDescriptionArray access like
x[3]orx['foo']assert exp : msg;Assignment operatorexp=rhsTODO: tuple assignmentAttribute access expression likefoo.@bar, which is an l-value.Envfor a new block."break" statement to exit a loop.As a crude way to distinguish asynchronous caller vs synchronous caller, remember the method call about to happen so that the callee can check if it is invoked by asynchronous caller or not.Blockthat hasCallSiteTags.Default implementation ofCallSiteBlock.Closure instantiation: { ...Turns a list ofBlockinto a collection object.Constant value."continue" statement to repeat a loop.A serializable equivalent ofBooleanClosureWrapper, where theBooleanReturningMethodInvokeris instantiated whenCpsBooleanClosureWrapper.call(Object...)is called to avoid serialization issues with that as well.Common part ofCpsFunctionandCpsClosureDef, which represents something that's invokable.When an CPS-interpreted method is invoked, it immediately throws this error to signal that the method execution needs to be interpreted.Closurewhose code is CPS-transformed.Represents a CPS-transformed function.do { ...x ?: y"++x", "--x", "x++", or "x--" operator.for (Type var in col) { ...for (e1; e2; e3) { ...lhs.name(arg,arg,...)if (...) { ...Resolves the currentEnv.closureOwner()value.[a,b,c,d] to list.Access to local variables and method parameters.Logical operator (&&and||)[a:b, c:d, e:f, ...]Method pointer expression:LHS&.methodNameMulti-dimensional array instantiation likenew String[1][2][3]!bProperty access expression likefoo.bar, which is an l-value.exp1; exp2Represents a specific location of the source file.HandlesSpreadExpressionsimilarly to the way thatSpreadMapBlockhandlesSpreadMapExpression, but with agroovy-cps-specificSpreadBlock.SpreadListmarker class.Gets a value from local variable and removes it.switch/case statement.Environment for evaluating the body of a try/catch block.while(...) { ...Yield a value and suspend the execution of the program.