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

Member predicate SwitchStmt::getInit

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

Stmt getInit()