github.com/evanw/esbuild/internal/js_ast.Stmt.Loc (field)

210 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L699: 	return Stmt{Loc: a.Loc, Data: &SExpr{Value: Assign(a, b)}}
		js_ast.go#L917: 	Loc  logger.Loc

	github.com/evanw/esbuild/internal/bundler
		linker.go#L1460: 			stmt = js_ast.Stmt{Loc: value.Loc, Data: &js_ast.SExportDefault{
		linker.go#L1465: 			stmt = js_ast.Stmt{Loc: value.Loc, Data: &js_ast.SLocal{
		linker.go#L1655: 		body := js_ast.FnBody{Stmts: []js_ast.Stmt{{Loc: value.Loc, Data: &js_ast.SReturn{Value: &value}}}}
		linker.go#L3037: 		Loc: loc,
		linker.go#L3057: 			if c.shouldRemoveImportExportStmt(sourceIndex, stmtList, partStmts, stmt.Loc, s.NamespaceRef, s.ImportRecordIndex) {
		linker.go#L3079: 								StarNameLoc:       &stmt.Loc,
		linker.go#L3086: 								Loc: stmt.Loc,
		linker.go#L3087: 								Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.ECall{
		linker.go#L3088: 									Target: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: exportStarRef}},
		linker.go#L3090: 										{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: repr.ast.ExportsRef}},
		linker.go#L3091: 										{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: s.NamespaceRef}},
		linker.go#L3107: 								Loc: stmt.Loc,
		linker.go#L3108: 								Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.ECall{
		linker.go#L3109: 									Target: js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: exportStarRef}},
		linker.go#L3111: 										{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: repr.ast.ExportsRef}},
		linker.go#L3124: 				if c.shouldRemoveImportExportStmt(sourceIndex, stmtList, partStmts, stmt.Loc, s.NamespaceRef, s.ImportRecordIndex) {
		linker.go#L3146: 			if c.shouldRemoveImportExportStmt(sourceIndex, stmtList, partStmts, stmt.Loc, s.NamespaceRef, s.ImportRecordIndex) {
		linker.go#L3211: 					stmt = js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SLocal{Decls: []js_ast.Decl{
		linker.go#L3224: 						stmt = js_ast.Stmt{Loc: s.Value.Stmt.Loc, Data: s2}
		linker.go#L3234: 						stmt = js_ast.Stmt{Loc: s.Value.Stmt.Loc, Data: s2}

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L2181: 		Body:       js_ast.FnBody{Loc: arrowLoc, Stmts: []js_ast.Stmt{{Loc: expr.Loc, Data: &js_ast.SReturn{Value: &expr}}}},
		js_parser.go#L3985: 			return js_ast.Expr{}, js_ast.Stmt{Loc: letRange.Loc, Data: &js_ast.SLocal{
		js_parser.go#L4785: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SClass{Class: class, IsExport: opts.isExport}}
		js_parser.go#L4980: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5005: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SFunction{Fn: fn, IsExport: opts.isExport}}
		js_parser.go#L5041: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SEmpty{}}
		js_parser.go#L5098: 				return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5125: 					return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5191: 					return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportDefault{DefaultName: defaultName, Value: js_ast.ExprOrStmt{Stmt: &stmt}}}
		js_parser.go#L5197: 				return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportDefault{DefaultName: defaultName, Value: js_ast.ExprOrStmt{Expr: &expr}}}
		js_parser.go#L5229: 				return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportDefault{DefaultName: defaultName, Value: js_ast.ExprOrStmt{Stmt: &stmt}}}
		js_parser.go#L5252: 					return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportDefault{DefaultName: defaultName, Value: js_ast.ExprOrStmt{Stmt: &stmt}}}
		js_parser.go#L5258: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportDefault{DefaultName: defaultName, Value: js_ast.ExprOrStmt{Expr: &expr}}}
		js_parser.go#L5294: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportStar{
		js_parser.go#L5313: 				return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportFrom{
		js_parser.go#L5321: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportClause{Items: items, IsSingleLine: isSingleLine}}
		js_parser.go#L5330: 				return js_ast.Stmt{Loc: loc, Data: &js_ast.SExportEquals{Value: value}}
		js_parser.go#L5401: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SLocal{
		js_parser.go#L5423: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SLocal{
		js_parser.go#L5441: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SIf{Test: test, Yes: yes, No: no}}
		js_parser.go#L5456: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SDoWhile{Body: body, Test: test}}
		js_parser.go#L5464: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SWhile{Test: test, Body: body}}
		js_parser.go#L5480: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SWith{Value: test, BodyLoc: bodyLoc, Body: body}}
		js_parser.go#L5530: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SSwitch{
		js_parser.go#L5601: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.STry{
		js_parser.go#L5652: 			init = &js_ast.Stmt{Loc: initLoc, Data: &js_ast.SLocal{Kind: js_ast.LocalVar, Decls: decls}}
		js_parser.go#L5658: 			init = &js_ast.Stmt{Loc: initLoc, Data: &js_ast.SLocal{Kind: js_ast.LocalConst, Decls: decls}}
		js_parser.go#L5670: 				init = &js_ast.Stmt{Loc: initLoc, Data: &js_ast.SExpr{Value: expr}}
		js_parser.go#L5695: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SForOf{IsAwait: isForAwait, Init: *init, Value: value, Body: body}}
		js_parser.go#L5705: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SForIn{Init: *init, Value: value, Body: body}}
		js_parser.go#L5731: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SFor{Init: init, Test: test, Update: update, Body: body}}
		js_parser.go#L5753: 			return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}}
		js_parser.go#L5814: 							return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5825: 						return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5833: 						return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L5913: 		return js_ast.Stmt{Loc: loc, Data: &stmt}
		js_parser.go#L5919: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SBreak{Label: name}}
		js_parser.go#L5925: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SContinue{Label: name}}
		js_parser.go#L5942: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SReturn{Value: value}}
		js_parser.go#L5952: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SThrow{Value: expr}}
		js_parser.go#L5957: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SDebugger{}}
		js_parser.go#L5966: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SBlock{Stmts: stmts}}
		js_parser.go#L6005: 					return js_ast.Stmt{Loc: loc, Data: &js_ast.SLabel{Name: name, Stmt: stmt}}
		js_parser.go#L6014: 							return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L6030: 						return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L6043: 							return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L6062: 							return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L6099: 								return js_ast.Stmt{Loc: loc, Data: &js_ast.SLocal{
		js_parser.go#L6107: 						return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		js_parser.go#L6114: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}}
		js_parser.go#L6188: 					Loc:  comment.Loc,
		js_parser.go#L6246: 				returnWithoutSemicolonStart = stmt.Loc.Start
		js_parser.go#L6595: 			letDecls[index].Value = &js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EFunction{Fn: s.Fn}}
		js_parser.go#L6603: 		before = append(before[:0], js_ast.Stmt{Loc: letDecls[0].Value.Loc, Data: &js_ast.SLocal{Kind: kind, Decls: letDecls}})
		js_parser.go#L6611: 				before = append(before, js_ast.Stmt{Loc: varDecls[0].Value.Loc, Data: &js_ast.SLocal{Kind: js_ast.LocalVar, Decls: varDecls}})
		js_parser.go#L6856: 						bodyLoc := s.Yes.Loc
		js_parser.go#L6858: 							bodyLoc = body[0].Loc
		js_parser.go#L6860: 						return p.mangleIf(result, stmt.Loc, &js_ast.SIf{
		js_parser.go#L6893: 					result[len(result)-1] = js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SReturn{Value: &value}}
		js_parser.go#L6905: 					result[len(result)-1] = js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SThrow{Value: js_ast.JoinWithComma(prevS.Value, s.Value)}}
		js_parser.go#L6922: 						s.Init = &js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SExpr{Value: prevS.Value}}
		js_parser.go#L6926: 						s.Init = &js_ast.Stmt{Loc: prevStmt.Loc, Data: &js_ast.SExpr{Value: js_ast.JoinWithComma(prevS.Value, s2.Value)}}
		js_parser.go#L6995: 					lastStmt = js_ast.Stmt{Loc: prevStmt.Loc, Data: lastReturn}
		js_parser.go#L7016: 						left = &js_ast.Expr{Loc: prevS.Yes.Loc, Data: &js_ast.EUndefined{}}
		js_parser.go#L7020: 						right = &js_ast.Expr{Loc: lastStmt.Loc, Data: &js_ast.EUndefined{}}
		js_parser.go#L7047: 					lastStmt = js_ast.Stmt{Loc: prevStmt.Loc, Data: lastReturn}
		js_parser.go#L7068: 					lastStmt = js_ast.Stmt{Loc: prevStmt.Loc, Data: lastThrow}
		js_parser.go#L7101: 					lastStmt = js_ast.Stmt{Loc: prevStmt.Loc, Data: lastThrow}
		js_parser.go#L7401: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L7403: 			p.markStrictModeFeature(ifElseFunctionStmt, js_lexer.RangeOfIdentifier(p.source, stmt.Loc), "")
		js_parser.go#L7414: 	return stmtsToSingleStmt(stmt.Loc, stmts)
		js_parser.go#L7420: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.SEmpty{}}
		js_parser.go#L7428: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SBlock{Stmts: stmts}}
		js_parser.go#L7555: 	return js_ast.Stmt{Loc: body.Loc, Data: &js_ast.SEmpty{}}
		js_parser.go#L7617: 		return append(stmts, js_ast.Stmt{Loc: body.Loc, Data: &js_ast.SBlock{Stmts: []js_ast.Stmt{body}}})
		js_parser.go#L7633: 						stmts = append(stmts, js_ast.Stmt{Loc: s.Test.Loc, Data: &js_ast.SExpr{Value: test}})
		js_parser.go#L7647: 						stmts = append(stmts, js_ast.Stmt{Loc: s.Test.Loc, Data: &js_ast.SExpr{Value: test}})
		js_parser.go#L7665: 				return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
		js_parser.go#L7669: 				return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
		js_parser.go#L7674: 			return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: p.mangleIfExpr(loc, &js_ast.EIf{
		js_parser.go#L7689: 				return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: s.Test}})
		js_parser.go#L7694: 				return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
		js_parser.go#L7698: 				return append(stmts, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
		js_parser.go#L7734: 	return append(stmts, js_ast.Stmt{Loc: loc, Data: s})
		js_parser.go#L7940: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{
		js_parser.go#L8036: 					js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SImport{
		js_parser.go#L8041: 					js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExportClause{
		js_parser.go#L8101: 				shadowRef := p.visitClass(s.Value.Stmt.Loc, &s2.Class)
		js_parser.go#L8115: 			js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EDot{
		js_parser.go#L8116: 				Target:  js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: p.moduleRef}},
		js_parser.go#L8118: 				NameLoc: stmt.Loc,
		js_parser.go#L8130: 			r := js_lexer.RangeOfIdentifier(p.source, stmt.Loc)
		js_parser.go#L8144: 			r := js_lexer.RangeOfIdentifier(p.source, stmt.Loc)
		js_parser.go#L8149: 		p.pushScopeForVisitPass(js_ast.ScopeLabel, stmt.Loc)
		js_parser.go#L8215: 					stmts = append(stmts, js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExpr{Value: target}})
		js_parser.go#L8241: 				stmt = js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SEmpty{}}
		js_parser.go#L8261: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L8280: 				stmt = js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SEmpty{}}
		js_parser.go#L8285: 		p.markStrictModeFeature(withStatement, js_lexer.RangeOfIdentifier(p.source, stmt.Loc), "")
		js_parser.go#L8307: 			stmt = js_ast.Stmt{Loc: stmt.Loc, Data: forS}
		js_parser.go#L8359: 			return p.mangleIf(stmts, stmt.Loc, s)
		js_parser.go#L8363: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L8405: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L8419: 				stmts = append(stmts, js_ast.Stmt{Loc: stmt.Loc, Data: &js_ast.SExpr{Value: js_ast.Assign(
		js_parser.go#L8435: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L8451: 		p.pushScopeForVisitPass(js_ast.ScopeBlock, stmt.Loc)
		js_parser.go#L8507: 				js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EDot{
		js_parser.go#L8508: 					Target:  js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: *p.enclosingNamespaceArgRef}},
		js_parser.go#L8525: 		shadowRef := p.visitClass(stmt.Loc, &s.Class)
		js_parser.go#L8540: 				js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EDot{
		js_parser.go#L8541: 					Target:  js_ast.Expr{Loc: stmt.Loc, Data: &js_ast.EIdentifier{Ref: *p.enclosingNamespaceArgRef}},
		js_parser.go#L8553: 		p.pushScopeForVisitPass(js_ast.ScopeEntry, stmt.Loc)
		js_parser.go#L8657: 				valueStmts = append(valueStmts, js_ast.Stmt{Loc: joined.Loc, Data: &js_ast.SExpr{Value: joined}})
		js_parser.go#L8660: 					valueStmts = append(valueStmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser.go#L8667: 			stmts, stmt.Loc, s.IsExport, s.Name.Loc, s.Name.Ref, s.Arg, valueStmts)
		js_parser.go#L8687: 		p.pushScopeForVisitPass(js_ast.ScopeEntry, stmt.Loc)
		js_parser.go#L8695: 			stmts, stmt.Loc, s.IsExport, s.Name.Loc, s.Name.Ref, s.Arg, stmtsInsideNamespace)
		js_parser.go#L8755: 	return js_ast.Stmt{Loc: value.Loc, Data: &js_ast.SExpr{Value: value}}, true
		js_parser.go#L8927: 						Body:       js_ast.FnBody{Loc: loc, Stmts: []js_ast.Stmt{{Loc: loc, Data: &js_ast.SReturn{Value: &expr}}}},
		js_parser.go#L9114: 				return stmt.Loc, true
		js_parser.go#L11150: 				body := js_ast.FnBody{Loc: arg.Loc, Stmts: []js_ast.Stmt{{Loc: arg.Loc, Data: &js_ast.SReturn{Value: &value}}}}
		js_parser.go#L12120: 				part.Stmts = append(part.Stmts, js_ast.Stmt{Loc: local.Loc, Data: &js_ast.SLocal{
		js_parser.go#L12796: 					parts = p.appendPart(parts, []js_ast.Stmt{{Loc: stmt.Loc, Data: &clone}})
		js_parser.go#L12841: 		Stmts:      []js_ast.Stmt{{Loc: expr.Loc, Data: &js_ast.SLazyExport{Value: expr}}},
		js_parser_lower.go#L277: 					prefixStmts = append(prefixStmts, js_ast.Stmt{Loc: arg.Binding.Loc,
		js_parser_lower.go#L417: 		returnStmt := js_ast.Stmt{Loc: bodyLoc, Data: &js_ast.SReturn{Value: &callAsync}}
		js_parser_lower.go#L423: 			superIndexStmt := js_ast.Stmt{Loc: bodyLoc, Data: &js_ast.SLocal{
		js_parser_lower.go#L432: 							Stmts: []js_ast.Stmt{{Loc: bodyLoc, Data: &js_ast.SReturn{
		js_parser_lower.go#L1154: 			if expr, ok := p.lowerObjectRestInAssign(s.Value, js_ast.Expr{Loc: init.Loc, Data: &js_ast.EIdentifier{Ref: ref}}); ok {
		js_parser_lower.go#L1156: 				bodyPrefixStmt = js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}}
		js_parser_lower.go#L1165: 			decl := js_ast.Decl{Binding: s.Decls[0].Binding, Value: &js_ast.Expr{Loc: init.Loc, Data: &js_ast.EIdentifier{Ref: ref}}}
		js_parser_lower.go#L1169: 			bodyPrefixStmt = js_ast.Stmt{Loc: init.Loc, Data: &js_ast.SLocal{Kind: s.Kind, Decls: decls}}
		js_parser_lower.go#L1197: 		stmts = append(stmts, js_ast.Stmt{Loc: catch.Binding.Loc, Data: &js_ast.SLocal{Kind: js_ast.LocalLet, Decls: decls}})
		js_parser_lower.go#L1585: 		classLoc = stmt.Loc
		js_parser_lower.go#L1878: 					instanceMembers = append(instanceMembers, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L1947: 						instancePrivateMethods = append(instancePrivateMethods, js_ast.Stmt{Loc: loc, Data: &js_ast.SExpr{Value: expr}})
		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#L2159: 			stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SLocal{
		js_parser_lower.go#L2180: 		stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SLocal{
		js_parser_lower.go#L2191: 			stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SClass{Class: *class}})
		js_parser_lower.go#L2193: 			stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SClass{Class: *class, IsExport: true}})
		js_parser_lower.go#L2195: 			stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SExportDefault{
		js_parser_lower.go#L2197: 				Value:       js_ast.ExprOrStmt{Stmt: &js_ast.Stmt{Loc: classLoc, Data: &js_ast.SClass{Class: *class}}},
		js_parser_lower.go#L2211: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: computedPropertyCache}})
		js_parser_lower.go#L2214: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L2217: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L2220: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L2223: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L2226: 		stmts = append(stmts, js_ast.Stmt{Loc: expr.Loc, Data: &js_ast.SExpr{Value: expr}})
		js_parser_lower.go#L2249: 			stmts = append(stmts, js_ast.Stmt{Loc: classLoc, Data: &js_ast.SExportDefault{
		ts_parser.go#L824: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SEnum{
		ts_parser.go#L872: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SLocal{
		ts_parser.go#L930: 		return js_ast.Stmt{Loc: loc, Data: &js_ast.STypeScript{}}
		ts_parser.go#L966: 	return js_ast.Stmt{Loc: loc, Data: &js_ast.SNamespace{
		ts_parser.go#L991: 			stmts = append(stmts, js_ast.Stmt{Loc: stmtLoc, Data: &js_ast.SLocal{
		ts_parser.go#L998: 			stmts = append(stmts, js_ast.Stmt{Loc: stmtLoc, Data: &js_ast.SLocal{
		ts_parser.go#L1046: 	stmts = append(stmts, js_ast.Stmt{Loc: stmtLoc, Data: &js_ast.SExpr{Value: js_ast.Expr{Loc: stmtLoc, Data: &js_ast.ECall{

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L2344: 		p.printBlock(body.Loc, block.Stmts)
		js_printer.go#L2411: 		p.printBlock(s.Yes.Loc, yes.Stmts)
		js_printer.go#L2454: 			p.printBlock(s.No.Loc, no.Stmts)
		js_printer.go#L2491: 	p.addSourceMapping(stmt.Loc)
		js_printer.go#L2707: 			p.printBlock(s.Body.Loc, block.Stmts)
		js_printer.go#L2864: 					p.printBlock(c.Body[0].Loc, block.Stmts)
		js_printer.go#L2963: 		p.printBlock(stmt.Loc, s.Stmts)