Also match the identifiers and the token types.

This commit is contained in:
Roberto Raggi
2009-11-13 11:54:22 +01:00
parent f8beeea6dd
commit 5644775d2f
3 changed files with 280 additions and 252 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -65,6 +65,8 @@ public:
void getTokenEndPosition(unsigned index, unsigned *line, unsigned *column) const;
bool matchToken(unsigned index, unsigned otherIndex) const;
virtual bool match(AccessDeclarationAST *node, AccessDeclarationAST *pattern);
virtual bool match(ArrayAccessAST *node, ArrayAccessAST *pattern);
virtual bool match(ArrayDeclaratorAST *node, ArrayDeclaratorAST *pattern);