MCPcopy Index your code
hub / github.com/nodejs/node / close

Method close

tools/inspector_protocol/jinja2/lexer.py:364–368  ·  view source on GitHub ↗

Close the stream.

(self)

Source from the content-addressed store, hash-verified

362 return rv
363
364 def close(self):
365 """Close the stream."""
366 self.current = Token(self.current.lineno, TOKEN_EOF, '')
367 self._iter = None
368 self.closed = True
369
370 def expect(self, expr):
371 """Expect a given token type and return it. This accepts the same

Callers 1

__next__Method · 0.95

Calls 1

TokenClass · 0.70

Tested by

no test coverage detected