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

Member predicate PrintAstNode::shouldPrint

Holds if this node should be printed in the output. By default, all nodes within a function are printed, but the query can override PrintAstConfiguration.shouldPrintFunction to filter the output.

predicate shouldPrint()