MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / comment_to_test_str

Function comment_to_test_str

tests/test.rs:241–246  ·  view source on GitHub ↗
(comment: &Comment)

Source from the content-addressed store, hash-verified

239}
240
241fn comment_to_test_str(comment: &Comment) -> String {
242 match comment {
243 Comment::Line(line) => comment_line_to_test_str(line),
244 Comment::Block(block) => comment_block_to_test_str(block),
245 }
246}
247
248fn comment_line_to_test_str(line: &CommentLine) -> String {
249 lit_to_test_str("line", line.text, line.range)

Callers 1

comments_to_test_strFunction · 0.85

Calls 2

comment_line_to_test_strFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…