8 #include "matcherparser_decls.h"
9 #include "MatchOperation.h"
220 void performMatchingOnAst(
SgNode* root);
221 void performMatching();
222 void generateMatchOperationsSequence();
225 std::string _matchExpression;
229 bool _keepMarkedLocations;
void printMatchOperationsSequence()
This function is only for information purposes.
MatchResult getResult()
Allows to access the match result if the match expression was provided as an argument to the construc...
void setKeepMarkedLocations(bool keepMarked)
This flag is useful when reusing the same matcher object for performing multiple matches.
MatchResult performMatching(std::string matchExpression, SgNode *root)
This is the main function to be called for matching.
void printMarkedLocations()
This function is only for information purposes.
This class represents the base class for all IR nodes within Sage III.
The AstMatching class allows to specify arbitrary large patterns to be matched on any subtree in the ...