github.com/evanw/esbuild/internal/logger.Log.AddRangeErrorWithNotes (method)
8 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L1265: func (log Log) AddRangeErrorWithNotes(source *Source, r Range, text string, notes []MsgData) {
github.com/evanw/esbuild/internal/bundler
linker.go#L591: c.log.AddRangeErrorWithNotes(&source, r, text, notes)
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1313: p.log.AddRangeErrorWithNotes(&p.source, r, fmt.Sprintf("%q has already been declared", name),
js_parser.go#L1433: p.log.AddRangeErrorWithNotes(&p.source, r, fmt.Sprintf("%q has already been declared", symbol.OriginalName),
js_parser.go#L4203: p.log.AddRangeErrorWithNotes(&p.source, endRange, fmt.Sprintf("Expected closing tag %q to match opening tag %q", endText, startText),
js_parser.go#L9909: p.log.AddRangeErrorWithNotes(&p.source, r, fmt.Sprintf("Cannot assign to %q because it is a constant", name), notes)
js_parser.go#L11667: p.log.AddRangeErrorWithNotes(&p.source, js_lexer.RangeOfIdentifier(p.source, loc),
js_parser_lower.go#L186: p.log.AddRangeErrorWithNotes(&p.source, r,
 |
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. |