github.com/evanw/esbuild/internal/logger.Source.TextForRange (method)
3 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L230: func (s *Source) TextForRange(r Range) string {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L4455: p.log.AddRangeError(&p.source, r, fmt.Sprintf("Expected identifier but found %q", p.source.TextForRange(r)))
sourcemap_parser.go#L70: Quoted: source.TextForRange(source.RangeOfString(item.Loc)),
![]() |
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. |