github.com/evanw/esbuild/internal/js_ast.SImport.NamespaceRef (field)
27 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1121: NamespaceRef Ref
github.com/evanw/esbuild/internal/bundler
linker.go#L3057: if c.shouldRemoveImportExportStmt(sourceIndex, stmtList, partStmts, stmt.Loc, s.NamespaceRef, s.ImportRecordIndex) {
linker.go#L3078: NamespaceRef: s.NamespaceRef,
linker.go#L3131: NamespaceRef: s.NamespaceRef,
linker.go#L3156: NamespaceRef: s.NamespaceRef,
linker.go#L3595: r.AddTopLevelSymbol(s.NamespaceRef)
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5773: stmt.NamespaceRef = p.storeNameInRef(p.lexer.Identifier)
js_parser.go#L5851: stmt.NamespaceRef = p.storeNameInRef(p.lexer.Identifier)
js_parser.go#L5880: name := p.loadNameFromRef(stmt.NamespaceRef)
js_parser.go#L5881: stmt.NamespaceRef = p.declareSymbol(js_ast.SymbolImport, *stmt.StarNameLoc, name)
js_parser.go#L5885: stmt.NamespaceRef = p.newSymbol(js_ast.SymbolOther, name)
js_parser.go#L5886: p.currentScope.Generated = append(p.currentScope.Generated, stmt.NamespaceRef)
js_parser.go#L5911: p.importItemsForNamespace[stmt.NamespaceRef] = itemRefs
js_parser.go#L7966: p.recordDeclaredSymbol(s.NamespaceRef)
js_parser.go#L8037: NamespaceRef: s.NamespaceRef,
js_parser.go#L11795: symbol := p.symbols[s.NamespaceRef.InnerIndex]
js_parser.go#L11798: if p.options.ts.Parse && p.tsUseCounts[s.NamespaceRef.InnerIndex] != 0 {
js_parser.go#L11806: if importItems, ok := p.importItemsForNamespace[s.NamespaceRef]; ok && len(importItems) == 0 {
js_parser.go#L11890: convertStarToClause := p.symbols[s.NamespaceRef.InnerIndex].UseCountEstimate == 0
js_parser.go#L11896: if importItems, ok := p.importItemsForNamespace[s.NamespaceRef]; ok && len(importItems) > 0 {
js_parser.go#L11940: NamespaceRef: s.NamespaceRef,
js_parser.go#L11946: NamespaceRef: s.NamespaceRef,
js_parser.go#L11958: NamespaceRef: s.NamespaceRef,
js_parser.go#L11964: p.namedImports[s.NamespaceRef] = js_ast.NamedImport{
js_parser.go#L11977: NamespaceRef: s.NamespaceRef,
js_parser.go#L13032: NamespaceRef: namespaceRef,
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2947: p.printSymbol(s.NamespaceRef)
 |
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. |