github.com/evanw/esbuild/internal/js_parser.parenExprOpts.forceArrowFn (field)
4 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L2284: forceArrowFn bool
js_parser.go#L2372: if p.lexer.Token == js_lexer.TEqualsGreaterThan || opts.forceArrowFn || (p.options.ts.Parse && p.lexer.Token == js_lexer.TColon) {
js_parser.go#L2398: p.trySkipTypeScriptArrowReturnTypeWithBacktracking()) || opts.forceArrowFn {
js_parser.go#L3144: return p.parseParenExpr(loc, parenExprOpts{forceArrowFn: 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. |