|
def | __init__ (self) |
|
def | Begin (self, function_name) |
|
def | Count (self) |
|
def | Check (self, error, filename, linenum) |
|
def | End (self) |
|
def | __init__ (self) |
|
def | Begin (self, function_name) |
|
def | Count (self) |
|
def | Check (self, error, filename, linenum) |
|
def | End (self) |
|
def | __init__ (self) |
|
def | Begin (self, function_name) |
|
def | Count (self) |
|
def | Check (self, error, filename, linenum) |
|
def | End (self) |
|
Tracks current function name and the number of lines in its body.
Definition at line 1186 of file ioda/tools/cpplint.py.
◆ __init__() [1/3]
def cpplint._FunctionState.__init__ |
( |
|
self | ) |
|
◆ __init__() [2/3]
def cpplint._FunctionState.__init__ |
( |
|
self | ) |
|
◆ __init__() [3/3]
def cpplint._FunctionState.__init__ |
( |
|
self | ) |
|
◆ Begin() [1/3]
def cpplint._FunctionState.Begin |
( |
|
self, |
|
|
|
function_name |
|
) |
| |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
Definition at line 1197 of file ioda/tools/cpplint.py.
◆ Begin() [2/3]
def cpplint._FunctionState.Begin |
( |
|
self, |
|
|
|
function_name |
|
) |
| |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
Definition at line 1197 of file oops/tools/cpplint.py.
◆ Begin() [3/3]
def cpplint._FunctionState.Begin |
( |
|
self, |
|
|
|
function_name |
|
) |
| |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
Definition at line 1197 of file ufo/tools/cpplint.py.
◆ Check() [1/3]
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.
Definition at line 1212 of file ufo/tools/cpplint.py.
◆ Check() [2/3]
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.
Definition at line 1212 of file ioda/tools/cpplint.py.
◆ Check() [3/3]
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.
Definition at line 1212 of file oops/tools/cpplint.py.
◆ Count() [1/3]
def cpplint._FunctionState.Count |
( |
|
self | ) |
|
◆ Count() [2/3]
def cpplint._FunctionState.Count |
( |
|
self | ) |
|
◆ Count() [3/3]
def cpplint._FunctionState.Count |
( |
|
self | ) |
|
◆ End() [1/3]
def cpplint._FunctionState.End |
( |
|
self | ) |
|
◆ End() [2/3]
def cpplint._FunctionState.End |
( |
|
self | ) |
|
◆ End() [3/3]
def cpplint._FunctionState.End |
( |
|
self | ) |
|
◆ _NORMAL_TRIGGER
int cpplint._FunctionState._NORMAL_TRIGGER = 250 |
|
staticprivate |
◆ _TEST_TRIGGER
int cpplint._FunctionState._TEST_TRIGGER = 400 |
|
staticprivate |
◆ current_function
cpplint._FunctionState.current_function |
◆ in_a_function
cpplint._FunctionState.in_a_function |
◆ lines_in_function
cpplint._FunctionState.lines_in_function |
The documentation for this class was generated from the following file: