diff options
Diffstat (limited to 'src/shared/cplusplus/ASTMatch0.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTMatch0.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTMatch0.cpp b/src/shared/cplusplus/ASTMatch0.cpp index 6a49dba34a..74d0aa6e5e 100644 --- a/src/shared/cplusplus/ASTMatch0.cpp +++ b/src/shared/cplusplus/ASTMatch0.cpp @@ -105,6 +105,30 @@ bool AccessDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) return false; } +bool QtPropertyDeclarationNamingItemAST::match0(AST *pattern, ASTMatcher *matcher) +{ + if (QtPropertyDeclarationNamingItemAST *_other = pattern->asQtPropertyDeclarationNamingItem()) + return matcher->match(this, _other); + + return false; +} + +bool QtPropertyDeclarationBoolItemAST::match0(AST *pattern, ASTMatcher *matcher) +{ + if (QtPropertyDeclarationBoolItemAST *_other = pattern->asQtPropertyDeclarationBoolItem()) + return matcher->match(this, _other); + + return false; +} + +bool QtPropertyDeclarationFlaggingItemAST::match0(AST *pattern, ASTMatcher *matcher) +{ + if (QtPropertyDeclarationFlaggingItemAST *_other = pattern->asQtPropertyDeclarationFlaggingItem()) + return matcher->match(this, _other); + + return false; +} + bool QtPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) { if (QtPropertyDeclarationAST *_other = pattern->asQtPropertyDeclaration()) |