github.com/evanw/esbuild/internal/logger.Msg.Data (field)
29 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L66: Data MsgData
logger.go#L111: aiLoc := ai.Data.Location
logger.go#L112: ajLoc := aj.Data.Location
logger.go#L128: return ai.Data.Text < aj.Data.Text
logger.go#L463: PrintMessageToStderr(osArgs, Msg{Kind: Error, Data: MsgData{Text: text}})
logger.go#L828: if msg.Data.Location != nil {
logger.go#L829: maxMargin = len(fmt.Sprintf("%d", msg.Data.Location.Line))
logger.go#L842: text := msgString(options, terminalInfo, msg.Kind, msg.Data, maxMargin)
logger.go#L846: if loc := msg.Data.Location; loc != nil && strings.ContainsRune(loc.LineText, '\n') {
logger.go#L1232: Data: RangeData(source, Range{Loc: loc}, text),
logger.go#L1239: Data: RangeData(source, Range{Loc: loc}, text),
logger.go#L1247: Data: RangeData(source, Range{Loc: loc}, text),
logger.go#L1254: Data: RangeData(source, r, text),
logger.go#L1261: Data: RangeData(source, r, text),
logger.go#L1268: Data: RangeData(source, r, text),
logger.go#L1276: Data: RangeData(source, r, text),
github.com/evanw/esbuild/internal/bundler
bundler.go#L583: msg.Data.Text = fmt.Sprintf("[%s] %s", name, msg.Data.Text)
bundler.go#L590: if msg.Data.Location == nil {
bundler.go#L591: msg.Data.Location = logger.LocationOrNil(importSource, importPathRange)
bundler.go#L593: sanetizeLocation(res, msg.Data.Location)
bundler.go#L594: if msg.Data.Location.File == "" && importSource != nil {
bundler.go#L595: msg.Data.Location.File = importSource.PrettyPath
bundler.go#L614: Data: logger.MsgData{
github.com/evanw/esbuild/pkg/api
api_impl.go#L532: Text: msg.Data.Text,
api_impl.go#L533: Location: convertLocationToPublic(msg.Data.Location),
api_impl.go#L535: Detail: msg.Data.UserDetail,
api_impl.go#L571: Data: logger.MsgData{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |