MCPcopy Create free account
hub / github.com/microsoft/typescript-go / visitTopLevelStatements

Method visitTopLevelStatements

internal/ast/visitor.go:253–258  ·  view source on GitHub ↗
(nodes *StatementList)

Source from the content-addressed store, hash-verified

251}
252
253func (v *NodeVisitor) visitTopLevelStatements(nodes *StatementList) *StatementList {
254 if v.Hooks.VisitTopLevelStatements != nil {
255 return v.Hooks.VisitTopLevelStatements(nodes, v)
256 }
257 return v.visitNodes(nodes)
258}
259
260func (v *NodeVisitor) liftToBlock(node *Statement) *Statement {
261 var nodes []*Node

Callers 1

VisitEachChildMethod · 0.80

Calls 1

visitNodesMethod · 0.95

Tested by

no test coverage detected