github.com/evanw/esbuild/internal/js_parser.propertyOpts.isGenerator (field)
9 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L1708: isGenerator bool
js_parser.go#L1771: if kind != js_ast.PropertyNormal || opts.isGenerator {
js_parser.go#L1775: opts.isGenerator = true
js_parser.go#L1788: if kind == js_ast.PropertyNormal && !opts.isGenerator {
js_parser.go#L1841: p.lexer.Token != js_lexer.TOpenParen && p.lexer.Token != js_lexer.TLessThan && !opts.isGenerator &&
js_parser.go#L1882: !opts.isGenerator && p.lexer.Token != js_lexer.TOpenParen {
js_parser.go#L1933: opts.isClass || opts.isAsync || opts.isGenerator {
js_parser.go#L1952: case opts.isGenerator:
js_parser.go#L1966: allowYield: opts.isGenerator,
![]() |
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. |