'Doc.'

def list_function_definitions(self):

    self._check_modified()
    function_definitions = []
    if (not self._simplified_lines):
        self._simplified_lines = simplify_lines(self._lines)
    for line in self._simplified_lines:
        if (line.endswith(u'{') or line.endswith(u'}') or line.endswith(u'};')):
            line = line.split(u'{')[0].strip()
            if line.endswith(u')'):
                function_definitions.append(line)
    return function_definitions
