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

Function MakeToken

tests/external/gmock-1.7.0/gtest/scripts/pump.py:237–240  ·  view source on GitHub ↗

Creates a new instance of Token.

(lines, start, end, token_type)

Source from the content-addressed store, hash-verified

235
236
237def MakeToken(lines, start, end, token_type):
238 """Creates a new instance of Token."""
239
240 return Token(start, end, SubString(lines, start, end), token_type)
241
242
243def ParseToken(lines, pos, regex, token_type):

Callers 4

FindFirstFunction · 0.85
ParseTokenFunction · 0.85
ParseExpTokenInParensFunction · 0.85
TokenizeLinesFunction · 0.85

Calls 2

SubStringFunction · 0.85
TokenClass · 0.70

Tested by

no test coverage detected