(node, blob=None)
| 53 | |
| 54 | @staticmethod |
| 55 | def get_docstring(node, blob=None): |
| 56 | if blob: |
| 57 | logger.info('From version `0.0.6` this function will update argument in the API') |
| 58 | docstring_node = RustParser.get_docstring_node(node) |
| 59 | docstring = [] |
| 60 | if docstring_node: |
| 61 | for item in docstring_node: |
| 62 | doc = get_node_text(item) |
| 63 | docstring.append(doc) |
| 64 | |
| 65 | docstring = '\n'.join(docstring) |
| 66 | return docstring |
| 67 | |
| 68 | @staticmethod |
| 69 | def get_function_metadata(function_node, blob=None) -> Dict[str, str]: |
nothing calls this directly
no test coverage detected