MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / Skip

Function Skip

tests/external/gmock-1.7.0/gtest/scripts/pump.py:261–267  ·  view source on GitHub ↗
(lines, pos, regex)

Source from the content-addressed store, hash-verified

259
260
261def Skip(lines, pos, regex):
262 line = lines[pos.line][pos.column:]
263 m = re.search(regex, line)
264 if m and not m.start():
265 return pos + m.end()
266 else:
267 return pos
268
269
270def SkipUntil(lines, pos, regex, token_type):

Callers 3

ParseInParensFunction · 0.85
ParseFunction · 0.85
TokenizeLinesFunction · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected