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

Function consumeComment

parse.go:251–266  ·  view source on GitHub ↗

consumeComment consumes a line or block comment start in b. It returns the length of the comment if valid, otherwise it returns 0 if it is not a comment and -1 if it is invalid.

(b []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

classifyCommentsMethod · 0.85
lineStatsMethod · 0.85
formatMethod · 0.85
consumeExtraFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…