github.com/evanw/esbuild/internal/js_parser.parser.moduleScope (field)
36 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L142: moduleScope *js_ast.Scope
js_parser.go#L1530: p.moduleScope.Generated = append(p.moduleScope.Generated, ref)
js_parser.go#L6341: p.moduleScope.Members[name] = js_ast.ScopeMember{Ref: ref, Loc: logger.Loc{Start: -1}}
js_parser.go#L6692: if p.currentScope != p.moduleScope && !p.currentScope.ContainsDirectEval {
js_parser.go#L7460: IsTopLevel: p.currentScope == p.moduleScope,
js_parser.go#L8723: if p.options.mode != config.ModeBundle || p.currentScope == p.moduleScope {
js_parser.go#L8732: if scope != p.moduleScope {
js_parser.go#L9398: p.moduleScope.Generated = append(p.moduleScope.Generated, item.Ref)
js_parser.go#L11494: if member, ok := p.moduleScope.Members[name]; ok && member.Ref == id.Ref {
js_parser.go#L12763: p.moduleScope.Generated = append(p.moduleScope.Generated, ref)
js_parser.go#L12769: if _, ok := p.moduleScope.Members[alias]; !ok {
js_parser.go#L12771: p.moduleScope.Members[alias] = js_ast.ScopeMember{Ref: ref}
js_parser.go#L12867: p.moduleScope = p.currentScope
js_parser.go#L12873: p.moduleScope.RecursiveSetStrictMode(js_ast.ImplicitStrictModeImport)
js_parser.go#L12875: p.moduleScope.RecursiveSetStrictMode(js_ast.ImplicitStrictModeExport)
js_parser.go#L12877: p.moduleScope.RecursiveSetStrictMode(js_ast.ImplicitStrictModeTopLevelAwait)
js_parser.go#L12880: p.hoistSymbols(p.moduleScope)
js_parser.go#L12896: p.moduleScope.Generated = append(p.moduleScope.Generated, p.importMetaRef)
js_parser.go#L12913: member, ok := p.moduleScope.Members[name]
js_parser.go#L12945: p.moduleScope.Members[name] = js_ast.ScopeMember{Ref: ref, Loc: logger.Loc{Start: -1}}
js_parser.go#L12953: p.moduleScope.Generated = append(p.moduleScope.Generated, ref)
js_parser.go#L12994: visit(p.moduleScope)
js_parser.go#L13007: p.moduleScope.Generated = append(p.moduleScope.Generated, namespaceRef)
js_parser.go#L13074: if p.moduleScope.ContainsDirectEval && len(part.DeclaredSymbols) > 0 {
js_parser.go#L13148: nestedScopeSlotCounts = renamer.AssignNestedScopeSlots(p.moduleScope, p.symbols)
js_parser.go#L13153: ModuleScope: p.moduleScope,
js_parser_lower.go#L1829: p.moduleScope.Generated = append(p.moduleScope.Generated, p.weakMapRef)
js_parser_lower.go#L1905: p.moduleScope.Generated = append(p.moduleScope.Generated, p.weakSetRef)
 |
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. |