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

Class Raw::MacroCall

INTERNAL: Do not use. A macro invocation.

For example:

println!("Hello, world!");

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this macro call (0-based).

getMacroCallExpansion

Gets the macro call expansion of this macro call, if it exists.

getNumberOfAttrs

Gets the number of attrs of this macro call.

getPath

Gets the path of this macro call, if it exists.

getTokenTree

Gets the token tree of this macro call, if it exists.

toString

Inherited predicates

getAttributeMacroExpansion

Gets the attribute macro expansion of this item, if it exists.

from Item