Class Raw::MacroRules
INTERNAL: Do not use.
A macro definition using the macro_rules! syntax.
macro_rules! my_macro {
() => {
println!("This is a macro!");
};
}
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getName | Gets the name of this macro rules, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this macro rules. |
| getTokenTree | Gets the token tree of this macro rules, if it exists. |
| getVisibility | Gets the visibility of this macro rules, if it exists. |
| toString |
Inherited predicates
| getAttributeMacroExpansion | Gets the attribute macro expansion of this item, if it exists. | from Item |