github.com/evanw/esbuild/internal/logger.MsgLocation.Length (field)
10 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L83: Length int // in bytes
logger.go#L1041: Length: int(r.Len),
logger.go#L1066: if loc.Length < 0 {
logger.go#L1067: loc.Length = 0
logger.go#L1072: if loc.Length > endOfFirstLine-loc.Column {
logger.go#L1073: loc.Length = endOfFirstLine - loc.Column
logger.go#L1085: if loc.Length > 0 {
logger.go#L1086: markerEnd = len(renderTabStops(firstLine[:loc.Column+loc.Length], spacesPerTab))
github.com/evanw/esbuild/pkg/api
api_impl.go#L513: Length: loc.Length,
api_impl.go#L553: Length: loc.Length,
![]() |
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. |