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

Predicate CFG::firstNode

Holds if evaluation of root may start at first.

Import path

import semmle.go.controlflow.ControlFlowGraphImpl
predicate firstNode(ControlFlowTree root, Node first)