INTERNAL: Do not use. A break expression. For example:
loop {
if not_ready() {
break;
}
}
let x = 'label: loop {
if done() {
break 'label 42;
}
};
let x = 'label: {
if exit() {
break 'label 42;
}
0;
};
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Predicates
| getAttr | Gets the |
| getExpr | Gets the expression of this break expression, if it exists. |
| getLifetime | Gets the lifetime of this break expression, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this break expression. |
| toString |