List of all members.
Public Member Functions |
def | __init__ |
def | Begin |
def | Count |
def | Check |
def | End |
def | __init__ |
def | Begin |
def | Count |
def | Check |
def | End |
Public Attributes |
| in_a_function |
| lines_in_function |
| current_function |
Detailed Description
Tracks current function name and the number of lines in its body.
Member Function Documentation
def cpplint::_FunctionState::Begin |
( |
|
self, |
|
|
|
function_name | |
|
) |
| | |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
def cpplint::_FunctionState::Begin |
( |
|
self, |
|
|
|
function_name | |
|
) |
| | |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
def cpplint::_FunctionState::Check |
( |
|
self, |
|
|
|
error, |
|
|
|
filename, |
|
|
|
linenum | |
|
) |
| | |
Report if too many lines in function body.
Args:
error: The function to call with any errors found.
filename: The name of the current file.
linenum: The number of the line to check.
def cpplint::_FunctionState::Check |
( |
|
self, |
|
|
|
error, |
|
|
|
filename, |
|
|
|
linenum | |
|
) |
| | |
Report if too many lines in function body.
Args:
error: The function to call with any errors found.
filename: The name of the current file.
linenum: The number of the line to check.
def cpplint::_FunctionState::Count |
( |
|
self |
) |
|
Count line in current function body.
def cpplint::_FunctionState::Count |
( |
|
self |
) |
|
Count line in current function body.
def cpplint::_FunctionState::End |
( |
|
self |
) |
|
Stop analizing function body.
def cpplint::_FunctionState::End |
( |
|
self |
) |
|
Stop analizing function body.
The documentation for this class was generated from the following files:
- C:/Users/anan/Desktop/zukeralgorithm/NussinovAlgorithm/cpplint.py
- C:/Users/anan/Desktop/zukeralgorithm/ZukerAlgorithm/cpplint.py