MCPcopy Index your code
hub / github.com/coder/guts / covers

Function covers

comments.go:147–149  ·  view source on GitHub ↗
(n ast.Node, p token.Pos)

Source from the content-addressed store, hash-verified

145}
146
147func covers(n ast.Node, p token.Pos) bool {
148 return n != nil && n.Pos() <= p && p <= n.End()
149}
150
151func syntheticComments(leading bool, grp *ast.CommentGroup) []bindings.SyntheticComment {
152 cmts := []bindings.SyntheticComment{}

Callers 2

CommentForObjectFunction · 0.85
commentForFieldListFunction · 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…