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

Member predicate CaseClause::getAnExpr

Gets an expression of this case clause, if any.

Note that the default clause does not have any expressions.

Expr getAnExpr()