wpiformat/wpiformat/cpplint.py
def ProcessLine(filename, is_header, clean_lines, line,
                include_state, function_state, nesting_state, error):
  """Processes a single line in the file.

  Args:
    filename: Filename of the file that is being processed.
    is_header: Whether file is header.
    clean_lines: An array of strings, each representing a line of the file,
                 with comments stripped.
    line: Number of line being processed.
    include_state: An _IncludeState instance in which the headers are inserted.
    function_state: A _FunctionState instance which counts function lines, etc.
    nesting_state: A NestingState instance which maintains information about
                   the current stack of nested blocks being parsed.
    error: A callable to which errors are reported, which takes 4 arguments:
           filename, line number, error level, and message
  """
  raw_lines = clean_lines.raw_lines
  ParseNolintSuppressions(filename, raw_lines[line], line, error)
  nesting_state.Update(filename, clean_lines, line, error)
  if nesting_state.InAsmBlock(): return
  CheckForFunctionLengths(filename, clean_lines, line, function_state, error)
  CheckForMultilineCommentsAndStrings(filename, clean_lines, line, error)
  CheckStyle(filename, clean_lines, line, is_header, nesting_state, error)
  CheckLanguage(filename, clean_lines, line, is_header, include_state,
                nesting_state, error)
  CheckForNonStandardConstructs(filename, clean_lines, line,
                                nesting_state, error)
  CheckInvalidIncrement(filename, clean_lines, line, error)
  CheckMakePairUsesDeduction(filename, clean_lines, line, error)
  CheckRedundantVirtual(filename, clean_lines, line, error)
  CheckRedundantOverrideOrFinal(filename, clean_lines, line, error)
Processes a single line in the file.

  Args:
    filename: Filename of the file that is being processed.
    is_header: Whether file is header.
    clean_lines: An array of strings, each representing a line of the file,
                 with comments stripped.
    line: Number of line being processed.
    include_state: An _IncludeState instance in which the headers are inserted.
    function_state: A _FunctionState instance which counts function lines, etc.
    nesting_state: A NestingState instance which maintains information about
                   the current stack of nested blocks being parsed.
    error: A callable to which errors are reported, which takes 4 arguments:
           filename, line number, error level, and message
  
Processes a single line in the file.
Processes a single line in the file .
def ProcessLine(filename, is_header, clean_lines, line,
                include_state, function_state, nesting_state, error):
  raw_lines = clean_lines.raw_lines
  ParseNolintSuppressions(filename, raw_lines[line], line, error)
  nesting_state.Update(filename, clean_lines, line, error)
  if nesting_state.InAsmBlock(): return
  CheckForFunctionLengths(filename, clean_lines, line, function_state, error)
  CheckForMultilineCommentsAndStrings(filename, clean_lines, line, error)
  CheckStyle(filename, clean_lines, line, is_header, nesting_state, error)
  CheckLanguage(filename, clean_lines, line, is_header, include_state,
                nesting_state, error)
  CheckForNonStandardConstructs(filename, clean_lines, line,
                                nesting_state, error)
  CheckInvalidIncrement(filename, clean_lines, line, error)
  CheckMakePairUsesDeduction(filename, clean_lines, line, error)
  CheckRedundantVirtual(filename, clean_lines, line, error)
  CheckRedundantOverrideOrFinal(filename, clean_lines, line, error)
def ProcessLine ( filename , is_header , clean_lines , line , include_state , function_state , nesting_state , error ) : raw_lines = clean_lines . raw_lines ParseNolintSuppressions ( filename , raw_lines [ line ] , line , error ) nesting_state . Update ( filename , clean_lines , line , error ) if nesting_state . InAsmBlock ( ) : return CheckForFunctionLengths ( filename , clean_lines , line , function_state , error ) CheckForMultilineCommentsAndStrings ( filename , clean_lines , line , error ) CheckStyle ( filename , clean_lines , line , is_header , nesting_state , error ) CheckLanguage ( filename , clean_lines , line , is_header , include_state , nesting_state , error ) CheckForNonStandardConstructs ( filename , clean_lines , line , nesting_state , error ) CheckInvalidIncrement ( filename , clean_lines , line , error ) CheckMakePairUsesDeduction ( filename , clean_lines , line , error ) CheckRedundantVirtual ( filename , clean_lines , line , error ) CheckRedundantOverrideOrFinal ( filename , clean_lines , line , error )
Processes a single line in the file.
Processes a single line in the file .
"""Processes a single line in the file.

  Args:
    filename: Filename of the file that is being processed.
    is_header: Whether file is header.
    clean_lines: An array of strings, each representing a line of the file,
                 with comments stripped.
    line: Number of line being processed.
    include_state: An _IncludeState instance in which the headers are inserted.
    function_state: A _FunctionState instance which counts function lines, etc.
    nesting_state: A NestingState instance which maintains information about
                   the current stack of nested blocks being parsed.
    error: A callable to which errors are reported, which takes 4 arguments:
           filename, line number, error level, and message
  """
filename
Filename of the file that is being processed.
Filename of the file that is being processed .
is_header
Whether file is header.
Whether file is header .
clean_lines
An array of strings, each representing a line of the file,
with comments stripped.
An array of strings each representing a line of the file with comments stripped .
line
Number of line being processed.
Number of line being processed .
include_state
An _IncludeState instance in which the headers are inserted.
An _IncludeState instance in which the headers are inserted .
function_state
A _FunctionState instance which counts function lines, etc.
A _FunctionState instance which counts function lines etc .
nesting_state
A NestingState instance which maintains information about
the current stack of nested blocks being parsed.
A NestingState instance which maintains information about the current stack of nested blocks being parsed .
error
A callable to which errors are reported, which takes 4 arguments:
filename, line number, error level, and message
A callable to which errors are reported which takes 4 arguments : filename line number error level and message