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

Class MakeCfgNodes::Nodes::MacroCallCfgNode

A macro invocation.

For example:

println!("Hello, world!");

Import path

import codeql.rust.controlflow.internal.generated.CfgNodes

Direct supertypes

Predicates

getAnAttr

Gets any of the attrs of this macro call.

getAttr

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

getMacroCall

Gets the underlying MacroCall.

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.

hasMacroCallExpansion

Holds if getMacroCallExpansion() exists.

hasPath

Holds if getPath() exists.

hasTokenTree

Holds if getTokenTree() exists.

Inherited predicates

Charpred