github.com/evanw/esbuild/internal/js_parser.parseStmtOpts.isModuleScope (field)
21 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L5028: isModuleScope bool
js_parser.go#L5045: if opts.isModuleScope {
js_parser.go#L5071: if p.options.ts.Parse && (opts.isModuleScope || opts.isNamespaceScope) {
js_parser.go#L5124: p.skipTypeScriptTypeStmt(parseStmtOpts{isModuleScope: opts.isModuleScope, isExport: true})
js_parser.go#L5148: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5261: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5301: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5757: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5766: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5781: if !opts.isModuleScope && (!opts.isNamespaceScope || !opts.isTypeScriptDeclare) {
js_parser.go#L5794: if !opts.isModuleScope && !opts.isNamespaceScope {
js_parser.go#L6013: p.skipTypeScriptTypeStmt(parseStmtOpts{isModuleScope: opts.isModuleScope})
js_parser.go#L6022: if (opts.isModuleScope || opts.isNamespaceScope) && (p.lexer.Token == js_lexer.TIdentifier ||
js_parser.go#L6029: p.skipTypeScriptInterfaceStmt(parseStmtOpts{isModuleScope: opts.isModuleScope})
js_parser.go#L12714: stmts := p.parseStmtsUpTo(js_lexer.TEndOfFile, parseStmtOpts{isModuleScope: true})
ts_parser.go#L690: if opts.isModuleScope {
ts_parser.go#L737: if opts.isModuleScope {
ts_parser.go#L927: if opts.isModuleScope {
![]() |
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. |