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

Method parse_autoescape

tools/inspector_protocol/jinja2/parser.py:246–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 return node
245
246 def parse_autoescape(self):
247 node = nodes.ScopedEvalContextModifier(lineno=next(self.stream).lineno)
248 node.options = [
249 nodes.Keyword('autoescape', self.parse_expression())
250 ]
251 node.body = self.parse_statements(('name:endautoescape',),
252 drop_needle=True)
253 return nodes.Scope([node])
254
255 def parse_block(self):
256 node = nodes.Block(lineno=next(self.stream).lineno)

Callers

nothing calls this directly

Calls 4

parse_expressionMethod · 0.95
parse_statementsMethod · 0.95
ScopeMethod · 0.80
nextFunction · 0.50

Tested by

no test coverage detected