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

Function nextContainer

internal/printer/namegenerator.go:355–361  ·  view source on GitHub ↗
(node *ast.Node)

Source from the content-addressed store, hash-verified

353}
354
355func nextContainer(node *ast.Node) *ast.Node {
356 data := node.LocalsContainerData()
357 if data != nil {
358 return data.NextContainer
359 }
360 return nil
361}
362
363func isUniqueLocalName(name string, container *ast.Node) bool {
364 node := container

Callers 1

isUniqueLocalNameFunction · 0.85

Calls 1

LocalsContainerDataMethod · 0.65

Tested by

no test coverage detected