MCPcopy Create free account
hub / github.com/ampproject/amphtml / InternedStrings

Method InternedStrings

validator/validator_gen_js.py:148–154  ·  view source on GitHub ↗

The interned strings which will be emitted into validator-generated.js. Returns: A list of strings.

(self)

Source from the content-addressed store, hash-verified

146 return string_id
147
148 def InternedStrings(self):
149 """The interned strings which will be emitted into validator-generated.js.
150
151 Returns:
152 A list of strings.
153 """
154 return self.interned_strings_
155
156 def MessageIdForKey(self, message_key):
157 """Yields the message id for a key, registering a new one if needed.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected