Return the line number of the AST :param tree ast: :rtype: int
(tree)
| 7 | |
| 8 | |
| 9 | def lineno(tree): |
| 10 | """ |
| 11 | Return the line number of the AST |
| 12 | :param tree ast: |
| 13 | :rtype: int |
| 14 | """ |
| 15 | return tree['attributes']['startLine'] |
| 16 | |
| 17 | |
| 18 | def get_name(tree, from_='name'): |
no outgoing calls
no test coverage detected