mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 01:47:51 +08:00
12 lines
308 B
Go
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
|
|
}
|