MCPcopy Index your code
hub / github.com/nodejs/node / GetOpenBlockStart

Method GetOpenBlockStart

tools/cpplint.py:1028–1030  ·  view source on GitHub ↗

:return: The start of the current open block or `-1` if there is not an open block

(self)

Source from the content-addressed store, hash-verified

1026 suppressed.append(line_range)
1027
1028 def GetOpenBlockStart(self):
1029 """:return: The start of the current open block or `-1` if there is not an open block"""
1030 return self._open_block_suppression.begin if self._open_block_suppression else -1
1031
1032 def AddGlobalSuppression(self, category):
1033 """Add a suppression for `category` which is suppressed for the whole file"""

Callers 2

ParseNolintSuppressionsFunction · 0.80
ProcessFileDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected