webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webkitpy.style.checkers.cpp._ClassState Class Reference
Inheritance diagram for webkitpy.style.checkers.cpp._ClassState:

Public Member Functions

def __init__ (self)
 
def check_finished (self, error)
 

Public Attributes

 classinfo_stack
 

Detailed Description

Holds the current state of the parse relating to class declarations.

It maintains a stack of _ClassInfos representing the parser's guess
as to the current nesting of class declarations. The innermost class
is at the top (back) of the stack. Typically, the stack will either
be empty or have exactly one entry.

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.style.checkers.cpp._ClassState.__init__ (   self)

Member Function Documentation

◆ check_finished()

def webkitpy.style.checkers.cpp._ClassState.check_finished (   self,
  error 
)
Checks that all classes have been completely parsed.

Call this when all lines in a file have been processed.
Args:
  error: The function to call with any errors found.

Member Data Documentation

◆ classinfo_stack

webkitpy.style.checkers.cpp._ClassState.classinfo_stack

The documentation for this class was generated from the following file: