type github.com/evanw/esbuild/internal/logger.MsgData
35 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L66: Data MsgData
logger.go#L67: Notes []MsgData
logger.go#L70: type MsgData struct {
logger.go#L463: PrintMessageToStderr(osArgs, Msg{Kind: Error, Data: MsgData{Text: text}})
logger.go#L879: func msgString(options OutputOptions, terminalInfo TerminalInfo, kind MsgKind, data MsgData, maxMargin int) string {
logger.go#L1046: func detailStruct(data MsgData, terminalInfo TerminalInfo, maxMargin int) MsgDetail {
logger.go#L1236: func (log Log) AddErrorWithNotes(source *Source, loc Loc, text string, notes []MsgData) {
logger.go#L1265: func (log Log) AddRangeErrorWithNotes(source *Source, r Range, text string, notes []MsgData) {
logger.go#L1273: func (log Log) AddRangeWarningWithNotes(source *Source, r Range, text string, notes []MsgData) {
logger.go#L1281: func RangeData(source *Source, r Range, text string) MsgData {
logger.go#L1282: return MsgData{
github.com/evanw/esbuild/internal/bundler
bundler.go#L614: Data: logger.MsgData{
bundler.go#L1416: var notes []logger.MsgData
linker.go#L590: func (c *linkerContext) addRangeErrorWithNotes(source logger.Source, r logger.Range, text string, notes []logger.MsgData) {
linker.go#L1900: var notes []logger.MsgData
linker.go#L1906: notes = []logger.MsgData{
github.com/evanw/esbuild/internal/css_lexer
css_lexer.go#L411: []logger.MsgData{logger.RangeData(&lexer.source, startRange, "The multi-line comment starts here")})
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L180: []logger.MsgData{logger.RangeData(&p.source, logger.Range{Loc: locs[len(locs)-1]},
css_parser.go#L193: []logger.MsgData{logger.RangeData(&p.source, logger.Range{Loc: locs[i]},
github.com/evanw/esbuild/internal/js_lexer
js_lexer.go#L857: []logger.MsgData{logger.RangeData(&lexer.source, startRange, "The multi-line comment starts here")})
js_lexer.go#L1275: []logger.MsgData{logger.RangeData(&lexer.source, startRange, "The multi-line comment starts here")})
js_lexer.go#L2385: func (lexer *Lexer) addErrorWithNotes(loc logger.Loc, text string, notes []logger.MsgData) {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L1314: []logger.MsgData{logger.RangeData(&p.source, js_lexer.RangeOfIdentifier(p.source, existing.Loc),
js_parser.go#L1434: []logger.MsgData{logger.RangeData(&p.source, js_lexer.RangeOfIdentifier(p.source, existingMember.Loc),
js_parser.go#L4204: []logger.MsgData{logger.RangeData(&p.source, startRange, fmt.Sprintf("The opening tag %q is here", startText))})
js_parser.go#L9903: notes := []logger.MsgData{logger.RangeData(&p.source, js_lexer.RangeOfIdentifier(p.source, result.declareLoc),
js_parser.go#L11037: []logger.MsgData{logger.RangeData(&p.source, js_lexer.RangeOfIdentifier(p.source, prevKey.loc),
js_parser.go#L11492: var notes []logger.MsgData
js_parser.go#L11501: notes = []logger.MsgData{note}
js_parser.go#L11669: []logger.MsgData{logger.RangeData(&p.source, js_lexer.RangeOfIdentifier(p.source, name.AliasLoc),
js_parser_lower.go#L167: var notes []logger.MsgData
js_parser_lower.go#L184: notes = []logger.MsgData{logger.RangeData(&p.source, keywordRange, why)}
github.com/evanw/esbuild/pkg/api
api_impl.go#L562: var notes []logger.MsgData
api_impl.go#L564: notes = append(notes, logger.MsgData{
api_impl.go#L571: Data: logger.MsgData{
 |
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. |