Class TraceHelper


  • public final class TraceHelper
    extends Object
    The helper for traces.
    • Method Detail

      • of

        public TraceVal of​(String sym)
        Returns a trace with a sym.
        Parameters:
        sym - the sym.
        Returns:
        a trace with the sym.
      • of

        public TraceVal of​(LocVal loc)
        Returns a trace with a loc.
        Parameters:
        loc - the loc.
        Returns:
        a trace with the loc.
      • of

        public TraceVal of​(String sym,
                           LocVal loc)
        Returns a trace with a sym.
        Parameters:
        sym - the sym.
        loc - the loc.
        Returns:
        a trace with the loc.
      • snip

        public TraceVal snip()
        Returns a trace with no sym nand loc.
        Returns:
        a trace with no sym nand loc.
      • tracesFrom

        public List<Val> tracesFrom​(Throwable th)
        Returns traces made from the throwable.
        Parameters:
        th - the throwable.
        Returns:
        the traces.