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

Function createPrinterWithRemoveComments

internal/checker/printer.go:17–19  ·  view source on GitHub ↗
(emitContext *printer.EmitContext)

Source from the content-addressed store, hash-verified

15}
16
17func createPrinterWithRemoveComments(emitContext *printer.EmitContext) *printer.Printer {
18 return printer.NewPrinter(printer.PrinterOptions{RemoveComments: true}, printer.PrintHandlers{}, emitContext)
19}
20
21func createPrinterWithRemoveCommentsOmitTrailingSemicolonNeverAsciiEscape(emitContext *printer.EmitContext) *printer.Printer {
22 // TODO: OmitTrailingSemicolon support

Callers 5

typeToStringExMethod · 0.85
symbolToStringExMethod · 0.85
ExpandSymbolForHoverMethod · 0.85

Calls 1

NewPrinterFunction · 0.92

Tested by

no test coverage detected