CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Member predicate Impl::AstNode::isFromMacroExpansion

Holds if this node exists only as the result of a macro expansion.

This is the same as isInMacroExpansion(), but excludes AST nodes corresponding to macro arguments, including attribute macro targets.

predicate isFromMacroExpansion()