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

Method _parse_string_1

pattern/web/pdf/psparser.py:417–429  ·  view source on GitHub ↗
(self, s, i)

Source from the content-addressed store, hash-verified

415 return j+1
416
417 def _parse_string_1(self, s, i):
418 c = s[i]
419 if OCT_STRING.match(c) and len(self.oct) < 3:
420 self.oct += c
421 return i+1
422 if self.oct:
423 self._curtoken += chr(int(self.oct, 8))
424 self._parse1 = self._parse_string
425 return i
426 if c in ESC_STRING:
427 self._curtoken += chr(ESC_STRING[c])
428 self._parse1 = self._parse_string
429 return i+1
430
431 def _parse_wopen(self, s, i):
432 c = s[i]

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
matchMethod · 0.45

Tested by

no test coverage detected