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

Method parse_macro

deps/v8/third_party/jinja2/parser.py:439–444  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

437 return node
438
439 def parse_macro(self) -> nodes.Macro:
440 node = nodes.Macro(lineno=next(self.stream).lineno)
441 node.name = self.parse_assign_target(name_only=True).name
442 self.parse_signature(node)
443 node.body = self.parse_statements(("name:endmacro",), drop_needle=True)
444 return node
445
446 def parse_print(self) -> nodes.Output:
447 node = nodes.Output(lineno=next(self.stream).lineno)

Callers

nothing calls this directly

Calls 4

parse_assign_targetMethod · 0.95
parse_signatureMethod · 0.95
parse_statementsMethod · 0.95
nextFunction · 0.50

Tested by

no test coverage detected