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

Method _parse

tools/inspector_protocol/jinja2/environment.py:495–497  ·  view source on GitHub ↗

Internal parsing function used by `parse` and `compile`.

(self, source, name, filename)

Source from the content-addressed store, hash-verified

493 self.handle_exception(exc_info, source_hint=source)
494
495 def _parse(self, source, name, filename):
496 """Internal parsing function used by `parse` and `compile`."""
497 return Parser(self, source, name, encode_filename(filename)).parse()
498
499 def lex(self, source, name=None, filename=None):
500 """Lex the given sourcecode and return a generator that yields

Callers 2

parseMethod · 0.95
compileMethod · 0.95

Calls 3

ParserClass · 0.90
encode_filenameFunction · 0.90
parseMethod · 0.65

Tested by

no test coverage detected