github.com/evanw/esbuild/internal/js_ast.EFunction.Fn (field)

30 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L504: type EFunction struct{ Fn Fn }

	github.com/evanw/esbuild/internal/bundler
		linker.go#L1657: 			getter = js_ast.Expr{Data: &js_ast.EFunction{Fn: js_ast.Fn{Body: body}}}
		linker.go#L3409: 				Args:   []js_ast.Expr{{Data: &js_ast.EFunction{Fn: js_ast.Fn{Args: args, Body: js_ast.FnBody{Stmts: stmts}}}}},

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L1984: 		value := js_ast.Expr{Loc: loc, Data: &js_ast.EFunction{Fn: fn}}
		js_parser.go#L2278: 	return js_ast.Expr{Loc: loc, Data: &js_ast.EFunction{Fn: fn}}
		js_parser.go#L6595: 			letDecls[index].Value = &js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EFunction{Fn: s.Fn}}
		js_parser.go#L7915: 		return e.Fn.Name == nil
		js_parser.go#L11152: 					then = js_ast.Expr{Loc: arg.Loc, Data: &js_ast.EFunction{Fn: js_ast.Fn{Body: body}}}
		js_parser.go#L11448: 			return js_ast.Expr{Loc: expr.Loc, Data: &js_ast.EFunction{Fn: js_ast.Fn{
		js_parser.go#L11458: 		p.visitFn(&e.Fn, expr.Loc)
		js_parser.go#L11459: 		name := e.Fn.Name
		js_parser.go#L11463: 			e.Fn.Name = nil
		js_parser_lower.go#L415: 			{Loc: bodyLoc, Data: &js_ast.EFunction{Fn: fn}},
		js_parser_lower.go#L1673: 				for i, arg := range fn.Fn.Args {
		js_parser_lower.go#L1969: 						for _, arg := range ctor.Fn.Args {
		js_parser_lower.go#L2013: 				ctor.Fn.Body.Stmts = append(ctor.Fn.Body.Stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: classLoc, Data: &js_ast.ECall{
		js_parser_lower.go#L2021: 		stmtsFrom := ctor.Fn.Body.Stmts
		js_parser_lower.go#L2033: 		ctor.Fn.Body.Stmts = append(stmtsTo, stmtsFrom...)
		ts_parser.go#L1047: 		Target: js_ast.Expr{Loc: stmtLoc, Data: &js_ast.EFunction{Fn: js_ast.Fn{

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L1110: 			if fn.Fn.IsAsync {
		js_printer.go#L1115: 			if fn.Fn.IsGenerator {
		js_printer.go#L1128: 				p.printFn(fn.Fn)
		js_printer.go#L1199: 			p.printFn(f.Fn)
		js_printer.go#L1206: 			p.printFn(fn.Fn)
		js_printer.go#L1677: 		if e.Fn.IsAsync {
		js_printer.go#L1681: 		if e.Fn.IsGenerator {
		js_printer.go#L1685: 		if e.Fn.Name != nil {
		js_printer.go#L1686: 			p.printSymbol(e.Fn.Name.Ref)
		js_printer.go#L1688: 		p.printFn(e.Fn)