clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::ast_matchers::internal::CollectMatchesCallback Class Reference

#include "clang/ASTMatchers/ASTMatchFinder.h"

Inheritance diagram for clang::ast_matchers::internal::CollectMatchesCallback:
Inheritance graph
[legend]
Collaboration diagram for clang::ast_matchers::internal::CollectMatchesCallback:
Collaboration graph
[legend]

Public Member Functions

void run (const MatchFinder::MatchResult &Result) override
 Called on every match by the MatchFinder. More...
 
- Public Member Functions inherited from clang::ast_matchers::MatchFinder::MatchCallback
virtual ~MatchCallback ()
 
virtual void onStartOfTranslationUnit ()
 Called at the start of each translation unit. More...
 
virtual void onEndOfTranslationUnit ()
 Called at the end of each translation unit. More...
 
virtual StringRef getID () const
 An id used to group the matchers. More...
 

Public Attributes

SmallVector< BoundNodes, 1 > Nodes
 

Detailed Description

Definition at line 277 of file ASTMatchFinder.h.

Member Function Documentation

◆ run()

void clang::ast_matchers::internal::CollectMatchesCallback::run ( const MatchFinder::MatchResult Result)
inlineoverridevirtual

Called on every match by the MatchFinder.

Implements clang::ast_matchers::MatchFinder::MatchCallback.

Definition at line 279 of file ASTMatchFinder.h.

References clang::ast_matchers::MatchFinder::MatchResult::Nodes.

Member Data Documentation

◆ Nodes

SmallVector<BoundNodes, 1> clang::ast_matchers::internal::CollectMatchesCallback::Nodes

Definition at line 282 of file ASTMatchFinder.h.


The documentation for this class was generated from the following file: