github.com/evanw/esbuild/internal/ast.ImportRecord.Kind (field)
26 uses
github.com/evanw/esbuild/internal/ast (current package)
ast.go#L91: Kind ImportKind
github.com/evanw/esbuild/internal/bundler
bundler.go#L413: cache, ok := resolverCache[record.Kind]
bundler.go#L416: resolverCache[record.Kind] = cache
bundler.go#L432: record.Kind,
bundler.go#L440: if record.Kind == ast.ImportRequireResolve {
bundler.go#L458: if query := args.res.ProbeResolvePackageAsRelative(absResolveDir, record.Path.Text, record.Kind); query != nil {
bundler.go#L1345: js_printer.QuoteForJSON(record.Kind.StringForMetafile(), s.options.ASCIIOnly)))
bundler.go#L1348: switch record.Kind {
bundler.go#L1694: if record := &repr.ast.ImportRecords[importRecordIndex]; record.SourceIndex.IsValid() && record.Kind == ast.ImportDynamic {
linker.go#L742: Kind: ast.ImportStmt,
linker.go#L1142: switch record.Kind {
linker.go#L2478: if record.Kind != ast.ImportStmt {
linker.go#L2577: return record.Kind == ast.ImportDynamic && c.files[record.SourceIndex.GetIndex()].isEntryPoint
linker.go#L2620: if record.Kind != ast.ImportRequire && !c.options.OutputFormat.KeepES6ImportExportSyntax() {
linker.go#L2629: if record.Kind == ast.ImportStmt && !otherRepr.meta.cjsStyleExports {
linker.go#L2643: if record.Kind != ast.ImportRequire && !otherRepr.meta.skipCallingToModule {
linker.go#L2948: if record.SourceIndex.IsValid() && (record.Kind == ast.ImportStmt || isPartInThisChunk) {
linker.go#L3798: js_printer.QuoteForJSON(continueData.crossChunkImportRecords[i].Kind.StringForMetafile(), c.options.ASCIIOnly)))
linker.go#L4235: js_printer.QuoteForJSON(continueData.crossChunkImportRecords[i].Kind.StringForMetafile(), c.options.ASCIIOnly)))
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L343: Kind: ast.ImportAt,
css_parser.go#L603: Kind: ast.ImportURL,
css_parser.go#L628: Kind: ast.ImportURL,
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L6145: Kind: kind,
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1276: if !record.SourceIndex.IsValid() && record.Kind == ast.ImportDynamic && p.options.OutputFormat.KeepES6ImportExportSyntax() {
js_printer.go#L1297: if record.Kind == ast.ImportDynamic {
js_printer.go#L1338: if record.Kind == ast.ImportDynamic {
 |
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. |