Uses of Class
org.kink_lang.kink.FunVal
Packages that use FunVal
Package
Description
The core package of the Kink vm.
Interfaces used to make
host system functions, or host funs,
which are Kink functions defined 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.
Compiles itree to FunVal by runtime bytecode generation.
Provides funs used from intrinsics.
-
Uses of FunVal in org.kink_lang.kink
Methods in org.kink_lang.kink that return FunValModifier and TypeMethodDescriptionReturns a constant fun: which is a 0-ary fun returning the val constantly.Method parameters in org.kink_lang.kink with type arguments of type FunValModifier and TypeMethodDescription<T> TFunHelper.compile(Locale locale, String programName, String programText, BindingVal binding, Function<? super FunVal, ? extends T> onSucc, Function<? super CompileError, ? extends T> onError) Compiles a program text to a top level fun. -
Uses of FunVal in org.kink_lang.kink.hostfun
Methods in org.kink_lang.kink.hostfun that return FunValMethods in org.kink_lang.kink.hostfun with parameters of type FunValModifier and TypeMethodDescriptionReturns a call flow to call the fun, with nada as the recv and no args. -
Uses of FunVal in org.kink_lang.kink.hostfun.graph
Methods in org.kink_lang.kink.hostfun.graph with parameters of type FunValModifier and TypeMethodDescriptionReturns a graph node which calls the fun. -
Uses of FunVal in org.kink_lang.kink.hostfun.graph.impl
Methods in org.kink_lang.kink.hostfun.graph.impl with parameters of type FunVal -
Uses of FunVal in org.kink_lang.kink.internal.compile
Methods in org.kink_lang.kink.internal.compile that return FunVal -
Uses of FunVal in org.kink_lang.kink.internal.intrinsicsupport
Methods in org.kink_lang.kink.internal.intrinsicsupport that return FunValModifier 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 FunValBranchSupport.noMatchingCond(Vm vm) Returns a nullary fun raising no-matching-cond error.static FunValNewValSupport.oddNumbefOfArgs(Vm vm, int argCount) Returns a nullary fun to raise odd-number-of-args error.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.static FunValNewValSupport.traitError(Vm vm, TraitError error, int arityDelta) Returns a nullary fun to raise an exception of an error of new_val.static FunValArgsSupport.wrongNumberOfArgs(Vm vm, int paramCount, GraphNode params, VecVal args) Returns wrong-number-of-args fun, which takes no args.