github.com/evanw/esbuild/internal/logger.MsgLocation.Line (field)
14 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L81: Line int // 1-based
logger.go#L119: if aiLoc.Line != ajLoc.Line {
logger.go#L120: return aiLoc.Line < ajLoc.Line
logger.go#L829: maxMargin = len(fmt.Sprintf("%d", msg.Data.Location.Line))
logger.go#L833: margin := len(fmt.Sprintf("%d", note.Location.Line))
logger.go#L1039: Line: lineCount + 1, // 0-based to 1-based
logger.go#L1060: if loc.Line < 0 {
logger.go#L1061: loc.Line = 0
logger.go#L1168: margin := marginWithLineText(maxMargin, loc.Line)
logger.go#L1172: Line: loc.Line,
github.com/evanw/esbuild/pkg/api
api_impl.go#L511: Line: loc.Line,
api_impl.go#L551: Line: loc.Line,
![]() |
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. |