parameters: (self)
return_statement: return count
docstring: Return number of empty lines at the end of the document.
docstring_summary: Return number of empty lines at the end of the document.
docstring_tokens: Return number of empty lines at the end of the document .
function: def empty_line_count_at_the_end(self) -> int:
          """
          Return number of empty lines at the end of the document.
          """
          count = 0
          for line in self.lines[::-1]:
              if not line or line.isspace():
                  count += 1
              else:
                  break
  
          return count
function_tokens: def empty_line_count_at_the_end ( self ) -> int : count = 0 for line in self . lines [ : : - 1 ] : if not line or line . isspace ( ) : count += 1 else : break return count