github.com/evanw/esbuild/internal/js_printer.SourceMapState.SourceIndex (field)
13 uses
github.com/evanw/esbuild/internal/js_printer (current package)
js_printer.go#L35: SourceIndex int
js_printer.go#L79: startState.SourceIndex += sourceIndex
js_printer.go#L100: buffer = append(buffer, sourcemap.EncodeVLQ(currentState.SourceIndex-prevState.SourceIndex)...)
js_printer.go#L101: prevState.SourceIndex = currentState.SourceIndex
js_printer.go#L568: SourceIndex: p.prevState.SourceIndex,
js_printer.go#L605: SourceIndex: p.prevState.SourceIndex,
js_printer.go#L724: currentState.SourceIndex = int(mapping.SourceIndex)
github.com/evanw/esbuild/internal/bundler
linker.go#L4563: SourceIndex: sourcesIndex,
linker.go#L4576: prevEndState.SourceIndex += sourcesIndex
![]() |
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. |