hasInclude

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

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

Parameters

root
Type: Cursor

clang AST

depth
Type: int

how deep into the AST to analyze.

Return Value

Type: Nullable!FileName

the path to the header file that matched the predicate

Meta