MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / _peek

Method _peek

scripts/source/expression_parsing.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 self.root = self._parse_expression()
69
70 def _peek(self):
71 return self.tokens[self.index] if self.index < len(self.tokens) else None
72
73 def _consume(self):
74 tok = self._peek()

Callers 3

_consumeMethod · 0.95
_parse_expressionMethod · 0.95
_parse_primaryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected