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

Method IsSuppressed

tools/cpplint.py:1052–1055  ·  view source on GitHub ↗

:return: `True` if `category` is suppressed for `linenum`

(self, category, linenum)

Source from the content-addressed store, hash-verified

1050 self._open_block_suppression = None
1051
1052 def IsSuppressed(self, category, linenum):
1053 """:return: `True` if `category` is suppressed for `linenum`"""
1054 suppressed = self._suppressions[category] + self._suppressions[None]
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"""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected