MCPcopy Create free account
hub / github.com/ablab/spades / get_token

Method get_token

ext/src/python_libs/pyyaml3/scanner.py:132–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 return self.tokens[0]
131
132 def get_token(self):
133 # Return the next token.
134 while self.need_more_tokens():
135 self.fetch_more_tokens()
136 if self.tokens:
137 self.tokens_taken += 1
138 return self.tokens.pop(0)
139
140 # Private methods.
141

Callers 15

scanFunction · 0.80
parse_stream_startMethod · 0.80
parse_document_startMethod · 0.80
parse_document_endMethod · 0.80
process_directivesMethod · 0.80
parse_nodeMethod · 0.80

Calls 3

need_more_tokensMethod · 0.95
fetch_more_tokensMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected