mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
12 lines
308 B
Go
12 lines
308 B
Go
package eval
|
|
|
|
import "github.com/elves/elvish/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.SourceRange
|
|
next *stackTrace
|
|
}
|