Files
codeql/rust/ql/lib/codeql/rust/elements/internal/MacroItemsImpl.qll
2025-04-29 16:18:40 +02:00

33 lines
785 B
Plaintext
Generated

// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `MacroItems`.
*
* INTERNAL: Do not use.
*/
private import codeql.rust.elements.internal.generated.MacroItems
/**
* INTERNAL: This module contains the customizable definition of `MacroItems` and should not
* be referenced directly.
*/
module Impl {
/**
* A sequence of items generated by a macro. For example:
* ```rust
* mod foo{
* include!("common_definitions.rs");
*
* #[an_attribute_macro]
* fn foo() {
* println!("Hello, world!");
* }
*
* #[derive(Debug)]
* struct Bar;
* }
* ```
*/
class MacroItems extends Generated::MacroItems { }
}