github.com/evanw/esbuild/internal/js_ast.EArrow.HasRestArg (field)
6 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L500: HasRestArg bool
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L2415: arrow.HasRestArg = spreadRange.Len > 0
js_parser.go#L11421: hasRestArg: e.HasRestArg,
js_parser.go#L11428: p.lowerFunction(&e.IsAsync, &e.Args, e.Body.Loc, &e.Body.Stmts, &e.PreferExpr, &e.HasRestArg, true /* isArrow */)
js_parser.go#L11453: HasRestArg: e.HasRestArg,
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1650: p.printFnArgs(e.Args, e.HasRestArg, true /* isArrow */)
 |
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. |