MCPcopy Index your code
hub / github.com/clips/pattern / nexttoken

Method nexttoken

pattern/web/pdf/psparser.py:462–469  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

460 return j
461
462 def nexttoken(self):
463 while not self._tokens:
464 self.fillbuf()
465 self.charpos = self._parse1(self.buf, self.charpos)
466 token = self._tokens.pop(0)
467 if 2 <= self.debug:
468 print >>sys.stderr, 'nexttoken: %r' % (token,)
469 return token
470
471
472## PSStackParser

Callers 6

load_trailerMethod · 0.80
loadMethod · 0.80
getobjMethod · 0.80
read_xref_fromMethod · 0.80
nextobjectMethod · 0.80
get_tokensMethod · 0.80

Calls 2

fillbufMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected