(name_node)
| 19 | |
| 20 | |
| 21 | def handle_name_node(name_node): |
| 22 | return transform_node_to_src(name_node).strip() |
| 23 | |
| 24 | """ |
| 25 | child_nodes = name_node.getchildren() |
| 26 | text_of_itself = name_node.text or '' |
| 27 | if len(child_nodes) == 0: |
| 28 | return text_of_itself |
| 29 | else: |
| 30 | child_names = [] |
| 31 | for child_node in child_nodes: |
| 32 | child_names.append(handle_name_node(child_node)) |
| 33 | return text_of_itself + ''.join(child_names) |
| 34 | """ |
| 35 | |
| 36 | |
| 37 | def get_name(node): |
no test coverage detected