MCPcopy Index your code
hub / github.com/RustPython/RustPython / _print_tokens

Function _print_tokens

Lib/shlex.py:341–343  ·  view source on GitHub ↗
(lexer)

Source from the content-addressed store, hash-verified

339
340
341def _print_tokens(lexer):
342 while tt := lexer.get_token():
343 print("Token: " + repr(tt))
344
345if __name__ == '__main__':
346 if len(sys.argv) == 1:

Callers 1

shlex.pyFile · 0.85

Calls 3

reprFunction · 0.85
printFunction · 0.50
get_tokenMethod · 0.45

Tested by

no test coverage detected