( c )
| 236 | |
| 237 | |
| 238 | def parse_class_method( c ): |
| 239 | if not c.get('name', False): |
| 240 | return {} |
| 241 | |
| 242 | return { |
| 243 | 'name': c['name'], |
| 244 | 'source': get_source( c.get('sources', []) ), |
| 245 | 'id': c['id'], |
| 246 | 'flags': get_flags( c ), |
| 247 | 'overrides': c.get('overwrites', {}).get('name', False), |
| 248 | 'inherits': c.get('inheritedFrom', {}).get('name', False), |
| 249 | 'signatures': [ parse_class_method_signature( s ) for s in c.get('signatures', {}) ] |
| 250 | } |
| 251 | |
| 252 | |
| 253 | def parse_class_method_signature( c ): |
no test coverage detected