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

Method push

tools/inspector_protocol/jinja2/lexer.py:321–323  ·  view source on GitHub ↗

Push a token back to the stream.

(self, token)

Source from the content-addressed store, hash-verified

319 eos = property(lambda x: not x, doc="Are we at the end of the stream?")
320
321 def push(self, token):
322 """Push a token back to the stream."""
323 self._pushed.append(token)
324
325 def look(self):
326 """Look at the next token."""

Callers 15

lookMethod · 0.95
runShellCommandFunction · 0.45
getTscFromReadmeFunction · 0.45
moveVotingToRegularFunction · 0.45
lint-sh.mjsFile · 0.45
parseLineMethod · 0.45
parseArgsFunction · 0.45
checkRegExpStartFunction · 0.45
checkLiteralFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by 15

testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
recordFunction · 0.36
recordFunction · 0.36