github.com/evanw/esbuild/internal/js_parser.parser.declareCommonJSSymbol (method)
4 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L12883: p.exportsRef = p.declareCommonJSSymbol(js_ast.SymbolHoisted, "exports")
js_parser.go#L12884: p.requireRef = p.declareCommonJSSymbol(js_ast.SymbolUnbound, "require")
js_parser.go#L12885: p.moduleRef = p.declareCommonJSSymbol(js_ast.SymbolHoisted, "module")
js_parser.go#L12912: func (p *parser) declareCommonJSSymbol(kind js_ast.SymbolKind, name string) js_ast.Ref {
![]() |
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. |