github.com/oweisse/u-root@v0.0.0-20181109060735-d005ad25fef1/cmds/elvish/eval/stacktrace.go (about)

     1  package eval
     2  
     3  import "github.com/u-root/u-root/cmds/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  }