def handle_call(self, span, name, argexpr):
'''Should be called to signalize a call directive.
Args:
span (tuple of int): Start and end line of the directive.
name (str): Name of the callable to call
argexpr (str or None): Argument expression containing additional
arguments for the call.
'''
self._path.append(self._curnode)
self._curnode = []
self._open_blocks.append(
('call', self._curfile, [span, span], name, argexpr, [], []))
评论列表
文章目录