ASTfwd.h 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. // Copyright (c) 2008 Roberto Raggi <[email protected]>
  2. //
  3. // Permission is hereby granted, free of charge, to any person obtaining a copy
  4. // of this software and associated documentation files (the "Software"), to deal
  5. // in the Software without restriction, including without limitation the rights
  6. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. // copies of the Software, and to permit persons to whom the Software is
  8. // furnished to do so, subject to the following conditions:
  9. //
  10. // The above copyright notice and this permission notice shall be included in
  11. // all copies or substantial portions of the Software.
  12. //
  13. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. // THE SOFTWARE.
  20. #ifndef CPLUSPLUS_ASTFWD_H
  21. #define CPLUSPLUS_ASTFWD_H
  22. #include "CPlusPlusForwardDeclarations.h"
  23. namespace CPlusPlus {
  24. template <typename Tptr> class List;
  25. class AST;
  26. class ASTVisitor;
  27. class ASTMatcher;
  28. class AccessDeclarationAST;
  29. class AliasDeclarationAST;
  30. class AlignmentSpecifierAST;
  31. class AlignofExpressionAST;
  32. class AnonymousNameAST;
  33. class ArrayAccessAST;
  34. class ArrayDeclaratorAST;
  35. class ArrayInitializerAST;
  36. class AsmDefinitionAST;
  37. class AttributeSpecifierAST;
  38. class BaseSpecifierAST;
  39. class BinaryExpressionAST;
  40. class BoolLiteralAST;
  41. class BracedInitializerAST;
  42. class BracketDesignatorAST;
  43. class BreakStatementAST;
  44. class CallAST;
  45. class CaptureAST;
  46. class CaseStatementAST;
  47. class CastExpressionAST;
  48. class CatchClauseAST;
  49. class ClassSpecifierAST;
  50. class CompoundExpressionAST;
  51. class CompoundLiteralAST;
  52. class CompoundStatementAST;
  53. class ConditionAST;
  54. class ConditionalExpressionAST;
  55. class ContinueStatementAST;
  56. class ConversionFunctionIdAST;
  57. class CoreDeclaratorAST;
  58. class CppCastExpressionAST;
  59. class CtorInitializerAST;
  60. class DeclarationAST;
  61. class DeclarationStatementAST;
  62. class DeclaratorAST;
  63. class DeclaratorIdAST;
  64. class DecltypeSpecifierAST;
  65. class DeleteExpressionAST;
  66. class DesignatedInitializerAST;
  67. class DesignatorAST;
  68. class DestructorNameAST;
  69. class DoStatementAST;
  70. class DotDesignatorAST;
  71. class DynamicExceptionSpecificationAST;
  72. class ElaboratedTypeSpecifierAST;
  73. class EmptyDeclarationAST;
  74. class EnumSpecifierAST;
  75. class EnumeratorAST;
  76. class ExceptionDeclarationAST;
  77. class ExceptionSpecificationAST;
  78. class ExpressionAST;
  79. class ExpressionListParenAST;
  80. class ExpressionOrDeclarationStatementAST;
  81. class ExpressionStatementAST;
  82. class ForStatementAST;
  83. class ForeachStatementAST;
  84. class FunctionDeclaratorAST;
  85. class FunctionDefinitionAST;
  86. class GnuAttributeAST;
  87. class GnuAttributeSpecifierAST;
  88. class GotoStatementAST;
  89. class IdExpressionAST;
  90. class IfStatementAST;
  91. class LabeledStatementAST;
  92. class LambdaCaptureAST;
  93. class LambdaDeclaratorAST;
  94. class LambdaExpressionAST;
  95. class LambdaIntroducerAST;
  96. class LinkageBodyAST;
  97. class LinkageSpecificationAST;
  98. class MemInitializerAST;
  99. class MemberAccessAST;
  100. class NameAST;
  101. class NamedTypeSpecifierAST;
  102. class NamespaceAST;
  103. class NamespaceAliasDefinitionAST;
  104. class NestedDeclaratorAST;
  105. class NestedExpressionAST;
  106. class NestedNameSpecifierAST;
  107. class NewArrayDeclaratorAST;
  108. class NewExpressionAST;
  109. class NewTypeIdAST;
  110. class NoExceptSpecificationAST;
  111. class NumericLiteralAST;
  112. class ObjCClassDeclarationAST;
  113. class ObjCClassForwardDeclarationAST;
  114. class ObjCDynamicPropertiesDeclarationAST;
  115. class ObjCEncodeExpressionAST;
  116. class ObjCFastEnumerationAST;
  117. class ObjCInstanceVariablesDeclarationAST;
  118. class ObjCMessageArgumentAST;
  119. class ObjCMessageArgumentDeclarationAST;
  120. class ObjCMessageExpressionAST;
  121. class ObjCMethodDeclarationAST;
  122. class ObjCMethodPrototypeAST;
  123. class ObjCPropertyAttributeAST;
  124. class ObjCPropertyDeclarationAST;
  125. class ObjCProtocolDeclarationAST;
  126. class ObjCProtocolExpressionAST;
  127. class ObjCProtocolForwardDeclarationAST;
  128. class ObjCProtocolRefsAST;
  129. class ObjCSelectorAST;
  130. class ObjCSelectorArgumentAST;
  131. class ObjCSelectorExpressionAST;
  132. class ObjCSynchronizedStatementAST;
  133. class ObjCSynthesizedPropertiesDeclarationAST;
  134. class ObjCSynthesizedPropertyAST;
  135. class ObjCTypeNameAST;
  136. class ObjCVisibilityDeclarationAST;
  137. class OperatorAST;
  138. class OperatorFunctionIdAST;
  139. class ParameterDeclarationAST;
  140. class ParameterDeclarationClauseAST;
  141. class PointerAST;
  142. class PointerLiteralAST;
  143. class PointerToMemberAST;
  144. class PostIncrDecrAST;
  145. class PostfixAST;
  146. class PostfixDeclaratorAST;
  147. class PtrOperatorAST;
  148. class QtEnumDeclarationAST;
  149. class QtFlagsDeclarationAST;
  150. class QtInterfaceNameAST;
  151. class QtInterfacesDeclarationAST;
  152. class QtMemberDeclarationAST;
  153. class QtMethodAST;
  154. class QtObjectTagAST;
  155. class QtPrivateSlotAST;
  156. class QtPropertyDeclarationAST;
  157. class QtPropertyDeclarationItemAST;
  158. class QualifiedNameAST;
  159. class RangeBasedForStatementAST;
  160. class ReferenceAST;
  161. class ReturnStatementAST;
  162. class SimpleDeclarationAST;
  163. class SimpleNameAST;
  164. class SimpleSpecifierAST;
  165. class SizeofExpressionAST;
  166. class SpecifierAST;
  167. class StatementAST;
  168. class StaticAssertDeclarationAST;
  169. class StringLiteralAST;
  170. class SwitchStatementAST;
  171. class TemplateDeclarationAST;
  172. class TemplateIdAST;
  173. class TemplateTypeParameterAST;
  174. class ThisExpressionAST;
  175. class ThrowExpressionAST;
  176. class TrailingReturnTypeAST;
  177. class TranslationUnitAST;
  178. class TryBlockStatementAST;
  179. class TypeConstructorCallAST;
  180. class TypeIdAST;
  181. class TypeidExpressionAST;
  182. class TypenameCallExpressionAST;
  183. class TypenameTypeParameterAST;
  184. class TypeofSpecifierAST;
  185. class UnaryExpressionAST;
  186. class UsingAST;
  187. class UsingDirectiveAST;
  188. class WhileStatementAST;
  189. typedef List<ExpressionAST *> ExpressionListAST;
  190. typedef List<DeclarationAST *> DeclarationListAST;
  191. typedef List<StatementAST *> StatementListAST;
  192. typedef List<DeclaratorAST *> DeclaratorListAST;
  193. typedef List<BaseSpecifierAST *> BaseSpecifierListAST;
  194. typedef List<EnumeratorAST *> EnumeratorListAST;
  195. typedef List<MemInitializerAST *> MemInitializerListAST;
  196. typedef List<NewArrayDeclaratorAST *> NewArrayDeclaratorListAST;
  197. typedef List<PostfixAST *> PostfixListAST;
  198. typedef List<PostfixDeclaratorAST *> PostfixDeclaratorListAST;
  199. typedef List<GnuAttributeAST *> GnuAttributeListAST;
  200. typedef List<NestedNameSpecifierAST *> NestedNameSpecifierListAST;
  201. typedef List<CatchClauseAST *> CatchClauseListAST;
  202. typedef List<PtrOperatorAST *> PtrOperatorListAST;
  203. typedef List<SpecifierAST *> SpecifierListAST;
  204. typedef List<QtPropertyDeclarationItemAST *> QtPropertyDeclarationItemListAST;
  205. typedef List<NameAST *> NameListAST;
  206. typedef List<QtInterfaceNameAST *> QtInterfaceNameListAST;
  207. typedef List<ParameterDeclarationAST *> ParameterDeclarationListAST;
  208. typedef List<CaptureAST *> CaptureListAST;
  209. typedef List<ObjCMessageArgumentAST *> ObjCMessageArgumentListAST;
  210. typedef List<ObjCSelectorArgumentAST *> ObjCSelectorArgumentListAST;
  211. typedef List<ObjCPropertyAttributeAST *> ObjCPropertyAttributeListAST;
  212. typedef List<ObjCMessageArgumentDeclarationAST *> ObjCMessageArgumentDeclarationListAST;
  213. typedef List<ObjCSynthesizedPropertyAST *> ObjCSynthesizedPropertyListAST;
  214. typedef List<DesignatorAST *> DesignatorListAST;
  215. } // namespace CPlusPlus
  216. #endif // CPLUSPLUS_ASTFWD_H