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

Method VisitEachChild

internal/ast/ast.go:2651–2653  ·  view source on GitHub ↗
(v *NodeVisitor)

Source from the content-addressed store, hash-verified

2649}
2650
2651func (node *SourceFile) VisitEachChild(v *NodeVisitor) *Node {
2652 return v.Factory.UpdateSourceFile(node, v.visitTopLevelStatements(node.Statements), v.visitToken(node.EndOfFileToken))
2653}
2654
2655func (node *SourceFile) IsJS() bool {
2656 return IsSourceFileJS(node)

Callers

nothing calls this directly

Calls 3

UpdateSourceFileMethod · 0.80
visitTokenMethod · 0.80

Tested by

no test coverage detected