MCPcopy Create free account
hub / github.com/clips/pattern / do_keyword

Method do_keyword

pattern/web/pdf/pdffont.py:106–112  ·  view source on GitHub ↗
(self, pos, token)

Source from the content-addressed store, hash-verified

104 return self._cid2unicode
105
106 def do_keyword(self, pos, token):
107 if token is self.KEYWORD_PUT:
108 ((_,key),(_,value)) = self.pop(2)
109 if (isinstance(key, int) and
110 isinstance(value, PSLiteral)):
111 self.add_results((key, literal_name(value)))
112 return
113
114
115## CFFFont

Callers

nothing calls this directly

Calls 3

literal_nameFunction · 0.90
add_resultsMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected