github.com/evanw/esbuild/internal/bundler.linkerContext.files (field)

87 uses

	github.com/evanw/esbuild/internal/bundler (current package)
		linker.go#L67: 	files       []file
		linker.go#L390: 		files:             make([]file, len(files)),
		linker.go#L496: 		c.files[sourceIndex] = file
		linker.go#L500: 	c.stableSourceIndices = make([]uint32, len(c.files))
		linker.go#L507: 		file := &c.files[sourceIndex]
		linker.go#L531: 		runtimeScope := c.files[runtime.SourceIndex].repr.(*reprJS).ast.ModuleScope
		linker.go#L605: 	repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L822: 				switch repr := c.files[sourceIndex].repr.(type) {
		linker.go#L834: 								record.Path.Text = c.pathBetweenChunks(chunk.relDir, c.files[record.SourceIndex.GetIndex()].entryPointRelPath)
		linker.go#L1100: 		result = append(result, crossChunkExportItem{ref: ref, keyPath: c.files[ref.OuterIndex].source.KeyPath})
		linker.go#L1109: 		file := &c.files[sourceIndex]
		linker.go#L1120: 					otherFile := &c.files[record.SourceIndex.GetIndex()]
		linker.go#L1139: 				otherFile := &c.files[record.SourceIndex.GetIndex()]
		linker.go#L1192: 		if repr, ok := c.files[sourceIndex].repr.(*reprJS); ok && len(repr.ast.ExportStarImportRecords) > 0 {
		linker.go#L1203: 		file := &c.files[sourceIndex]
		linker.go#L1233: 				otherRepr := c.files[record.SourceIndex.GetIndex()].repr.(*reprJS)
		linker.go#L1264: 		file := &c.files[sourceIndex]
		linker.go#L1292: 		repr, ok := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L1313: 				otherRepr := c.files[export.sourceIndex].repr.(*reprJS)
		linker.go#L1320: 						ambiguousRepr := c.files[ambiguousExport.sourceIndex].repr.(*reprJS)
		linker.go#L1354: 		file := &c.files[sourceIndex]
		linker.go#L1376: 			runtimeRepr := c.files[runtime.SourceIndex].repr.(*reprJS)
		linker.go#L1389: 			resolvedRepr := c.files[importToBind.sourceIndex].repr.(*reprJS)
		linker.go#L1410: 	file := &c.files[sourceIndex]
		linker.go#L1520: 	file := &c.files[sourceIndex]
		linker.go#L1544: 		if importToBind, ok := c.files[export.sourceIndex].repr.(*reprJS).meta.importsToBind[export.ref]; ok {
		linker.go#L1671: 		for _, partIndex := range c.files[export.sourceIndex].repr.(*reprJS).ast.TopLevelSymbolToParts[export.ref] {
		linker.go#L1701: 		runtimeRepr := c.files[runtime.SourceIndex].repr.(*reprJS)
		linker.go#L1723: 		runtimeRepr := c.files[runtime.SourceIndex].repr.(*reprJS)
		linker.go#L1847: 	file := &c.files[sourceIndex]
		linker.go#L1904: 				a := c.files[result.sourceIndex].source
		linker.go#L1905: 				b := c.files[result.otherSourceIndex].source
		linker.go#L2005: 			trackerFile := &c.files[tracker.sourceIndex]
		linker.go#L2028: 						namedImport.Alias, c.files[nextTracker.sourceIndex].source.PrettyPath))
		linker.go#L2033: 			trackerFile := &c.files[tracker.sourceIndex]
		linker.go#L2063: 				if _, ok := c.files[ambiguousTracker.sourceIndex].repr.(*reprJS).ast.NamedImports[ambiguousTracker.ref]; ok {
		linker.go#L2092: 			if _, ok := c.files[nextTracker.sourceIndex].repr.(*reprJS).ast.NamedImports[nextTracker.importRef]; ok {
		linker.go#L2127: 	repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L2145: 		if (!record.SourceIndex.IsValid() && (!c.files[sourceIndex].isEntryPoint || !c.options.OutputFormat.KeepES6ImportExportSyntax())) ||
		linker.go#L2167: 	repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L2184: 		otherRepr := c.files[otherSourceIndex].repr.(*reprJS)
		linker.go#L2200: 				prevRepr := c.files[prevSourceIndex].repr.(*reprJS)
		linker.go#L2270: 	file := &c.files[tracker.sourceIndex]
		linker.go#L2282: 	if c.files[otherSourceIndex].source.KeyPath.IsDisabled() {
		linker.go#L2287: 	otherRepr := c.files[otherSourceIndex].repr.(*reprJS)
		linker.go#L2320: 		file := &c.files[sourceIndex]
		linker.go#L2347: 				runtimeRepr := c.files[runtime.SourceIndex].repr.(*reprJS)
		linker.go#L2397: 		file := &c.files[sourceIndex]
		linker.go#L2443: 	file := &c.files[sourceIndex]
		linker.go#L2487: 					if otherFile := &c.files[otherSourceIndex]; otherFile.ignoreIfUnused && !c.options.IgnoreDCEAnnotations {
		linker.go#L2516: 				targetRepr := c.files[targetSourceIndex].repr.(*reprJS)
		linker.go#L2549: 		runtimeRepr := c.files[runtime.SourceIndex].repr.(*reprJS)
		linker.go#L2577: 	return record.Kind == ast.ImportDynamic && c.files[record.SourceIndex.GetIndex()].isEntryPoint
		linker.go#L2581: 	file := &c.files[sourceIndex]
		linker.go#L2628: 		otherRepr := c.files[otherSourceIndex].repr.(*reprJS)
		linker.go#L2661: 			(record.SourceIndex.IsValid() && record.SourceIndex.GetIndex() != sourceIndex && c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports) {
		linker.go#L2724: 		file := &c.files[entryPoint]
		linker.go#L2799: 		file := &c.files[sourceIndex]
		linker.go#L2890: 			if record.SourceIndex.IsValid() && !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
		linker.go#L2903: 		file := &c.files[sourceIndex]
		linker.go#L2928: 		file := &c.files[sourceIndex]
		linker.go#L3016: 	repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L3019: 		if !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
		linker.go#L3047: 	file := &c.files[sourceIndex]
		linker.go#L3084: 							exportStarRef := c.files[runtime.SourceIndex].repr.(*reprJS).ast.ModuleScope.Members["__exportStar"].Ref
		linker.go#L3105: 							exportStarRef := c.files[runtime.SourceIndex].repr.(*reprJS).ast.ModuleScope.Members["__exportStar"].Ref
		linker.go#L3334: 	file := &c.files[partRange.sourceIndex]
		linker.go#L3457: 			return c.files[sourceIndex].repr.(*reprJS).ast.WrapperRef
		linker.go#L3485: 		moduleScopes[i] = c.files[sourceIndex].repr.(*reprJS).ast.ModuleScope
		linker.go#L3500: 			firstTopLevelSlots.UnionMax(c.files[sourceIndex].repr.(*reprJS).ast.NestedScopeSlotCounts)
		linker.go#L3507: 			repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L3565: 		repr := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L3652: 	runtimeMembers := c.files[runtime.SourceIndex].repr.(*reprJS).ast.ModuleScope.Members
		linker.go#L3687: 		results = append(results, c.files[sourceIndex].additionalFiles...)
		linker.go#L3733: 			repr := c.files[chunk.sourceIndex].repr.(*reprJS)
		linker.go#L3809: 					if fileRepr := c.files[chunk.sourceIndex].repr.(*reprJS); fileRepr.meta.cjsWrap {
		linker.go#L3842: 				entryPoint := c.files[chunk.sourceIndex].source.PrettyPath
		linker.go#L3883: 				path := c.files[compileResult.sourceIndex].source.PrettyPath
		linker.go#L3923: 					path := c.files[compileResult.sourceIndex].source.PrettyPath
		linker.go#L4147: 		results = append(results, c.files[sourceIndex].additionalFiles...)
		linker.go#L4154: 			file := &c.files[sourceIndex]
		linker.go#L4241: 				file := &c.files[chunk.sourceIndex]
		linker.go#L4264: 				j.AddString(fmt.Sprintf("/* %s */\n", c.files[compileResult.sourceIndex].source.PrettyPath))
		linker.go#L4279: 					js_printer.QuoteForJSON(c.files[compileResult.sourceIndex].source.PrettyPath, c.options.ASCIIOnly),
		linker.go#L4376: 	repr, ok := c.files[sourceIndex].repr.(*reprJS)
		linker.go#L4465: 		file := &c.files[result.sourceIndex]
		linker.go#L4605: 		file := &c.files[partRange.sourceIndex]