MCPcopy Index your code
hub / github.com/nodejs/node / _extract

Method _extract

tools/inspector_protocol/jinja2/ext.py:212–215  ·  view source on GitHub ↗
(self, source, gettext_functions=GETTEXT_FUNCTIONS)

Source from the content-addressed store, hash-verified

210 self.environment.globals.pop(key, None)
211
212 def _extract(self, source, gettext_functions=GETTEXT_FUNCTIONS):
213 if isinstance(source, string_types):
214 source = self.environment.parse(source)
215 return extract_from_ast(source, gettext_functions)
216
217 def parse(self, parser):
218 """Parse a translatable tag."""

Callers

nothing calls this directly

Calls 2

extract_from_astFunction · 0.70
parseMethod · 0.65

Tested by

no test coverage detected