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

Method shouldEmitIndented

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

Source from the content-addressed store, hash-verified

749}
750
751func (p *Printer) shouldEmitIndented(node *ast.Node) bool {
752 return p.emitContext.EmitFlags(node)&EFIndented != 0
753}
754
755func (p *Printer) shouldElideIndentation(node *ast.Node) bool {
756 return p.emitContext.EmitFlags(node)&EFNoIndentation != 0

Callers 15

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

Calls 1

EmitFlagsMethod · 0.80

Tested by

no test coverage detected