INTERNAL: Do not use. A loop expression. For example:
loop {
println!("Hello, world (again)!");
};
'label: loop {
println!("Hello, world (once)!");
break 'label;
};
let mut x = 0;
loop {
if x < 10 {
x += 1;
} else {
break;
}
};
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getNumberOfAttrs | Gets the number of attrs of this loop expression. |
| toString |
Inherited predicates
| getLabel | Gets the label of this labelable expression, if it exists. | from LabelableExpr |
| getLoopBody | Gets the loop body of this looping expression, if it exists. | from LoopingExpr |