Given a list of lines, find all calls in this list. :param body_el ast: :rtype: list[Call]
(body_el)
| 129 | |
| 130 | |
| 131 | def make_calls(body_el): |
| 132 | """ |
| 133 | Given a list of lines, find all calls in this list. |
| 134 | |
| 135 | :param body_el ast: |
| 136 | :rtype: list[Call] |
| 137 | """ |
| 138 | calls = [] |
| 139 | for expr in walk(body_el): |
| 140 | call = get_call_from_expr(expr) |
| 141 | calls.append(call) |
| 142 | ret = list(filter(None, calls)) |
| 143 | |
| 144 | return ret |
| 145 | |
| 146 | |
| 147 | def process_assign(assignment_el): |
no test coverage detected