parameters: (self, filename, error)
docstring: Checks that all classes have been completely parsed.
  
      Call this when all lines in a file have been processed.
      Args:
        filename: The name of the current file.
        error: The function to call with any errors found.
docstring_summary: Checks that all classes have been completely parsed.
docstring_tokens: Checks that all classes have been completely parsed .
function: def CheckFinished(self, filename, error):
      """Checks that all classes have been completely parsed.
  
      Call this when all lines in a file have been processed.
      Args:
        filename: The name of the current file.
        error: The function to call with any errors found.
      """
      if self.classinfo_stack:
        # Note: This test can result in false positives if #ifdef constructs
        # get in the way of brace matching. See the testBuildClass test in
        # cpplint_unittest.py for an example of this.
        error(filename, self.classinfo_stack[0].linenum, 'build/class', 5,
              'Failed to find complete declaration of class %s' %
              self.classinfo_stack[0].name)
function_tokens: def CheckFinished ( self , filename , error ) : if self . classinfo_stack : # Note: This test can result in false positives if #ifdef constructs # get in the way of brace matching. See the testBuildClass test in # cpplint_unittest.py for an example of this. error ( filename , self . classinfo_stack [ 0 ] . linenum , 'build/class' , 5 , 'Failed to find complete declaration of class %s' % self . classinfo_stack [ 0 ] . name )