java.lang.Object
org.kink_lang.kink.HostResultCore
org.kink_lang.kink.Val
org.kink_lang.kink.TraceVal
- All Implemented Interfaces:
HostResult
A trace.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondesc()
Returns the string ofTrace.desc
.boolean
int
hashCode()
boolean
isSnip()
Returns true if the trace represents SNIP of trace frames; that is, if the trace has no loc nand sym, and it is on the tail.boolean
isTail()
Returns whether the trace is on the tail.location()
Returns the loc.onTail()
Returns a trace with all the fields ofthis
trace and on the tail.sym()
Returns the sym.Returns the corresponding stack trace element to the trace.toString()
Methods inherited from class org.kink_lang.kink.Val
getVar, getVarSymHandleSet, hasVar, identity, makeHostResultCore, setVar
-
Method Details
-
onTail
Returns a trace with all the fields ofthis
trace and on the tail.- Returns:
- a trace with all the fields of
this
trace and on the tail.
-
sym
Returns the sym.- Returns:
- the sym.
-
location
Returns the loc.- Returns:
- the loc.
-
isTail
public boolean isTail()Returns whether the trace is on the tail.- Returns:
- whether the trace is on the tail.
-
isSnip
public boolean isSnip()Returns true if the trace represents SNIP of trace frames; that is, if the trace has no loc nand sym, and it is on the tail.- Returns:
- true if the trace represents SNIP of trace frames.
-
toStackTraceElement
Returns the corresponding stack trace element to the trace.- Returns:
- the corresponding stack trace element to the trace.
-
toString
-
desc
Returns the string ofTrace.desc
.- Returns:
- the string of
Trace.desc
.
-
hashCode
public int hashCode() -
equals
-