MCPcopy Index your code
hub / github.com/cpplint/cpplint / NumLines

Method NumLines

cpplint.py:2123–2125  ·  view source on GitHub ↗

Returns the number of lines represented.

(self)

Source from the content-addressed store, hash-verified

2121 self.elided.append(CleanseComments(elided))
2122
2123 def NumLines(self):
2124 """Returns the number of lines represented."""
2125 return self.num_lines
2126
2127 @staticmethod
2128 def _CollapseStrings(elided):

Callers 15

PerformMultiLineLintMethod · 0.95
GetNamespaceResultsMethod · 0.95
testInitMethod · 0.95
testInitEmptyMethod · 0.95
UpdateWithLinesMethod · 0.95
ProcessFileDataFunction · 0.95
CloseExpressionFunction · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 8

PerformMultiLineLintMethod · 0.76
GetNamespaceResultsMethod · 0.76
testInitMethod · 0.76
testInitEmptyMethod · 0.76
UpdateWithLinesMethod · 0.76