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

Method HasOpenBlock

tools/cpplint.py:1057–1059  ·  view source on GitHub ↗

:return: `True` if a block suppression was started but not ended

(self)

Source from the content-addressed store, hash-verified

1055 return any(linenum in lr for lr in suppressed)
1056
1057 def HasOpenBlock(self):
1058 """:return: `True` if a block suppression was started but not ended"""
1059 return self._open_block_suppression is not None
1060
1061 def Clear(self):
1062 """Clear all current error suppressions"""

Callers 2

ParseNolintSuppressionsFunction · 0.80
ProcessFileDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected