Module Impl::MacroExpansion
Provides logic for classifying elements with respect to macro expansions.
Import path
import codeql.rust.elements.internal.ElementImplPredicates
| getImmediatelyEnclosingMacroInvocation | Gets the immediately enclosing macro invocation for element |
| isFromMacroExpansion | Holds if |
| isInMacroExpansion | Holds if |
| isRelevantElement |