Class Raw::ConstBlockPat
INTERNAL: Do not use. A const block pattern. For example:
match x {
const { 1 + 2 + 3 } => "ok",
_ => "fail",
};
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Predicates
| getBlockExpr | Gets the block expression of this const block pattern, if it exists. |
| isConst | Holds if this const block pattern is const. |
| toString |