MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / nodeContains

Function nodeContains

internal/rules/missing_effect_context.go:268–273  ·  view source on GitHub ↗
(ancestor *ast.Node, target *ast.Node)

Source from the content-addressed store, hash-verified

266 return false
267 }
268 return ancestor.Pos() <= target.Pos() && target.End() <= ancestor.End()
269}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected