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

Member predicate SwitchStmt::getInit

Gets the init statement of this switch statement, if any.

Stmt getInit()