Class TraceVal

All Implemented Interfaces:
HostResult

public class TraceVal extends Val
A trace.
  • Method Details

    • onTail

      public TraceVal onTail()
      Returns a trace with all the fields of this trace and on the tail.
      Returns:
      a trace with all the fields of this trace and on the tail.
    • sym

      public String sym()
      Returns the sym.
      Returns:
      the sym.
    • location

      public LocationVal 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

      public StackTraceElement toStackTraceElement()
      Returns the corresponding stack trace element to the trace.
      Returns:
      the corresponding stack trace element to the trace.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • desc

      public String desc()
      Returns the string of Trace.desc.
      Returns:
      the string of Trace.desc.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object arg)
      Overrides:
      equals in class Object