#include <MatchCollector.h>
|
| | MatchCollector (Unit &) |
| |
| | MatchCollector (const char *) |
| |
| | MatchCollector (Parser &, Unit &) |
| |
| | MatchCollector (Parser &, const char *) |
| |
| virtual | ~MatchCollector () |
| |
| void | defMacro (const char *, const char *) |
| |
| void | collect (CProject &, CTranslationUnit &, CTree *=(CTree *) 0) |
| |
| unsigned int | Matches () const |
| |
| CMatch * | Match (unsigned int i) const |
| |
| | CTreeMatcher (unsigned int max=0) |
| |
| | CTreeMatcher (CTree *matchTree, unsigned int max=0) |
| |
| virtual | ~CTreeMatcher () |
| |
| void | init (CTree *matchTree, unsigned int max=0) |
| |
| bool | match (CTree *, CTree *, CMatch *) const |
| |
| virtual bool | correct (CTree *node) |
| |
| virtual void | match (CTranslationUnit &, CTranslationUnit &, CTree *=(CTree *) 0) |
| |
| int | matchTree (int, match_state &, CTree *, CTree *) const |
| |
| int | matchList (int, match_state &, CTree *, CTree *=(CTree *) 0, CTree *=(CTree *) 0) const |
| |
| int | matchNodeName (CTree *, CTree *) const |
| |
| | CVisitor () |
| | Constructor. More...
|
| |
| virtual | ~CVisitor () |
| | Destructor. More...
|
| |
| void | abort (bool v=true) |
| | Set the aborted state. More...
|
| |
| void | prune (bool v=true) |
| | Set the pruned state (don't visit the sub-tree). More...
|
| |
| bool | aborted () const |
| | Check if the node visiting is aborted. More...
|
| |
| bool | pruned () const |
| | Check if the visiting the sub-tree is aborted. More...
|
| |
| void | visit (CTree *node) |
| | Visit the given syntax tree node. More...
|
| |
| virtual void | post_visit (CTree *node) |
| | Apply actions after the given node is visited. More...
|
| |
| Puma::MatchCollector::MatchCollector |
( |
Unit & |
| ) |
|
| Puma::MatchCollector::MatchCollector |
( |
const char * |
| ) |
|
| Puma::MatchCollector::MatchCollector |
( |
Parser & |
, |
|
|
Unit & |
|
|
) |
| |
| Puma::MatchCollector::MatchCollector |
( |
Parser & |
, |
|
|
const char * |
|
|
) |
| |
| virtual Puma::MatchCollector::~MatchCollector |
( |
| ) |
|
|
virtual |
| void Puma::MatchCollector::defMacro |
( |
const char * |
, |
|
|
const char * |
|
|
) |
| |
| CMatch* Puma::MatchCollector::Match |
( |
unsigned int |
i | ) |
const |
|
inline |
| unsigned int Puma::MatchCollector::Matches |
( |
| ) |
const |
|
inline |