github.com/xyproto/u-root@v6.0.1-0.20200302025726-5528e0c77a3c+incompatible/cmds/core/elvish/eval/stacktrace.go (about)

     1  package eval
     2  
     3  import "github.com/u-root/u-root/cmds/core/elvish/util"
     4  
     5  // stackTrace represents a stack trace as a linked list. Inner stacks appear
     6  // first. Since pipelines can call multiple functions in parallel, all the
     7  // stackTrace nodes form a DAG.
     8  type stackTrace struct {
     9  	entry *util.SourceRange
    10  	next  *stackTrace
    11  }