github.com/evanw/esbuild/internal/js_parser.parser.importMetaRef (field)
9 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L59: importMetaRef js_ast.Ref
js_parser.go#L9881: if p.importMetaRef != js_ast.InvalidRef {
js_parser.go#L9883: p.recordUsage(p.importMetaRef)
js_parser.go#L9884: return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EIdentifier{Ref: p.importMetaRef}}, exprOut{}
js_parser.go#L12742: if p.importMetaRef != js_ast.InvalidRef {
js_parser.go#L12746: Binding: js_ast.Binding{Data: &js_ast.BIdentifier{Ref: p.importMetaRef}},
js_parser.go#L12895: p.importMetaRef = p.newSymbol(js_ast.SymbolOther, "import_meta")
js_parser.go#L12896: p.moduleScope.Generated = append(p.moduleScope.Generated, p.importMetaRef)
js_parser.go#L12898: p.importMetaRef = js_ast.InvalidRef
![]() |
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. |