github.com/evanw/esbuild/internal/js_parser.propertyOpts.isClass (field)
12 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L1712: isClass bool
js_parser.go#L1738: if !opts.isClass || len(opts.tsDecorators) > 0 {
js_parser.go#L1752: if p.options.ts.Parse && p.lexer.Token == js_lexer.TColon && wasIdentifier && opts.isClass {
js_parser.go#L1823: if !opts.isStatic && !opts.isAsync && opts.isClass && raw == name {
js_parser.go#L1830: if opts.isClass && p.options.ts.Parse && raw == name {
js_parser.go#L1840: if !opts.isClass && kind == js_ast.PropertyNormal && p.lexer.Token != js_lexer.TColon &&
js_parser.go#L1871: if opts.isClass && (p.lexer.Token == js_lexer.TQuestion || p.lexer.Token == js_lexer.TExclamation) {
js_parser.go#L1881: if opts.isClass && kind == js_ast.PropertyNormal && !opts.isAsync &&
js_parser.go#L1933: opts.isClass || opts.isAsync || opts.isGenerator {
js_parser.go#L1942: if opts.isClass && !isComputed {
js_parser.go#L1972: allowMissingBodyForTypeScript: p.options.ts.Parse && opts.isClass,
js_parser.go#L4841: isClass: 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. |