MCPcopy Index your code
hub / github.com/pyload/pyload / parse_set

Method parse_set

module/lib/jinja2/parser.py:168–174  ·  view source on GitHub ↗

Parse an assign statement.

(self)

Source from the content-addressed store, hash-verified

166 return result
167
168 def parse_set(self):
169 """Parse an assign statement."""
170 lineno = next(self.stream).lineno
171 target = self.parse_assign_target()
172 self.stream.expect('assign')
173 expr = self.parse_tuple()
174 return nodes.Assign(target, expr, lineno=lineno)
175
176 def parse_for(self):
177 """Parse a for loop."""

Callers

nothing calls this directly

Calls 4

parse_assign_targetMethod · 0.95
parse_tupleMethod · 0.95
nextFunction · 0.90
expectMethod · 0.80

Tested by

no test coverage detected