github.com/evanw/esbuild/internal/js_ast.Case.Value (field)
12 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1094: Value *Expr
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L5526: cases = append(cases, js_ast.Case{Value: value, Body: body})
js_parser.go#L8479: if c.Value != nil {
js_parser.go#L8480: *c.Value = p.visitExpr(*c.Value)
js_parser.go#L8481: p.warnAboutEqualityCheck("case", *c.Value, c.Value.Loc)
js_parser.go#L8482: p.warnAboutTypeofAndString(s.Test, *c.Value)
js_parser.go#L8495: if c.Value != nil {
js_parser.go#L8496: p.duplicateCaseChecker.check(p, *c.Value)
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2852: if c.Value != nil {
js_printer.go#L2855: p.printExpr(*c.Value, js_ast.LLogicalAnd, 0)
![]() |
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. |