MCPcopy Create free account
hub / github.com/tailscale/hujson / classifyComments

Method classifyComments

patch.go:424–463  ·  view source on GitHub ↗

classifyComments classifies comments as belonging to the previous element or belonging to the current element such that: - b[:prevEnd] belongs to the previous element, and - b[currStart:] belongs to the current element. Invariant: prevEnd <= currStart

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

injectLeadingCommentsMethod · 0.95

Calls 2

consumeWhitespaceFunction · 0.85
consumeCommentFunction · 0.85

Tested by

no test coverage detected