INTERNAL: Do not use. A block expression. For example:
{
let x = 42;
}
'label: {
let x = 42;
x
}
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getNumberOfAttrs | Gets the number of attrs of this block expression. |
| getStmtList | Gets the statement list of this block expression, if it exists. |
| isAsync | Holds if this block expression is async. |
| isConst | Holds if this block expression is const. |
| isGen | Holds if this block expression is gen. |
| isMove | Holds if this block expression is move. |
| isTry | Holds if this block expression is try. |
| isUnsafe | Holds if this block expression is unsafe. |
| toString |
Inherited predicates
| getLabel | Gets the label of this labelable expression, if it exists. | from LabelableExpr |