github.com/evanw/esbuild/internal/logger.MsgData.Location (field)
25 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L72: Location *MsgLocation
logger.go#L111: aiLoc := ai.Data.Location
logger.go#L112: ajLoc := aj.Data.Location
logger.go#L828: if msg.Data.Location != nil {
logger.go#L829: maxMargin = len(fmt.Sprintf("%d", msg.Data.Location.Line))
logger.go#L832: if note.Location != nil {
logger.go#L833: margin := len(fmt.Sprintf("%d", note.Location.Line))
logger.go#L846: if loc := msg.Data.Location; loc != nil && strings.ContainsRune(loc.LineText, '\n') {
logger.go#L908: if data.Location == nil {
logger.go#L922: textColor, textIndent, data.Location.File,
logger.go#L929: textIndent, data.Location.File, kind.String(), data.Text)
logger.go#L1048: loc := *data.Location
logger.go#L1284: Location: LocationOrNil(source, r),
github.com/evanw/esbuild/internal/bundler
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#L599: sanetizeLocation(res, note.Location)
bundler.go#L616: Location: logger.LocationOrNil(importSource, importPathRange),
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L11500: note.Location.Suggestion = name
github.com/evanw/esbuild/pkg/api
api_impl.go#L528: Location: convertLocationToPublic(note.Location),
api_impl.go#L533: Location: convertLocationToPublic(msg.Data.Location),
api_impl.go#L566: Location: convertLocationToInternal(note.Location),
api_impl.go#L573: Location: convertLocationToInternal(message.Location),
 |
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. |