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

Method visitToken

internal/ast/visitor.go:225–230  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

223}
224
225func (v *NodeVisitor) visitToken(node *Node) *Node {
226 if v.Hooks.VisitToken != nil {
227 return v.Hooks.VisitToken(node, v)
228 }
229 return v.VisitNode(node)
230}
231
232func (v *NodeVisitor) visitNodes(nodes *NodeList) *NodeList {
233 if v.Hooks.VisitNodes != nil {

Callers 1

VisitEachChildMethod · 0.80

Calls 1

VisitNodeMethod · 0.95

Tested by

no test coverage detected