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

Method emitComment

internal/printer/printer.go:5763–5767  ·  view source on GitHub ↗
(comment ast.CommentRange)

Source from the content-addressed store, hash-verified

5761}
5762
5763func (p *Printer) emitComment(comment ast.CommentRange) {
5764 p.emitPos(comment.Pos())
5765 p.writeCommentRange(comment)
5766 p.emitPos(comment.End())
5767}
5768
5769func (p *Printer) isTripleSlashComment(comment ast.CommentRange) bool {
5770 return p.currentSourceFile != nil &&

Callers 2

emitCommentsMethod · 0.95

Calls 4

emitPosMethod · 0.95
writeCommentRangeMethod · 0.95
PosMethod · 0.65
EndMethod · 0.65

Tested by

no test coverage detected