The "root_node" is an implict node of lines which are executed in the global scope on the file itself and not otherwise part of any function. :param lines list[ast]: :param parent Group: :rtype: Node
(lines, parent)
| 283 | |
| 284 | @staticmethod |
| 285 | def make_root_node(lines, parent): |
| 286 | """ |
| 287 | The "root_node" is an implict node of lines which are executed in the global |
| 288 | scope on the file itself and not otherwise part of any function. |
| 289 | |
| 290 | :param lines list[ast]: |
| 291 | :param parent Group: |
| 292 | :rtype: Node |
| 293 | """ |
| 294 | token = "(global)" |
| 295 | calls = make_calls(lines) |
| 296 | variables = make_local_variables(lines, parent) |
| 297 | root_node = Node(token, calls, variables, parent=parent) |
| 298 | return root_node |
| 299 | |
| 300 | @staticmethod |
| 301 | def make_class_group(tree, parent): |
nothing calls this directly
no test coverage detected