@@ -167,41 +167,6 @@ class PQName:
167
167
has_typename : bool = False
168
168
169
169
170
- @dataclass
171
- class Enumerator :
172
- """
173
- An individual value of an enumeration
174
- """
175
-
176
- #: The enumerator key name
177
- name : str
178
-
179
- #: None if not explicitly specified
180
- value : typing .Optional [Value ] = None
181
-
182
- #: Documentation if present
183
- doxygen : typing .Optional [str ] = None
184
-
185
-
186
- @dataclass
187
- class EnumDecl :
188
- """
189
- An enumeration type
190
- """
191
-
192
- typename : PQName
193
-
194
- values : typing .List [Enumerator ]
195
-
196
- base : typing .Optional [PQName ] = None
197
-
198
- #: Documentation if present
199
- doxygen : typing .Optional [str ] = None
200
-
201
- #: If within a class, the access level for this decl
202
- access : typing .Optional [str ] = None
203
-
204
-
205
170
@dataclass
206
171
class TemplateArgument :
207
172
"""
@@ -339,6 +304,41 @@ class MoveReference:
339
304
DecoratedType = typing .Union [Array , Pointer , MoveReference , Reference , Type ]
340
305
341
306
307
+ @dataclass
308
+ class Enumerator :
309
+ """
310
+ An individual value of an enumeration
311
+ """
312
+
313
+ #: The enumerator key name
314
+ name : str
315
+
316
+ #: None if not explicitly specified
317
+ value : typing .Optional [Value ] = None
318
+
319
+ #: Documentation if present
320
+ doxygen : typing .Optional [str ] = None
321
+
322
+
323
+ @dataclass
324
+ class EnumDecl :
325
+ """
326
+ An enumeration type
327
+ """
328
+
329
+ typename : PQName
330
+
331
+ values : typing .List [Enumerator ]
332
+
333
+ base : typing .Optional [PQName ] = None
334
+
335
+ #: Documentation if present
336
+ doxygen : typing .Optional [str ] = None
337
+
338
+ #: If within a class, the access level for this decl
339
+ access : typing .Optional [str ] = None
340
+
341
+
342
342
@dataclass
343
343
class TemplateNonTypeParam :
344
344
"""
0 commit comments