You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only ast class with parameters that can be set in the constructor. (__init__ method), which should mean I can filter out 'attributeKind' == 'No'.
146
-
Approximately 40 methods in `Make` will only have the four `_attribute` attributes. Instead of treating those as `**keywordArguments`, I could make them args with default values.
147
-
The same top-level order as getElementsBe
148
-
"""
149
-
150
133
"""What to return, identifiers for the return are tentative.
151
134
ClassDefIdentifier
152
135
listFunctionDef_args: list[str] if `keywordArguments` is False, add `ast_arg` in the order of 'match_args'
listCall_args: list[tuple(str, str)] ('attribute', if `keywordArguments` is False, 'attributeRename' | if `keywordArguments` is True and there is a 'defaultValue', then 'defaultValue' | 'attribute')
158
141
'keywordArguments'
159
142
160
-
'ClassDefIdentifier',
161
-
'classAs_astAttribute',
162
-
163
-
'match_args',
164
-
165
-
'attribute',
166
-
'attributeRename',
167
-
'attributeKind',
168
-
'ast_arg',
169
-
'defaultValue',
170
-
'keywordArguments',
171
-
172
-
'kwargAnnotation',
173
-
174
-
'classVersionMinorMinimum', -1
175
-
'attributeVersionMinorMinimum', -1
176
-
'match_argsVersionMinorMinimum', -1
177
-
178
-
The simplest case all version are -1:
179
-
get 'match_args': it is one or more comma separated identifiers that have a 1:1 correspondence with the row values in column 'attribute'.
180
-
put the rows in the same order as 'match_args'. (if there are additional attribute values, put them at the end of the list)
0 commit comments