elvish/pkg/eval/stacktrace.go
2019-12-23 20:00:59 +00:00

12 lines
308 B
Go

package eval
import "github.com/elves/elvish/pkg/diag"
// stackTrace represents a stack trace as a linked list. Inner stacks appear
// first. Since pipelines can call multiple functions in parallel, all the
// stackTrace nodes form a DAG.
type stackTrace struct {
entry *diag.Context
next *stackTrace
}