github.com/mem/u-root@v2.0.1-0.20181004165302-9b18b4636a33+incompatible/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  }