Lines Matching refs:parse_statements
149 def parse_statements(self, end_tokens, drop_needle=False): member in Parser
184 body = self.parse_statements(('name:endset',),
199 body = self.parse_statements(('name:endfor', 'name:else'))
203 else_ = self.parse_statements(('name:endfor',), drop_needle=True)
212 node.body = self.parse_statements(('name:elif', 'name:else',
222 result.else_ = self.parse_statements(('name:endif',),
242 node.body = self.parse_statements(('name:endwith',),
251 node.body = self.parse_statements(('name:endautoescape',),
268 node.body = self.parse_statements(('name:endblock',), drop_needle=True)
369 node.body = self.parse_statements(('name:endcall',), drop_needle=True)
375 node.body = self.parse_statements(('name:endfilter',),
383 node.body = self.parse_statements(('name:endmacro',),