Uses of Class
org.kink_lang.kink.Val
Packages that use Val
Package
Description
The core package of the Kink vm.
Interfaces used to make a host fun,
 which is a FunVal to perform action in Java code.
Provides the Execution Graph DSL,
 which is a convenient way to invoke Kink funs from Java actions or handlers.
Implementations of the Execution Graph DSL.
Temporary vals used by generated code.
Provides funs used from intrinsics.
Package of JAVA and JAVA_PROXY mods.
The internal classes for mods under kink/random.
Provides kink/STOPWATCH mod.
Provides utility classes around numbers.
Internal representation of vec vals.
- 
Uses of Val in org.kink_lang.kink
Subclasses of Val in org.kink_lang.kinkModifier and TypeClassDescriptionclassA binding val.classA bin val, which represents an immutable array of bytes.classAn exception val.classA fun val.final classA java val.classA location in a program.classA num val.classA str val.classA trace.classA varref val.classA vec val.Fields in org.kink_lang.kink declared as ValModifier and TypeFieldDescriptionfinal ValBoolHelper.falseValKink false.final ValVm.nadaThe nada val.final ValBoolHelper.trueValKink true.Methods in org.kink_lang.kink that return ValModifier and TypeMethodDescriptionfinal ValVal.getVar(int symHandle) Returns the target of the var specified bysym; or null if absent.final ValVm.newVal()Returns a new val.final ValVm.newVal(SharedVars sharedVars) Returns a new val with the shared vars.BoolHelper.of(boolean bl) Returns a bool val from the Java boolean.VarrefVal.owner()Returns the owner of the var.Methods in org.kink_lang.kink that return types with arguments of type ValModifier and TypeMethodDescriptionVecVal.toList()Returns a list containing the elements of the vec.Methods in org.kink_lang.kink with parameters of type ValModifier and TypeMethodDescriptionReturns a constant fun: which is a 0-ary fun returning the val constantly.booleanReturns true if the val is a bool val.Returns a varref.Returns a varref.Returns a new vec.Returns a new vec.Returns a new vec from the range of the array.Returns a new vec.Returns a new vec.Returns a new vec.final voidAssignsvalto the var specified bysymHandle.Method parameters in org.kink_lang.kink with type arguments of type ValModifier and TypeMethodDescriptionReturns aSharedVarsinstance containing the entries ofmap.Returns a vec containing the elems.<T> TVm.run(HostFunAction bootstrapAction, Function<? super Val, ? extends T> onReturned, Function<? super ExceptionVal, ? extends T> onRaised) Runs a new execution stack which starts from the bootstrap action. - 
Uses of Val in org.kink_lang.kink.hostfun
Methods in org.kink_lang.kink.hostfun that return ValModifier and TypeMethodDescriptionCallContext.arg(int index) Returns the arg of the current call at the index.CallContext.recv()Returns the actual receiver of the current call.Methods in org.kink_lang.kink.hostfun with parameters of type ValModifier and TypeMethodDescriptionBinds one arg to the flow.Binds the args to the flow.Binds two args to the flow.Binds the three args to the flow.Binds the four args to the flow.Binds the five args to the flow.Returns a call flow to call a method ofownerRecvwith no args.HostFunReaction.reaction(HostContext ctx, Val calleeResult) Performs reaction on the result of invocation.Binds the recv to the flow. - 
Uses of Val in org.kink_lang.kink.hostfun.graph
Methods in org.kink_lang.kink.hostfun.graph with parameters of type Val - 
Uses of Val in org.kink_lang.kink.hostfun.graph.impl
Methods in org.kink_lang.kink.hostfun.graph.impl with parameters of type Val - 
Uses of Val in org.kink_lang.kink.internal.compile.tempval
Subclasses of Val in org.kink_lang.kink.internal.compile.tempval - 
Uses of Val in org.kink_lang.kink.internal.intrinsicsupport
Methods in org.kink_lang.kink.internal.intrinsicsupport that return ValModifier and TypeMethodDescriptionstatic ValPreloadedFuns.preloadedFun(Vm vm, String sym) Returns a preloaded fun.Methods in org.kink_lang.kink.internal.intrinsicsupport with parameters of type ValModifier and TypeMethodDescriptionstatic FunValBranchSupport.condNotBool(Vm vm, int index, Val actual) Returns a nullary fun raising cond-result-not-bool error.static FunValIfSupport.condNotBool(Vm vm, Val actual) Returns a fun to raise cond-not-bool exception.static FunValArgsSupport.raiseNotVecRhs(Vm vm, Val rhs) Returns not-vec-rhs fun, which takes no arg.static FunValReturns a nullary fun to raise sym-not-str error. - 
Uses of Val in org.kink_lang.kink.internal.mod.java
Methods in org.kink_lang.kink.internal.mod.java that return Val - 
Uses of Val in org.kink_lang.kink.internal.mod.random
Subclasses of Val in org.kink_lang.kink.internal.mod.random - 
Uses of Val in org.kink_lang.kink.internal.mod.stopwatch
Methods in org.kink_lang.kink.internal.mod.stopwatch that return Val - 
Uses of Val in org.kink_lang.kink.internal.num
Methods in org.kink_lang.kink.internal.num with parameters of type ValModifier and TypeMethodDescriptionstatic intNumOperations.getElemIndex(Val val, int size) Returns the exact int value of the val, if the val is a NumVal and it represents a valid element index exactly in the sequence which has the sizesize, otherwise returns -1.static BigIntegerNumOperations.getExactBigInteger(Val val) Returns an exact BigInteger from the val, if the val is a NumVal and it represents an int number.static OptionalIntNumOperations.getExactInt(Val val) Returns an exact int number from the val, if the val is a NumVal and it represents the exact int number.static OptionalLongNumOperations.getExactLongBetween(Val val, long min, long max) Returns an exact long number from the val, if the val is a NumVal and it represents the exact long number betweenminandmax.static intNumOperations.getPosIndex(Val val, int size) Returns the exact int value of the val, if the val is a NumVal and it represents a valid position index exactly in the sequence which has the sizesize, otherwise returns -1. - 
Uses of Val in org.kink_lang.kink.internal.vec
Methods in org.kink_lang.kink.internal.vec that return ValModifier and TypeMethodDescriptionTraitError.SymNotStr.elem()Returns the value of theelemrecord component.VecInternal.get(int index) Returns the indexed element.Methods in org.kink_lang.kink.internal.vec that return types with arguments of type ValModifier and TypeMethodDescriptionVecInternal.asList()Returns a list which is a view of the vec internal.Methods in org.kink_lang.kink.internal.vec with parameters of type ValModifier and TypeMethodDescriptionInserts a val to the end.voidCopies the vals between [0] to [size - 1] to the dest array.abstract VecInternalInserts a val to the position index.TraitVecInternal.insertRange(int index, Val[] src, int from, int to) abstract VecInternalVecInternal.insertRange(int index, Val[] src, int from, int to) Inserts the elements in the range ofsrcto the position index.static VecInternalReturns a new vec internal.static VecInternalReturns a new vec containing elements betweenfrom(inclusive) andto(exclusive) on the array.static VecInternalReturns a new vec internal.static VecInternalReturns a new vec internal.static VecInternalReturns a new vec internal.abstract VecInternalSets the indexed element.Method parameters in org.kink_lang.kink.internal.vec with type arguments of type ValModifier and TypeMethodDescriptionstatic VecInternalReturns a new vec internal containing the elements of the list.Constructors in org.kink_lang.kink.internal.vec with parameters of type Val