MCPcopy Create free account
hub / github.com/nodejs/node / test_any

Method test_any

tools/inspector_protocol/jinja2/lexer.py:260–265  ·  view source on GitHub ↗

Test against multiple token expressions.

(self, *iterable)

Source from the content-addressed store, hash-verified

258 return False
259
260 def test_any(self, *iterable):
261 """Test against multiple token expressions."""
262 for expr in iterable:
263 if self.test(expr):
264 return True
265 return False
266
267 def __repr__(self):
268 return 'Token(%r, %r, %r)' % (

Callers 4

is_tuple_endMethod · 0.45
parse_import_contextMethod · 0.45
parse_testMethod · 0.45
subparseMethod · 0.45

Calls 1

testMethod · 0.95

Tested by

no test coverage detected