hasInclude

Analyze the AST (root) to see if any of the #include fulfill the user supplied matcher.

@trusted
Nullable!Path
hasInclude
(
alias matcher
)
(,
int depth = 2
)

Parameters

root Cursor

clang AST

depth int

how deep into the AST to analyze.

Return Value

Type: Nullable!Path

the path to the header file that matched the predicate

Meta