INTERNAL: Do not use. A macro pattern, representing the invocation of a macro that produces a pattern.
For example:
macro_rules! my_macro {
() => {
Ok(_)
};
}
match x {
my_macro!() => "matched",
// ^^^^^^^^^^^
_ => "not matched",
}
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Predicates
| getMacroCall | Gets the macro call of this macro pattern, if it exists. |
| toString |