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

Function FindNextMultiLineCommentEnd

tools/cpplint.py:2068–2074  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

2066
2067
2068def FindNextMultiLineCommentEnd(lines, lineix):
2069 """We are inside a comment, find the end marker."""
2070 while lineix < len(lines):
2071 if lines[lineix].strip().endswith("*/"):
2072 return lineix
2073 lineix += 1
2074 return len(lines)
2075
2076
2077def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…