Class AbstractClosure
java.lang.Object
org.torqlang.klvm.AbstractClosure
- All Implemented Interfaces:
Closure,Kernel,Proc,Value,ValueOrIdent,ValueOrIdentPtn,ValueOrPtn,ValueOrResolvedPtn,ValueOrVar,ValueOrVarSet
- Direct Known Subclasses:
CompleteClosure,PartialClosure
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal <T,R> R accept(KernelVisitor<T, R> visitor, T state) final voidapply(List<CompleteOrIdent> ys, Env env, Machine machine) final Envfinal booleanfinal ProcDefprocDef()final SourceSpanfinal StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.torqlang.klvm.Closure
checkCompleteMethods inherited from interface org.torqlang.klvm.Kernel
toKernelStringMethods inherited from interface org.torqlang.klvm.Proc
bindToValue, entailsRecMethods inherited from interface org.torqlang.klvm.Value
add, appendToString, bindToValueOrVar, bindToVar, caseNonRecOfThis, caseOf, caseRecOfThis, checkNotFailedValue, compareValueTo, deconstruct, disentails, divide, entails, entails, entailsValueOrIdent, entailsValueOrVar, entailsVar, greaterThan, greaterThanOrEqualTo, lessThan, lessThanOrEqualTo, modulo, multiply, negate, not, resolveValue, resolveValue, resolveValueOrIdent, resolveValueOrVar, resolveValueOrVar, subtract, unifyRecs
-
Method Details
-
accept
-
apply
- Specified by:
applyin interfaceProc- Throws:
WaitException
-
capturedEnv
- Specified by:
capturedEnvin interfaceClosure
-
isValidKey
public final boolean isValidKey()- Specified by:
isValidKeyin interfaceValue
-
procDef
-
sourceSpan
- Specified by:
sourceSpanin interfaceClosure
-
toString
-