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

Method shouldEmitNestedComments

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

Source from the content-addressed store, hash-verified

835}
836
837func (p *Printer) shouldEmitNestedComments(node *ast.Node) bool {
838 return p.emitContext.EmitFlags(node)&EFNoNestedComments == 0
839}
840
841func (p *Printer) shouldEmitDetachedComments(node *ast.Node) bool {
842 if !ast.IsSourceFile(node) {

Callers

nothing calls this directly

Calls 1

EmitFlagsMethod · 0.80

Tested by

no test coverage detected