github.com/evanw/esbuild/internal/js_ast.SClass.Class (field)
31 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1024: Class Class
github.com/evanw/esbuild/internal/bundler
linker.go#L3231: s2 = &js_ast.SClass{Class: s2.Class}
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#L4785: return js_ast.Stmt{Loc: loc, Data: &js_ast.SClass{Class: class, IsExport: opts.isExport}}
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#L8101: shadowRef := p.visitClass(s.Value.Stmt.Loc, &s2.Class)
js_parser.go#L8525: shadowRef := p.visitClass(stmt.Loc, &s.Class)
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#L11997: p.recordExport(s.Class.Name.Loc, p.symbols[s.Class.Name.Ref.InnerIndex].OriginalName, s.Class.Name.Ref)
js_parser.go#L12153: if !p.classCanBeRemovedIfUnused(s.Class) {
js_parser.go#L12194: if !p.classCanBeRemovedIfUnused(s2.Class) {
js_parser_lower.go#L1563: class = &s.Class
js_parser_lower.go#L1573: class = &s2.Class
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#L2197: Value: js_ast.ExprOrStmt{Stmt: &js_ast.Stmt{Loc: classLoc, Data: &js_ast.SClass{Class: *class}}},
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2530: p.printSymbol(s.Class.Name.Ref)
js_printer.go#L2531: p.printClass(s.Class)
js_printer.go#L2574: if s2.Class.Name != nil {
js_printer.go#L2575: p.printSymbol(s2.Class.Name.Ref)
js_printer.go#L2577: p.printClass(s2.Class)
 |
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. |