Helper function to first find all specifier nodes and then return their texts
(node)
| 13 | |
| 14 | |
| 15 | def get_specifiers(node): |
| 16 | """Helper function to first find all specifier nodes |
| 17 | and then return their texts""" |
| 18 | return [n.text for n in node.findall('./srcml:specifier', ns)] |
| 19 | |
| 20 | |
| 21 | def handle_name_node(name_node): |