github.com/evanw/esbuild/internal/js_ast.Part.Stmts (field)
31 uses
github.com/evanw/esbuild/internal/js_ast (current package)
js_ast.go#L1758: Stmts []Stmt
github.com/evanw/esbuild/internal/bundler
linker.go#L1418: if len(part.Stmts) != 1 {
linker.go#L1421: lazy, ok := part.Stmts[0].Data.(*js_ast.SLazyExport)
linker.go#L1428: part.Stmts = []js_ast.Stmt{js_ast.AssignStmt(
linker.go#L1443: part.Stmts = nil
linker.go#L1476: Stmts: []js_ast.Stmt{stmt},
linker.go#L1751: Stmts: nsExportStmts,
linker.go#L1837: Stmts: entryPointExportStmts,
linker.go#L2887: if len(part.Stmts) == 1 {
linker.go#L2888: if s, ok := part.Stmts[0].Data.(*js_ast.SImport); ok {
linker.go#L3344: c.convertStmtsForChunk(partRange.sourceIndex, &stmtList, repr.ast.Parts[nsExportPartIndex].Stmts)
linker.go#L3372: stmtList.entryPointTail = append(stmtList.entryPointTail, part.Stmts...)
linker.go#L3376: c.convertStmtsForChunk(partRange.sourceIndex, &stmtList, part.Stmts)
linker.go#L3462: tree.Parts = []js_ast.Part{{Stmts: stmts}}
linker.go#L3473: tree.Parts = []js_ast.Part{{Stmts: stmtList.entryPointTail}}
linker.go#L3591: for _, stmt := range part.Stmts {
linker.go#L3709: Parts: []js_ast.Part{{Stmts: repr.crossChunkPrefixStmts}},
linker.go#L3712: Parts: []js_ast.Part{{Stmts: repr.crossChunkSuffixStmts}},
linker.go#L4383: for _, stmt := range part.Stmts {
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L12100: Stmts: p.visitStmtsAndPrependTempRefs(stmts, prependTempRefsOpts{}),
js_parser.go#L12120: part.Stmts = append(part.Stmts, js_ast.Stmt{Loc: local.Loc, Data: &js_ast.SLocal{
js_parser.go#L12130: if len(part.Stmts) > 0 {
js_parser.go#L12131: part.CanBeRemovedIfUnused = p.stmtsCanBeRemovedIfUnused(part.Stmts)
js_parser.go#L12841: Stmts: []js_ast.Stmt{{Loc: expr.Loc, Data: &js_ast.SLazyExport{Value: expr}}},
js_parser.go#L13031: Stmts: []js_ast.Stmt{{Data: &js_ast.SImport{
js_parser.go#L13065: result := p.scanForImportsAndExports(part.Stmts)
js_parser.go#L13066: part.Stmts = result.stmts
js_parser.go#L13073: if len(part.Stmts) > 0 {
js_parser.go#L13095: for _, stmt := range part.Stmts {
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L3124: for _, stmt := range part.Stmts {
 |
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. |