github.com/evanw/esbuild/internal/js_ast.Property.IsMethod (field)
18 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L290: IsMethod bool
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L2050: IsMethod: true,
js_parser.go#L2527: if item.IsMethod || item.Kind == js_ast.PropertyGet || item.Kind == js_ast.PropertySet {
js_parser.go#L9037: } else if !property.IsMethod && !property.IsComputed &&
js_parser.go#L10960: if !property.IsComputed && !property.WasShorthand && !property.IsMethod && in.assignTarget == js_ast.AssignTargetNone {
js_parser_lower.go#L1667: if p.options.ts.Parse && prop.IsMethod {
js_parser_lower.go#L1698: shouldOmitFieldInitializer := p.options.ts.Parse && !prop.IsMethod && prop.Initializer == nil &&
js_parser_lower.go#L1702: mustLowerField := !prop.IsMethod &&
js_parser_lower.go#L1708: if !prop.IsMethod && prop.IsStatic && avoidTDZ && shadowRef != js_ast.InvalidRef {
js_parser_lower.go#L1718: if len(prop.TSDecorators) == 0 && (prop.IsMethod || shouldOmitFieldInitializer) {
js_parser_lower.go#L1737: if prop.IsMethod {
js_parser_lower.go#L1764: if !prop.IsMethod {
js_parser_lower.go#L1796: if !prop.IsMethod && (mustLowerField || (p.options.ts.Parse && !p.options.useDefineForClassFields && (!prop.IsStatic || private == nil))) {
js_parser_lower.go#L1892: if prop.IsMethod {
js_parser_lower.go#L2004: IsMethod: true,
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1109: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
js_printer.go#L1127: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
js_printer.go#L1205: if fn, ok := item.Value.Data.(*js_ast.EFunction); item.IsMethod && ok {
![]() |
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. |