CodeQL library for Go
codeql/go-all 0.7.14 (changelog, source)
Search

Member predicate ControlFlow::Root::isRootOf

Holds if nd belongs to this file or function.

predicate isRootOf(AstNode nd)