clang  12.0.0git
Public Member Functions | Public Attributes | List of all members
clang::ast_matchers::MatchFinder::MatchResult Struct Reference

Contains all information for a given match. More...

#include "clang/ASTMatchers/ASTMatchFinder.h"

Collaboration diagram for clang::ast_matchers::MatchFinder::MatchResult:
Collaboration graph

Public Member Functions

 MatchResult (const BoundNodes &Nodes, clang::ASTContext *Context)

Public Attributes

const BoundNodes Nodes
 Contains the nodes bound on the current match. More...
clang::ASTContext *const Context
 Utilities for interpreting the matched AST structures. More...
clang::SourceManager *const SourceManager

Detailed 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.

Definition at line 74 of file ASTMatchFinder.h.

Constructor & Destructor Documentation

◆ MatchResult()

clang::ast_matchers::MatchFinder::MatchResult::MatchResult ( const BoundNodes Nodes,
clang::ASTContext Context 

Definition at line 1059 of file ASTMatchFinder.cpp.

Member Data Documentation

◆ Context

clang::ASTContext* const clang::ast_matchers::MatchFinder::MatchResult::Context

◆ Nodes

const BoundNodes clang::ast_matchers::MatchFinder::MatchResult::Nodes

◆ SourceManager

clang::SourceManager* const clang::ast_matchers::MatchFinder::MatchResult::SourceManager

The documentation for this struct was generated from the following files: