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

Method StartBlockSuppression

tools/cpplint.py:1040–1044  ·  view source on GitHub ↗

Start a suppression block for `category` on `linenum`. inclusive

(self, category, linenum)

Source from the content-addressed store, hash-verified

1038 self._AddSuppression(category, self.LineRange(linenum, linenum))
1039
1040 def StartBlockSuppression(self, category, linenum):
1041 """Start a suppression block for `category` on `linenum`. inclusive"""
1042 if self._open_block_suppression is None:
1043 self._open_block_suppression = self.LineRange(linenum, math.inf)
1044 self._AddSuppression(category, self._open_block_suppression)
1045
1046 def EndBlockSuppression(self, linenum):
1047 """End the current block suppression on `linenum`. inclusive"""

Callers 1

ProcessCategoryFunction · 0.80

Calls 1

_AddSuppressionMethod · 0.95

Tested by

no test coverage detected