github.com/evanw/esbuild/internal/ast.Index32.GetIndex (method)
39 uses
github.com/evanw/esbuild/internal/ast (current package)
ast.go#L109: func (i Index32) GetIndex() uint32 {
github.com/evanw/esbuild/internal/bundler
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#L1359: otherFile := &s.results[record.SourceIndex.GetIndex()].file
bundler.go#L1377: otherFile := &s.results[record.SourceIndex.GetIndex()].file
bundler.go#L1397: cssSourceIndex: ast.MakeIndex32(record.SourceIndex.GetIndex()),
bundler.go#L1415: if otherFile := &s.results[record.SourceIndex.GetIndex()].file; otherFile.ignoreIfUnused {
bundler.go#L1695: isEntryPoint[record.SourceIndex.GetIndex()] = true
linker.go#L561: visit(repr.cssSourceIndex.GetIndex())
linker.go#L565: visit(record.SourceIndex.GetIndex())
linker.go#L834: record.Path.Text = c.pathBetweenChunks(chunk.relDir, c.files[record.SourceIndex.GetIndex()].entryPointRelPath)
linker.go#L913: if otherChunkIndex := otherChunkIndex.GetIndex(); otherChunkIndex != uint32(chunkIndex) {
linker.go#L1120: otherFile := &c.files[record.SourceIndex.GetIndex()]
linker.go#L1139: otherFile := &c.files[record.SourceIndex.GetIndex()]
linker.go#L1174: c.entryPoints = append(c.entryPoints, record.SourceIndex.GetIndex())
linker.go#L1233: otherRepr := c.files[record.SourceIndex.GetIndex()].repr.(*reprJS)
linker.go#L2146: (record.SourceIndex.IsValid() && record.SourceIndex.GetIndex() != sourceIndex && c.isCommonJSDueToExportStar(record.SourceIndex.GetIndex(), visited)) {
linker.go#L2175: otherSourceIndex := record.SourceIndex.GetIndex()
linker.go#L2281: otherSourceIndex := record.SourceIndex.GetIndex()
linker.go#L2463: c.includeFile(repr.cssSourceIndex.GetIndex(), entryPointBit, distanceFromEntryPoint)
linker.go#L2470: if uint32(partIndex) == repr.meta.entryPointExportPartIndex.GetIndex() &&
linker.go#L2483: otherSourceIndex := record.SourceIndex.GetIndex()
linker.go#L2538: c.includeFile(record.SourceIndex.GetIndex(), entryPointBit, distanceFromEntryPoint)
linker.go#L2577: return record.Kind == ast.ImportDynamic && c.files[record.SourceIndex.GetIndex()].isEntryPoint
linker.go#L2627: otherSourceIndex := record.SourceIndex.GetIndex()
linker.go#L2661: (record.SourceIndex.IsValid() && record.SourceIndex.GetIndex() != sourceIndex && c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports) {
linker.go#L2890: if record.SourceIndex.IsValid() && !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
linker.go#L2953: visit(record.SourceIndex.GetIndex())
linker.go#L2988: visit(record.SourceIndex.GetIndex())
linker.go#L3019: if !c.files[record.SourceIndex.GetIndex()].repr.(*reprJS).meta.cjsStyleExports {
linker.go#L3365: if uint32(partIndex) == repr.meta.cjsWrapperPartIndex.GetIndex() {
linker.go#L3371: if uint32(partIndex) == repr.meta.entryPointExportPartIndex.GetIndex() {
linker.go#L4391: if record.SourceIndex.IsValid() && record.SourceIndex.GetIndex() == runtime.SourceIndex {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1326: p.printSymbol(p.options.WrapperRefForSource(record.SourceIndex.GetIndex()))
js_printer.go#L1531: p.printRequireOrImportExpr(e.ImportRecordIndex.GetIndex(), leadingInteriorComments)
github.com/evanw/esbuild/internal/renamer
renamer.go#L122: return r.slots[ns][i.GetIndex()].name
renamer.go#L172: (*slots)[i.GetIndex()].count += count
 |
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. |