CodeQL library for Rust
codeql/rust-all 0.2.6 (changelog, source)
Search

Member predicate Impl::StmtList::getAStmtOrExpr

Gets any of the statements or expressions of this statement list.

This includes both the statements and any tail expression in the statement list. To access just the statements, use getAStatement. To access just the tail expression, if any, use getTailExpr.

AstNode getAStmtOrExpr()