github.com/evanw/esbuild/internal/js_parser.parser.fnOnlyDataVisit (field)
34 uses
github.com/evanw/esbuild/internal/js_parser (current package)
js_parser.go#L48: fnOnlyDataVisit fnOnlyDataVisit
js_parser.go#L6484: if ref := p.fnOnlyDataVisit.thisCaptureRef; ref != nil {
js_parser.go#L6493: if ref := p.fnOnlyDataVisit.argumentsCaptureRef; ref != nil {
js_parser.go#L6496: value: &js_ast.Expr{Loc: *opts.fnBodyLoc, Data: &js_ast.EIdentifier{Ref: *p.fnOnlyDataVisit.argumentsRef}},
js_parser.go#L9027: oldIsThisCaptured := p.fnOnlyDataVisit.isThisNested
js_parser.go#L9028: oldThis := p.fnOnlyDataVisit.thisClassStaticRef
js_parser.go#L9029: p.fnOnlyDataVisit.isThisNested = true
js_parser.go#L9030: p.fnOnlyDataVisit.thisClassStaticRef = nil
js_parser.go#L9057: p.fnOnlyDataVisit.thisClassStaticRef = &shadowRef
js_parser.go#L9068: p.fnOnlyDataVisit.thisClassStaticRef = oldThis
js_parser.go#L9069: p.fnOnlyDataVisit.isThisNested = oldIsThisCaptured
js_parser.go#L9679: if p.fnOnlyDataVisit.thisClassStaticRef != nil {
js_parser.go#L9680: p.recordUsage(*p.fnOnlyDataVisit.thisClassStaticRef)
js_parser.go#L9681: return js_ast.Expr{Loc: loc, Data: &js_ast.EIdentifier{Ref: *p.fnOnlyDataVisit.thisClassStaticRef}}, true
js_parser.go#L9684: if p.options.mode != config.ModePassThrough && !p.fnOnlyDataVisit.isThisNested {
js_parser.go#L9862: if p.fnOrArrowDataVisit.isArrow && p.options.unsupportedJSFeatures.Has(compat.Arrow) && p.fnOnlyDataVisit.isThisNested {
js_parser.go#L11414: oldInsideAsyncArrowFn := p.fnOnlyDataVisit.isInsideAsyncArrowFn
js_parser.go#L11416: p.fnOnlyDataVisit.isInsideAsyncArrowFn = true
js_parser.go#L11443: p.fnOnlyDataVisit.isInsideAsyncArrowFn = oldInsideAsyncArrowFn
js_parser.go#L11549: if p.fnOnlyDataVisit.argumentsRef != nil && ref == *p.fnOnlyDataVisit.argumentsRef {
js_parser.go#L11551: isInsideUnsupportedAsyncArrow := p.fnOnlyDataVisit.isInsideAsyncArrowFn && p.options.unsupportedJSFeatures.Has(compat.AsyncAwait)
js_parser.go#L11632: oldFnOnlyData := p.fnOnlyDataVisit
js_parser.go#L11636: p.fnOnlyDataVisit = fnOnlyDataVisit{
js_parser.go#L11661: p.fnOnlyDataVisit = oldFnOnlyData
js_parser_lower.go#L207: if p.fnOnlyDataVisit.thisCaptureRef == nil {
js_parser_lower.go#L209: p.fnOnlyDataVisit.thisCaptureRef = &ref
js_parser_lower.go#L211: return *p.fnOnlyDataVisit.thisCaptureRef
js_parser_lower.go#L215: if p.fnOnlyDataVisit.argumentsCaptureRef == nil {
js_parser_lower.go#L217: p.fnOnlyDataVisit.argumentsCaptureRef = &ref
js_parser_lower.go#L219: return *p.fnOnlyDataVisit.argumentsCaptureRef
js_parser_lower.go#L319: usesArgumentsRef := !isArrow && p.fnOnlyDataVisit.argumentsRef != nil && p.symbolUses[*p.fnOnlyDataVisit.argumentsRef].CountEstimate > 0
js_parser_lower.go#L373: forwardedArgs = js_ast.Expr{Loc: bodyLoc, Data: &js_ast.EIdentifier{Ref: *p.fnOnlyDataVisit.argumentsRef}}
![]() |
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. |