MCPcopy Index your code
hub / github.com/webpy/webpy / match

Method match

web/db.py:1636–1640  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1634 yield _Node("text", self.text[self.pos :])
1635
1636 def match(self):
1637 match = tokenprog.match(self.text, self.pos)
1638 if match is None:
1639 raise _ItplError(self.text, self.pos)
1640 return match, match.end()
1641
1642 def is_literal(self, text):
1643 return text and text[0] in "0123456789\"'"

Callers 8

parse_exprMethod · 0.95
get_sequence_queryMethod · 0.80
matchorfailFunction · 0.80
_matchMethod · 0.80
_matchMethod · 0.80
_valid_session_idMethod · 0.80
validMethod · 0.80
find_indentMethod · 0.80

Calls 1

_ItplErrorClass · 0.85

Tested by

no test coverage detected