struct MatchFinder::MatchResult
Declaration
struct MatchFinder::MatchResult { /* full declaration omitted */ };
Description
Contains all information for a given match. Every time a match is found, the MatchFinder will invoke the registered MatchCallback with a MatchResult containing information about the match.
Declared at: clang/include/clang/ASTMatchers/ASTMatchFinder.h:74
Member Variables
- public const clang::ast_matchers::BoundNodes Nodes
- This allows user code to easily extract matched AST nodes.
- public clang::ASTContext* const Context
- Utilities for interpreting the matched AST structures. @ {
- public clang::SourceManager* const SourceManager
Method Overview
- public MatchResult(const clang::ast_matchers::BoundNodes & Nodes, clang::ASTContext * Context)
Methods
ΒΆMatchResult(
const clang::ast_matchers::BoundNodes& Nodes,
clang::ASTContext* Context)
MatchResult(
const clang::ast_matchers::BoundNodes& Nodes,
clang::ASTContext* Context)
Declared at: clang/include/clang/ASTMatchers/ASTMatchFinder.h:75
Parameters
- const clang::ast_matchers::BoundNodes& Nodes
- clang::ASTContext* Context