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

Member predicate SwitchStmt::getNumNonDefaultCase

Gets the number of non-default case clauses in this switch statement.

int getNumNonDefaultCase()