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

Module Impl

INTERNAL: This module contains the customizable definition of BreakExpr and should not be referenced directly.

Import path

import codeql.rust.elements.internal.BreakExprImpl

Predicates

isLabelledLoop

Holds if e is a loop labelled label.

Classes

BreakExpr

A break expression. For example: rust loop { if not_ready() { break; } } rust let x = 'label: loop { if done() { break 'label 42; } }; rust let x = 'label: { if exit() { break 'label 42; } 0; };