github.com/evanw/esbuild/internal/js_parser.fnOrArrowDataParse.allowAwait (field)
14 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L388: allowAwait bool
js_parser.go#L1843: if (p.fnOrArrowDataParse.allowAwait && name == "await") || (p.fnOrArrowDataParse.allowYield && name == "yield") {
js_parser.go#L1965: allowAwait: opts.isAsync,
js_parser.go#L2217: arrow := p.parseArrowBody([]js_ast.Arg{arg}, fnOrArrowDataParse{allowAwait: true})
js_parser.go#L2275: allowAwait: isAsync,
js_parser.go#L2413: arrow := p.parseArrowBody(args, fnOrArrowDataParse{allowAwait: opts.isAsync})
js_parser.go#L2687: if p.fnOrArrowDataParse.allowAwait {
js_parser.go#L4468: if (p.fnOrArrowDataParse.allowAwait && name == "await") || (p.fnOrArrowDataParse.allowYield && name == "yield") {
js_parser.go#L4592: if data.allowAwait && data.allowYield {
js_parser.go#L4598: fn.IsAsync = data.allowAwait
js_parser.go#L4606: p.fnOrArrowDataParse.allowAwait = false
js_parser.go#L4963: allowAwait: isAsync,
js_parser.go#L5618: if !p.fnOrArrowDataParse.allowAwait {
js_parser.go#L12710: p.fnOrArrowDataParse.allowAwait = true
![]() |
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. |