github.com/evanw/esbuild/internal/bundler.parseResult.file (field)

46 uses

	github.com/evanw/esbuild/internal/bundler (current package)
		bundler.go#L148: 	file file
		bundler.go#L211: 		file: file{
		bundler.go#L225: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L231: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L237: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L244: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L253: 		result.file.repr = &reprCSS{ast: ast}
		bundler.go#L259: 		result.file.ignoreIfUnused = true
		bundler.go#L260: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L268: 		result.file.ignoreIfUnused = true
		bundler.go#L269: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L278: 		result.file.ignoreIfUnused = true
		bundler.go#L279: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L287: 		result.file.ignoreIfUnused = true
		bundler.go#L288: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L298: 		result.file.ignoreIfUnused = true
		bundler.go#L299: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L328: 		result.file.ignoreIfUnused = true
		bundler.go#L329: 		result.file.repr = &reprJS{ast: ast}
		bundler.go#L348: 		result.file.additionalFiles = []OutputFile{{
		bundler.go#L367: 		if repr, ok := result.file.repr.(*reprJS); ok {
		bundler.go#L391: 		recordsPtr := result.file.repr.importRecords()
		bundler.go#L484: 		if repr, ok := result.file.repr.(*reprJS); ok && repr.ast.SourceMapComment.Text != "" {
		bundler.go#L487: 				result.file.sourceMap = js_parser.ParseSourceMap(args.log, logger.Source{
		bundler.go#L909: 		s.resultChannel <- parseResult{file: file{source: source, repr: &reprJS{ast: ast}}, ok: ok}
		bundler.go#L1079: 			file: file{
		bundler.go#L1247: 			records := *result.file.repr.importRecords()
		bundler.go#L1261: 						&result.file.source, record.Range, resolveResult.PluginData, inputKindNormal, nil)
		bundler.go#L1284: 		s.results[result.file.source.Index] = result
		bundler.go#L1300: 			j.AddBytes(js_printer.QuoteForJSON(result.file.source.PrettyPath, s.options.ASCIIOnly))
		bundler.go#L1301: 			j.AddString(fmt.Sprintf(": {\n      \"bytes\": %d,\n      \"imports\": [", len(result.file.source.Contents)))
		bundler.go#L1306: 			records := *result.file.repr.importRecords()
		bundler.go#L1344: 						js_printer.QuoteForJSON(s.results[record.SourceIndex.GetIndex()].file.source.PrettyPath, s.options.ASCIIOnly),
		bundler.go#L1351: 					otherFile := &s.results[record.SourceIndex.GetIndex()].file
		bundler.go#L1353: 						s.log.AddRangeError(&result.file.source, record.Range,
		bundler.go#L1359: 					otherFile := &s.results[record.SourceIndex.GetIndex()].file
		bundler.go#L1362: 						s.log.AddRangeError(&result.file.source, record.Range,
		bundler.go#L1367: 							s.log.AddRangeError(&result.file.source, record.Range,
		bundler.go#L1376: 				if _, ok := result.file.repr.(*reprJS); ok {
		bundler.go#L1377: 					otherFile := &s.results[record.SourceIndex.GetIndex()].file
		bundler.go#L1380: 							s.log.AddRangeError(&result.file.source, record.Range,
		bundler.go#L1393: 								file: file{
		bundler.go#L1415: 					if otherFile := &s.results[record.SourceIndex.GetIndex()].file; otherFile.ignoreIfUnused {
		bundler.go#L1426: 						s.log.AddRangeWarningWithNotes(&result.file.source, record.Range,
		bundler.go#L1442: 		s.results[i].file.jsonMetadataChunk = j.Done()
		bundler.go#L1451: 			files[i] = result.file