github.com/evanw/esbuild/internal/js_ast.Class.Name (field)

47 uses

	github.com/evanw/esbuild/internal/js_ast (current package)
		js_ast.go#L336: 	Name         *LocRef

	github.com/evanw/esbuild/internal/bundler
		linker.go#L3232: 						s2.Class.Name = &s.DefaultName
		linker.go#L4413: 					c.symbols.Get(s.Class.Name.Ref).Kind = js_ast.SymbolUnbound

	github.com/evanw/esbuild/internal/js_parser
		js_parser.go#L4887: 		Name:         name,
		js_parser.go#L5220: 					if s.Class.Name != nil {
		js_parser.go#L5221: 						defaultName = js_ast.LocRef{Loc: defaultLoc, Ref: s.Class.Name.Ref}
		js_parser.go#L5246: 					if s, ok := stmt.Data.(*js_ast.SClass); ok && s.Class.Name != nil {
		js_parser.go#L5247: 						defaultName = js_ast.LocRef{Loc: defaultLoc, Ref: s.Class.Name.Ref}
		js_parser.go#L7917: 		return e.Class.Name == nil
		js_parser.go#L8542: 					Name:    p.symbols[s.Class.Name.Ref.InnerIndex].OriginalName,
		js_parser.go#L8543: 					NameLoc: s.Class.Name.Loc,
		js_parser.go#L8545: 				js_ast.Expr{Loc: s.Class.Name.Loc, Data: &js_ast.EIdentifier{Ref: s.Class.Name.Ref}},
		js_parser.go#L8955: 	if class.Name != nil {
		js_parser.go#L8956: 		p.recordDeclaredSymbol(class.Name.Ref)
		js_parser.go#L8971: 	if class.Name != nil {
		js_parser.go#L8972: 		classNameRef = class.Name.Ref
		js_parser.go#L8991: 		if class.Name != nil {
		js_parser.go#L8992: 			p.currentScope.Members[name] = js_ast.ScopeMember{Loc: class.Name.Loc, Ref: shadowRef}
		js_parser.go#L9082: 		} else if class.Name == nil {
		js_parser.go#L9086: 			class.Name = &js_ast.LocRef{Loc: nameScopeLoc, Ref: classNameRef}
		js_parser.go#L11997: 				p.recordExport(s.Class.Name.Loc, p.symbols[s.Class.Name.Ref.InnerIndex].OriginalName, s.Class.Name.Ref)
		js_parser_lower.go#L1546: 		if class.Name != nil {
		js_parser_lower.go#L1547: 			symbol := &p.symbols[class.Name.Ref.InnerIndex]
		js_parser_lower.go#L1553: 				p.mergeSymbols(shadowRef, class.Name.Ref)
		js_parser_lower.go#L1559: 				class.Name = nil
		js_parser_lower.go#L1569: 		nameToKeep = p.symbols[class.Name.Ref.InnerIndex].OriginalName
		js_parser_lower.go#L1576: 		if class.Name != nil {
		js_parser_lower.go#L1577: 			nameToKeep = p.symbols[class.Name.Ref.InnerIndex].OriginalName
		js_parser_lower.go#L1643: 			if class.Name != nil {
		js_parser_lower.go#L1644: 				p.mergeSymbols(class.Name.Ref, name.Data.(*js_ast.EIdentifier).Ref)
		js_parser_lower.go#L1645: 				class.Name = nil
		js_parser_lower.go#L1650: 			if class.Name == nil {
		js_parser_lower.go#L1652: 					class.Name = &defaultName
		js_parser_lower.go#L1654: 					class.Name = &js_ast.LocRef{Loc: classLoc, Ref: p.generateTempRef(tempRefNoDeclare, "zomzomz")}
		js_parser_lower.go#L1657: 			p.recordUsage(class.Name.Ref)
		js_parser_lower.go#L1658: 			return js_ast.Expr{Loc: classLoc, Data: &js_ast.EIdentifier{Ref: class.Name.Ref}}
		js_parser_lower.go#L2203: 		if class.Name != nil && shadowRef != js_ast.InvalidRef {
		js_parser_lower.go#L2204: 			p.mergeSymbols(shadowRef, class.Name.Ref)
		js_parser_lower.go#L2259: 		class.Name = nil

	github.com/evanw/esbuild/internal/js_printer
		js_printer.go#L1701: 		if e.Class.Name != nil {
		js_printer.go#L1702: 			p.printSymbol(e.Class.Name.Ref)
		js_printer.go#L2530: 		p.printSymbol(s.Class.Name.Ref)
		js_printer.go#L2574: 			if s2.Class.Name != nil {
		js_printer.go#L2575: 				p.printSymbol(s2.Class.Name.Ref)