1 /**************************************************************************
3 ** This file is part of Qt Creator
5 ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
7 ** Contact: Nokia Corporation (info@qt.nokia.com)
10 ** GNU Lesser General Public License Usage
12 ** This file may be used under the terms of the GNU Lesser General Public
13 ** License version 2.1 as published by the Free Software Foundation and
14 ** appearing in the file LICENSE.LGPL included in the packaging of this file.
15 ** Please review the following information to ensure the GNU Lesser General
16 ** Public License version 2.1 requirements will be met:
17 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
19 ** In addition, as a special exception, Nokia gives you certain additional
20 ** rights. These rights are described in the Nokia Qt LGPL Exception
21 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
25 ** Alternatively, this file may be used in accordance with the terms and
26 ** conditions contained in a signed written agreement between you and Nokia.
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
31 **************************************************************************/
37 // This file is automatically generated.
38 // Changes will be lost.
43 #include "ASTMatcher.h"
45 using namespace CPlusPlus;
47 bool ObjCSelectorArgumentAST::match0(AST *pattern, ASTMatcher *matcher)
49 if (ObjCSelectorArgumentAST *_other = pattern->asObjCSelectorArgument())
50 return matcher->match(this, _other);
55 bool ObjCSelectorAST::match0(AST *pattern, ASTMatcher *matcher)
57 if (ObjCSelectorAST *_other = pattern->asObjCSelector())
58 return matcher->match(this, _other);
63 bool SimpleSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
65 if (SimpleSpecifierAST *_other = pattern->asSimpleSpecifier())
66 return matcher->match(this, _other);
71 bool AttributeSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
73 if (AttributeSpecifierAST *_other = pattern->asAttributeSpecifier())
74 return matcher->match(this, _other);
79 bool AttributeAST::match0(AST *pattern, ASTMatcher *matcher)
81 if (AttributeAST *_other = pattern->asAttribute())
82 return matcher->match(this, _other);
87 bool TypeofSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
89 if (TypeofSpecifierAST *_other = pattern->asTypeofSpecifier())
90 return matcher->match(this, _other);
95 bool DeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
97 if (DeclaratorAST *_other = pattern->asDeclarator())
98 return matcher->match(this, _other);
103 bool SimpleDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
105 if (SimpleDeclarationAST *_other = pattern->asSimpleDeclaration())
106 return matcher->match(this, _other);
111 bool EmptyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
113 if (EmptyDeclarationAST *_other = pattern->asEmptyDeclaration())
114 return matcher->match(this, _other);
119 bool AccessDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
121 if (AccessDeclarationAST *_other = pattern->asAccessDeclaration())
122 return matcher->match(this, _other);
127 bool QtObjectTagAST::match0(AST *pattern, ASTMatcher *matcher)
129 if (QtObjectTagAST *_other = pattern->asQtObjectTag())
130 return matcher->match(this, _other);
135 bool QtPrivateSlotAST::match0(AST *pattern, ASTMatcher *matcher)
137 if (QtPrivateSlotAST *_other = pattern->asQtPrivateSlot())
138 return matcher->match(this, _other);
143 bool QtPropertyDeclarationItemAST::match0(AST *pattern, ASTMatcher *matcher)
145 if (QtPropertyDeclarationItemAST *_other = pattern->asQtPropertyDeclarationItem())
146 return matcher->match(this, _other);
151 bool QtPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
153 if (QtPropertyDeclarationAST *_other = pattern->asQtPropertyDeclaration())
154 return matcher->match(this, _other);
159 bool QtEnumDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
161 if (QtEnumDeclarationAST *_other = pattern->asQtEnumDeclaration())
162 return matcher->match(this, _other);
167 bool QtFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
169 if (QtFlagsDeclarationAST *_other = pattern->asQtFlagsDeclaration())
170 return matcher->match(this, _other);
175 bool QtInterfaceNameAST::match0(AST *pattern, ASTMatcher *matcher)
177 if (QtInterfaceNameAST *_other = pattern->asQtInterfaceName())
178 return matcher->match(this, _other);
183 bool QtInterfacesDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
185 if (QtInterfacesDeclarationAST *_other = pattern->asQtInterfacesDeclaration())
186 return matcher->match(this, _other);
191 bool AsmDefinitionAST::match0(AST *pattern, ASTMatcher *matcher)
193 if (AsmDefinitionAST *_other = pattern->asAsmDefinition())
194 return matcher->match(this, _other);
199 bool BaseSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
201 if (BaseSpecifierAST *_other = pattern->asBaseSpecifier())
202 return matcher->match(this, _other);
207 bool IdExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
209 if (IdExpressionAST *_other = pattern->asIdExpression())
210 return matcher->match(this, _other);
215 bool CompoundExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
217 if (CompoundExpressionAST *_other = pattern->asCompoundExpression())
218 return matcher->match(this, _other);
223 bool CompoundLiteralAST::match0(AST *pattern, ASTMatcher *matcher)
225 if (CompoundLiteralAST *_other = pattern->asCompoundLiteral())
226 return matcher->match(this, _other);
231 bool QtMethodAST::match0(AST *pattern, ASTMatcher *matcher)
233 if (QtMethodAST *_other = pattern->asQtMethod())
234 return matcher->match(this, _other);
239 bool QtMemberDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
241 if (QtMemberDeclarationAST *_other = pattern->asQtMemberDeclaration())
242 return matcher->match(this, _other);
247 bool BinaryExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
249 if (BinaryExpressionAST *_other = pattern->asBinaryExpression())
250 return matcher->match(this, _other);
255 bool CastExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
257 if (CastExpressionAST *_other = pattern->asCastExpression())
258 return matcher->match(this, _other);
263 bool ClassSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
265 if (ClassSpecifierAST *_other = pattern->asClassSpecifier())
266 return matcher->match(this, _other);
271 bool CaseStatementAST::match0(AST *pattern, ASTMatcher *matcher)
273 if (CaseStatementAST *_other = pattern->asCaseStatement())
274 return matcher->match(this, _other);
279 bool CompoundStatementAST::match0(AST *pattern, ASTMatcher *matcher)
281 if (CompoundStatementAST *_other = pattern->asCompoundStatement())
282 return matcher->match(this, _other);
287 bool ConditionAST::match0(AST *pattern, ASTMatcher *matcher)
289 if (ConditionAST *_other = pattern->asCondition())
290 return matcher->match(this, _other);
295 bool ConditionalExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
297 if (ConditionalExpressionAST *_other = pattern->asConditionalExpression())
298 return matcher->match(this, _other);
303 bool CppCastExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
305 if (CppCastExpressionAST *_other = pattern->asCppCastExpression())
306 return matcher->match(this, _other);
311 bool CtorInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
313 if (CtorInitializerAST *_other = pattern->asCtorInitializer())
314 return matcher->match(this, _other);
319 bool DeclarationStatementAST::match0(AST *pattern, ASTMatcher *matcher)
321 if (DeclarationStatementAST *_other = pattern->asDeclarationStatement())
322 return matcher->match(this, _other);
327 bool DeclaratorIdAST::match0(AST *pattern, ASTMatcher *matcher)
329 if (DeclaratorIdAST *_other = pattern->asDeclaratorId())
330 return matcher->match(this, _other);
335 bool NestedDeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
337 if (NestedDeclaratorAST *_other = pattern->asNestedDeclarator())
338 return matcher->match(this, _other);
343 bool FunctionDeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
345 if (FunctionDeclaratorAST *_other = pattern->asFunctionDeclarator())
346 return matcher->match(this, _other);
351 bool ArrayDeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
353 if (ArrayDeclaratorAST *_other = pattern->asArrayDeclarator())
354 return matcher->match(this, _other);
359 bool DeleteExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
361 if (DeleteExpressionAST *_other = pattern->asDeleteExpression())
362 return matcher->match(this, _other);
367 bool DoStatementAST::match0(AST *pattern, ASTMatcher *matcher)
369 if (DoStatementAST *_other = pattern->asDoStatement())
370 return matcher->match(this, _other);
375 bool NamedTypeSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
377 if (NamedTypeSpecifierAST *_other = pattern->asNamedTypeSpecifier())
378 return matcher->match(this, _other);
383 bool ElaboratedTypeSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
385 if (ElaboratedTypeSpecifierAST *_other = pattern->asElaboratedTypeSpecifier())
386 return matcher->match(this, _other);
391 bool EnumSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
393 if (EnumSpecifierAST *_other = pattern->asEnumSpecifier())
394 return matcher->match(this, _other);
399 bool EnumeratorAST::match0(AST *pattern, ASTMatcher *matcher)
401 if (EnumeratorAST *_other = pattern->asEnumerator())
402 return matcher->match(this, _other);
407 bool ExceptionDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
409 if (ExceptionDeclarationAST *_other = pattern->asExceptionDeclaration())
410 return matcher->match(this, _other);
415 bool ExceptionSpecificationAST::match0(AST *pattern, ASTMatcher *matcher)
417 if (ExceptionSpecificationAST *_other = pattern->asExceptionSpecification())
418 return matcher->match(this, _other);
423 bool ExpressionOrDeclarationStatementAST::match0(AST *pattern, ASTMatcher *matcher)
425 if (ExpressionOrDeclarationStatementAST *_other = pattern->asExpressionOrDeclarationStatement())
426 return matcher->match(this, _other);
431 bool ExpressionStatementAST::match0(AST *pattern, ASTMatcher *matcher)
433 if (ExpressionStatementAST *_other = pattern->asExpressionStatement())
434 return matcher->match(this, _other);
439 bool FunctionDefinitionAST::match0(AST *pattern, ASTMatcher *matcher)
441 if (FunctionDefinitionAST *_other = pattern->asFunctionDefinition())
442 return matcher->match(this, _other);
447 bool ForeachStatementAST::match0(AST *pattern, ASTMatcher *matcher)
449 if (ForeachStatementAST *_other = pattern->asForeachStatement())
450 return matcher->match(this, _other);
455 bool ForStatementAST::match0(AST *pattern, ASTMatcher *matcher)
457 if (ForStatementAST *_other = pattern->asForStatement())
458 return matcher->match(this, _other);
463 bool IfStatementAST::match0(AST *pattern, ASTMatcher *matcher)
465 if (IfStatementAST *_other = pattern->asIfStatement())
466 return matcher->match(this, _other);
471 bool ArrayInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
473 if (ArrayInitializerAST *_other = pattern->asArrayInitializer())
474 return matcher->match(this, _other);
479 bool LabeledStatementAST::match0(AST *pattern, ASTMatcher *matcher)
481 if (LabeledStatementAST *_other = pattern->asLabeledStatement())
482 return matcher->match(this, _other);
487 bool LinkageBodyAST::match0(AST *pattern, ASTMatcher *matcher)
489 if (LinkageBodyAST *_other = pattern->asLinkageBody())
490 return matcher->match(this, _other);
495 bool LinkageSpecificationAST::match0(AST *pattern, ASTMatcher *matcher)
497 if (LinkageSpecificationAST *_other = pattern->asLinkageSpecification())
498 return matcher->match(this, _other);
503 bool MemInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
505 if (MemInitializerAST *_other = pattern->asMemInitializer())
506 return matcher->match(this, _other);
511 bool NestedNameSpecifierAST::match0(AST *pattern, ASTMatcher *matcher)
513 if (NestedNameSpecifierAST *_other = pattern->asNestedNameSpecifier())
514 return matcher->match(this, _other);
519 bool QualifiedNameAST::match0(AST *pattern, ASTMatcher *matcher)
521 if (QualifiedNameAST *_other = pattern->asQualifiedName())
522 return matcher->match(this, _other);
527 bool OperatorFunctionIdAST::match0(AST *pattern, ASTMatcher *matcher)
529 if (OperatorFunctionIdAST *_other = pattern->asOperatorFunctionId())
530 return matcher->match(this, _other);
535 bool ConversionFunctionIdAST::match0(AST *pattern, ASTMatcher *matcher)
537 if (ConversionFunctionIdAST *_other = pattern->asConversionFunctionId())
538 return matcher->match(this, _other);
543 bool SimpleNameAST::match0(AST *pattern, ASTMatcher *matcher)
545 if (SimpleNameAST *_other = pattern->asSimpleName())
546 return matcher->match(this, _other);
551 bool DestructorNameAST::match0(AST *pattern, ASTMatcher *matcher)
553 if (DestructorNameAST *_other = pattern->asDestructorName())
554 return matcher->match(this, _other);
559 bool TemplateIdAST::match0(AST *pattern, ASTMatcher *matcher)
561 if (TemplateIdAST *_other = pattern->asTemplateId())
562 return matcher->match(this, _other);
567 bool NamespaceAST::match0(AST *pattern, ASTMatcher *matcher)
569 if (NamespaceAST *_other = pattern->asNamespace())
570 return matcher->match(this, _other);
575 bool NamespaceAliasDefinitionAST::match0(AST *pattern, ASTMatcher *matcher)
577 if (NamespaceAliasDefinitionAST *_other = pattern->asNamespaceAliasDefinition())
578 return matcher->match(this, _other);
583 bool NewPlacementAST::match0(AST *pattern, ASTMatcher *matcher)
585 if (NewPlacementAST *_other = pattern->asNewPlacement())
586 return matcher->match(this, _other);
591 bool NewArrayDeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
593 if (NewArrayDeclaratorAST *_other = pattern->asNewArrayDeclarator())
594 return matcher->match(this, _other);
599 bool NewExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
601 if (NewExpressionAST *_other = pattern->asNewExpression())
602 return matcher->match(this, _other);
607 bool NewInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
609 if (NewInitializerAST *_other = pattern->asNewInitializer())
610 return matcher->match(this, _other);
615 bool NewTypeIdAST::match0(AST *pattern, ASTMatcher *matcher)
617 if (NewTypeIdAST *_other = pattern->asNewTypeId())
618 return matcher->match(this, _other);
623 bool OperatorAST::match0(AST *pattern, ASTMatcher *matcher)
625 if (OperatorAST *_other = pattern->asOperator())
626 return matcher->match(this, _other);
631 bool ParameterDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
633 if (ParameterDeclarationAST *_other = pattern->asParameterDeclaration())
634 return matcher->match(this, _other);
639 bool ParameterDeclarationClauseAST::match0(AST *pattern, ASTMatcher *matcher)
641 if (ParameterDeclarationClauseAST *_other = pattern->asParameterDeclarationClause())
642 return matcher->match(this, _other);
647 bool CallAST::match0(AST *pattern, ASTMatcher *matcher)
649 if (CallAST *_other = pattern->asCall())
650 return matcher->match(this, _other);
655 bool ArrayAccessAST::match0(AST *pattern, ASTMatcher *matcher)
657 if (ArrayAccessAST *_other = pattern->asArrayAccess())
658 return matcher->match(this, _other);
663 bool PostIncrDecrAST::match0(AST *pattern, ASTMatcher *matcher)
665 if (PostIncrDecrAST *_other = pattern->asPostIncrDecr())
666 return matcher->match(this, _other);
671 bool MemberAccessAST::match0(AST *pattern, ASTMatcher *matcher)
673 if (MemberAccessAST *_other = pattern->asMemberAccess())
674 return matcher->match(this, _other);
679 bool TypeidExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
681 if (TypeidExpressionAST *_other = pattern->asTypeidExpression())
682 return matcher->match(this, _other);
687 bool TypenameCallExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
689 if (TypenameCallExpressionAST *_other = pattern->asTypenameCallExpression())
690 return matcher->match(this, _other);
695 bool TypeConstructorCallAST::match0(AST *pattern, ASTMatcher *matcher)
697 if (TypeConstructorCallAST *_other = pattern->asTypeConstructorCall())
698 return matcher->match(this, _other);
703 bool PointerToMemberAST::match0(AST *pattern, ASTMatcher *matcher)
705 if (PointerToMemberAST *_other = pattern->asPointerToMember())
706 return matcher->match(this, _other);
711 bool PointerAST::match0(AST *pattern, ASTMatcher *matcher)
713 if (PointerAST *_other = pattern->asPointer())
714 return matcher->match(this, _other);
719 bool ReferenceAST::match0(AST *pattern, ASTMatcher *matcher)
721 if (ReferenceAST *_other = pattern->asReference())
722 return matcher->match(this, _other);
727 bool BreakStatementAST::match0(AST *pattern, ASTMatcher *matcher)
729 if (BreakStatementAST *_other = pattern->asBreakStatement())
730 return matcher->match(this, _other);
735 bool ContinueStatementAST::match0(AST *pattern, ASTMatcher *matcher)
737 if (ContinueStatementAST *_other = pattern->asContinueStatement())
738 return matcher->match(this, _other);
743 bool GotoStatementAST::match0(AST *pattern, ASTMatcher *matcher)
745 if (GotoStatementAST *_other = pattern->asGotoStatement())
746 return matcher->match(this, _other);
751 bool ReturnStatementAST::match0(AST *pattern, ASTMatcher *matcher)
753 if (ReturnStatementAST *_other = pattern->asReturnStatement())
754 return matcher->match(this, _other);
759 bool SizeofExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
761 if (SizeofExpressionAST *_other = pattern->asSizeofExpression())
762 return matcher->match(this, _other);
767 bool NumericLiteralAST::match0(AST *pattern, ASTMatcher *matcher)
769 if (NumericLiteralAST *_other = pattern->asNumericLiteral())
770 return matcher->match(this, _other);
775 bool BoolLiteralAST::match0(AST *pattern, ASTMatcher *matcher)
777 if (BoolLiteralAST *_other = pattern->asBoolLiteral())
778 return matcher->match(this, _other);
783 bool ThisExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
785 if (ThisExpressionAST *_other = pattern->asThisExpression())
786 return matcher->match(this, _other);
791 bool NestedExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
793 if (NestedExpressionAST *_other = pattern->asNestedExpression())
794 return matcher->match(this, _other);
799 bool StringLiteralAST::match0(AST *pattern, ASTMatcher *matcher)
801 if (StringLiteralAST *_other = pattern->asStringLiteral())
802 return matcher->match(this, _other);
807 bool SwitchStatementAST::match0(AST *pattern, ASTMatcher *matcher)
809 if (SwitchStatementAST *_other = pattern->asSwitchStatement())
810 return matcher->match(this, _other);
815 bool TemplateDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
817 if (TemplateDeclarationAST *_other = pattern->asTemplateDeclaration())
818 return matcher->match(this, _other);
823 bool ThrowExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
825 if (ThrowExpressionAST *_other = pattern->asThrowExpression())
826 return matcher->match(this, _other);
831 bool TranslationUnitAST::match0(AST *pattern, ASTMatcher *matcher)
833 if (TranslationUnitAST *_other = pattern->asTranslationUnit())
834 return matcher->match(this, _other);
839 bool TryBlockStatementAST::match0(AST *pattern, ASTMatcher *matcher)
841 if (TryBlockStatementAST *_other = pattern->asTryBlockStatement())
842 return matcher->match(this, _other);
847 bool CatchClauseAST::match0(AST *pattern, ASTMatcher *matcher)
849 if (CatchClauseAST *_other = pattern->asCatchClause())
850 return matcher->match(this, _other);
855 bool TypeIdAST::match0(AST *pattern, ASTMatcher *matcher)
857 if (TypeIdAST *_other = pattern->asTypeId())
858 return matcher->match(this, _other);
863 bool TypenameTypeParameterAST::match0(AST *pattern, ASTMatcher *matcher)
865 if (TypenameTypeParameterAST *_other = pattern->asTypenameTypeParameter())
866 return matcher->match(this, _other);
871 bool TemplateTypeParameterAST::match0(AST *pattern, ASTMatcher *matcher)
873 if (TemplateTypeParameterAST *_other = pattern->asTemplateTypeParameter())
874 return matcher->match(this, _other);
879 bool UnaryExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
881 if (UnaryExpressionAST *_other = pattern->asUnaryExpression())
882 return matcher->match(this, _other);
887 bool UsingAST::match0(AST *pattern, ASTMatcher *matcher)
889 if (UsingAST *_other = pattern->asUsing())
890 return matcher->match(this, _other);
895 bool UsingDirectiveAST::match0(AST *pattern, ASTMatcher *matcher)
897 if (UsingDirectiveAST *_other = pattern->asUsingDirective())
898 return matcher->match(this, _other);
903 bool WhileStatementAST::match0(AST *pattern, ASTMatcher *matcher)
905 if (WhileStatementAST *_other = pattern->asWhileStatement())
906 return matcher->match(this, _other);
911 bool ObjCClassForwardDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
913 if (ObjCClassForwardDeclarationAST *_other = pattern->asObjCClassForwardDeclaration())
914 return matcher->match(this, _other);
919 bool ObjCClassDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
921 if (ObjCClassDeclarationAST *_other = pattern->asObjCClassDeclaration())
922 return matcher->match(this, _other);
927 bool ObjCProtocolForwardDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
929 if (ObjCProtocolForwardDeclarationAST *_other = pattern->asObjCProtocolForwardDeclaration())
930 return matcher->match(this, _other);
935 bool ObjCProtocolDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
937 if (ObjCProtocolDeclarationAST *_other = pattern->asObjCProtocolDeclaration())
938 return matcher->match(this, _other);
943 bool ObjCProtocolRefsAST::match0(AST *pattern, ASTMatcher *matcher)
945 if (ObjCProtocolRefsAST *_other = pattern->asObjCProtocolRefs())
946 return matcher->match(this, _other);
951 bool ObjCMessageArgumentAST::match0(AST *pattern, ASTMatcher *matcher)
953 if (ObjCMessageArgumentAST *_other = pattern->asObjCMessageArgument())
954 return matcher->match(this, _other);
959 bool ObjCMessageExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
961 if (ObjCMessageExpressionAST *_other = pattern->asObjCMessageExpression())
962 return matcher->match(this, _other);
967 bool ObjCProtocolExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
969 if (ObjCProtocolExpressionAST *_other = pattern->asObjCProtocolExpression())
970 return matcher->match(this, _other);
975 bool ObjCTypeNameAST::match0(AST *pattern, ASTMatcher *matcher)
977 if (ObjCTypeNameAST *_other = pattern->asObjCTypeName())
978 return matcher->match(this, _other);
983 bool ObjCEncodeExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
985 if (ObjCEncodeExpressionAST *_other = pattern->asObjCEncodeExpression())
986 return matcher->match(this, _other);
991 bool ObjCSelectorExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
993 if (ObjCSelectorExpressionAST *_other = pattern->asObjCSelectorExpression())
994 return matcher->match(this, _other);
999 bool ObjCInstanceVariablesDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1001 if (ObjCInstanceVariablesDeclarationAST *_other = pattern->asObjCInstanceVariablesDeclaration())
1002 return matcher->match(this, _other);
1007 bool ObjCVisibilityDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1009 if (ObjCVisibilityDeclarationAST *_other = pattern->asObjCVisibilityDeclaration())
1010 return matcher->match(this, _other);
1015 bool ObjCPropertyAttributeAST::match0(AST *pattern, ASTMatcher *matcher)
1017 if (ObjCPropertyAttributeAST *_other = pattern->asObjCPropertyAttribute())
1018 return matcher->match(this, _other);
1023 bool ObjCPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1025 if (ObjCPropertyDeclarationAST *_other = pattern->asObjCPropertyDeclaration())
1026 return matcher->match(this, _other);
1031 bool ObjCMessageArgumentDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1033 if (ObjCMessageArgumentDeclarationAST *_other = pattern->asObjCMessageArgumentDeclaration())
1034 return matcher->match(this, _other);
1039 bool ObjCMethodPrototypeAST::match0(AST *pattern, ASTMatcher *matcher)
1041 if (ObjCMethodPrototypeAST *_other = pattern->asObjCMethodPrototype())
1042 return matcher->match(this, _other);
1047 bool ObjCMethodDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1049 if (ObjCMethodDeclarationAST *_other = pattern->asObjCMethodDeclaration())
1050 return matcher->match(this, _other);
1055 bool ObjCSynthesizedPropertyAST::match0(AST *pattern, ASTMatcher *matcher)
1057 if (ObjCSynthesizedPropertyAST *_other = pattern->asObjCSynthesizedProperty())
1058 return matcher->match(this, _other);
1063 bool ObjCSynthesizedPropertiesDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1065 if (ObjCSynthesizedPropertiesDeclarationAST *_other = pattern->asObjCSynthesizedPropertiesDeclaration())
1066 return matcher->match(this, _other);
1071 bool ObjCDynamicPropertiesDeclarationAST::match0(AST *pattern, ASTMatcher *matcher)
1073 if (ObjCDynamicPropertiesDeclarationAST *_other = pattern->asObjCDynamicPropertiesDeclaration())
1074 return matcher->match(this, _other);
1079 bool ObjCFastEnumerationAST::match0(AST *pattern, ASTMatcher *matcher)
1081 if (ObjCFastEnumerationAST *_other = pattern->asObjCFastEnumeration())
1082 return matcher->match(this, _other);
1087 bool ObjCSynchronizedStatementAST::match0(AST *pattern, ASTMatcher *matcher)
1089 if (ObjCSynchronizedStatementAST *_other = pattern->asObjCSynchronizedStatement())
1090 return matcher->match(this, _other);
1095 bool LambdaExpressionAST::match0(AST *pattern, ASTMatcher *matcher)
1097 if (LambdaExpressionAST *_other = pattern->asLambdaExpression())
1098 return matcher->match(this, _other);
1103 bool LambdaIntroducerAST::match0(AST *pattern, ASTMatcher *matcher)
1105 if (LambdaIntroducerAST *_other = pattern->asLambdaIntroducer())
1106 return matcher->match(this, _other);
1111 bool LambdaCaptureAST::match0(AST *pattern, ASTMatcher *matcher)
1113 if (LambdaCaptureAST *_other = pattern->asLambdaCapture())
1114 return matcher->match(this, _other);
1119 bool CaptureAST::match0(AST *pattern, ASTMatcher *matcher)
1121 if (CaptureAST *_other = pattern->asCapture())
1122 return matcher->match(this, _other);
1127 bool LambdaDeclaratorAST::match0(AST *pattern, ASTMatcher *matcher)
1129 if (LambdaDeclaratorAST *_other = pattern->asLambdaDeclarator())
1130 return matcher->match(this, _other);
1135 bool TrailingReturnTypeAST::match0(AST *pattern, ASTMatcher *matcher)
1137 if (TrailingReturnTypeAST *_other = pattern->asTrailingReturnType())
1138 return matcher->match(this, _other);
1143 bool BracedInitializerAST::match0(AST *pattern, ASTMatcher *matcher)
1145 if (BracedInitializerAST *_other = pattern->asBracedInitializer())
1146 return matcher->match(this, _other);