MCPcopy
hub / github.com/microsoft/typescript-go / pushNameGenerationScope

Method pushNameGenerationScope

internal/printer/printer.go:5963–5965  ·  view source on GitHub ↗
(node *ast.Node)

Source from the content-addressed store, hash-verified

5961}
5962
5963func (p *Printer) pushNameGenerationScope(node *ast.Node) {
5964 p.nameGenerator.PushScope(p.shouldReuseTempVariableScope(node))
5965}
5966
5967func (p *Printer) popNameGenerationScope(node *ast.Node) {
5968 p.nameGenerator.PopScope(p.shouldReuseTempVariableScope(node))

Callers 15

emitMethodSignatureMethod · 0.95
emitMethodDeclarationMethod · 0.95
emitConstructorMethod · 0.95
emitCallSignatureMethod · 0.95
emitIndexSignatureMethod · 0.95
emitFunctionTypeMethod · 0.95
emitConstructorTypeMethod · 0.95
emitTypeLiteralMethod · 0.95

Calls 2

PushScopeMethod · 0.80

Tested by

no test coverage detected