16 |
16 |
17 class FunctionType(enum.Enum): |
17 class FunctionType(enum.Enum): |
18 """ |
18 """ |
19 Class representing the various function types. |
19 Class representing the various function types. |
20 """ |
20 """ |
|
21 |
21 PUBLIC = enum.auto() |
22 PUBLIC = enum.auto() |
22 PROTECTED = enum.auto() # Leading single underscore |
23 PROTECTED = enum.auto() # Leading single underscore |
23 PRIVATE = enum.auto() # Leading double underscore |
24 PRIVATE = enum.auto() # Leading double underscore |
24 SPECIAL = enum.auto() # Leading & trailing double underscore |
25 SPECIAL = enum.auto() # Leading & trailing double underscore |
25 |
26 |
26 |
27 |
27 class ClassDecoratorType(enum.Enum): |
28 class ClassDecoratorType(enum.Enum): |
28 """ |
29 """ |
29 Class representing the various class method decorators. |
30 Class representing the various class method decorators. |
30 """ |
31 """ |
|
32 |
31 CLASSMETHOD = enum.auto() |
33 CLASSMETHOD = enum.auto() |
32 STATICMETHOD = enum.auto() |
34 STATICMETHOD = enum.auto() |
33 |
35 |
34 |
36 |
35 class AnnotationType(enum.Enum): |
37 class AnnotationType(enum.Enum): |
36 """ |
38 """ |
37 Class representing the kind of missing type annotation. |
39 Class representing the kind of missing type annotation. |
38 """ |
40 """ |
|
41 |
39 POSONLYARGS = enum.auto() |
42 POSONLYARGS = enum.auto() |
40 ARGS = enum.auto() |
43 ARGS = enum.auto() |
41 VARARG = enum.auto() |
44 VARARG = enum.auto() |
42 KWONLYARGS = enum.auto() |
45 KWONLYARGS = enum.auto() |
43 KWARG = enum.auto() |
46 KWARG = enum.auto() |