MCPcopy Index your code
hub / github.com/microsoft/typescript-go / emitJSDocVariadicType

Method emitJSDocVariadicType

internal/printer/printer.go:2447–2452  ·  view source on GitHub ↗
(node *ast.JSDocVariadicType)

Source from the content-addressed store, hash-verified

2445}
2446
2447func (p *Printer) emitJSDocVariadicType(node *ast.JSDocVariadicType) {
2448 state := p.enterNode(node.AsNode())
2449 p.writePunctuation("...")
2450 p.emitTypeNode(node.Type, ast.TypePrecedenceJSDoc)
2451 p.exitNode(node.AsNode(), state)
2452}
2453
2454//
2455// Expressions

Callers 1

emitTypeNodeMethod · 0.95

Calls 5

enterNodeMethod · 0.95
writePunctuationMethod · 0.95
emitTypeNodeMethod · 0.95
exitNodeMethod · 0.95
AsNodeMethod · 0.65

Tested by

no test coverage detected