github.com/evanw/esbuild/internal/js_ast.Fn.Name (field)
47 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L313: Name *LocRef
github.com/evanw/esbuild/internal/bundler
linker.go#L3222: s2.Fn.Name = &s.DefaultName
linker.go#L4407: c.symbols.Get(s.Fn.Name.Ref).Kind = js_ast.SymbolUnbound
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L4596: fn.Name = name
js_parser.go#L5185: if s, ok := stmt.Data.(*js_ast.SFunction); ok && s.Fn.Name != nil {
js_parser.go#L5186: defaultName = js_ast.LocRef{Loc: defaultLoc, Ref: s.Fn.Name.Ref}
js_parser.go#L5214: if s.Fn.Name != nil {
js_parser.go#L5215: defaultName = js_ast.LocRef{Loc: defaultLoc, Ref: s.Fn.Name.Ref}
js_parser.go#L6555: if !p.currentScope.Kind.StopsHoisting() && p.symbols[int(s.Fn.Name.Ref.InnerIndex)].Kind == js_ast.SymbolHoistedFunction {
js_parser.go#L6576: index, ok := fnStmts[s.Fn.Name.Ref]
js_parser.go#L6579: fnStmts[s.Fn.Name.Ref] = index
js_parser.go#L6581: Loc: s.Fn.Name.Loc, Data: &js_ast.BIdentifier{Ref: s.Fn.Name.Ref}}})
js_parser.go#L6584: if hoistedRef, ok := p.hoistedRefForSloppyModeBlockFn[s.Fn.Name.Ref]; ok {
js_parser.go#L6585: p.recordUsage(s.Fn.Name.Ref)
js_parser.go#L6587: Binding: js_ast.Binding{Loc: s.Fn.Name.Loc, Data: &js_ast.BIdentifier{Ref: hoistedRef}},
js_parser.go#L6588: Value: &js_ast.Expr{Loc: s.Fn.Name.Loc, Data: &js_ast.EIdentifier{Ref: s.Fn.Name.Ref}},
js_parser.go#L6594: s.Fn.Name = nil
js_parser.go#L7915: return e.Fn.Name == nil
js_parser.go#L8081: if s2.Fn.Name == nil {
js_parser.go#L8083: s2.Fn.Name = &clone
js_parser.go#L8086: name = p.symbols[s2.Fn.Name.Ref.InnerIndex].OriginalName
js_parser.go#L8094: if p.options.keepNames && s2.Fn.Name != nil {
js_parser.go#L8095: stmts = append(stmts, p.keepStmtSymbolName(s2.Fn.Name.Loc, s2.Fn.Name.Ref, name))
js_parser.go#L8509: Name: p.symbols[s.Fn.Name.Ref.InnerIndex].OriginalName,
js_parser.go#L8510: NameLoc: s.Fn.Name.Loc,
js_parser.go#L8512: js_ast.Expr{Loc: s.Fn.Name.Loc, Data: &js_ast.EIdentifier{Ref: s.Fn.Name.Ref}},
js_parser.go#L8520: stmts = append(stmts, p.keepStmtSymbolName(s.Fn.Name.Loc, s.Fn.Name.Ref, p.symbols[s.Fn.Name.Ref.InnerIndex].OriginalName))
js_parser.go#L11459: name := e.Fn.Name
js_parser.go#L11463: e.Fn.Name = nil
js_parser.go#L11641: if fn.Name != nil {
js_parser.go#L11642: p.recordDeclaredSymbol(fn.Name.Ref)
js_parser.go#L11643: if name := p.symbols[fn.Name.Ref.InnerIndex].OriginalName; isEvalOrArguments(name) {
js_parser.go#L11644: p.markStrictModeFeature(evalOrArguments, js_lexer.RangeOfIdentifier(p.source, fn.Name.Loc), name)
js_parser.go#L11992: p.recordExport(s.Fn.Name.Loc, p.symbols[s.Fn.Name.Ref.InnerIndex].OriginalName, s.Fn.Name.Ref)
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L1685: if e.Fn.Name != nil {
js_printer.go#L1686: p.printSymbol(e.Fn.Name.Ref)
js_printer.go#L2519: p.printSymbol(s.Fn.Name.Ref)
js_printer.go#L2565: if s2.Fn.Name != nil {
js_printer.go#L2566: p.printSymbol(s2.Fn.Name.Ref)
 |
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. |