Lines Matching refs:parse_statements
160 def parse_statements(self, end_tokens, drop_needle=False): member in Parser
195 body = self.parse_statements(("name:endset",), drop_needle=True)
210 body = self.parse_statements(("name:endfor", "name:else"))
214 else_ = self.parse_statements(("name:endfor",), drop_needle=True)
222 node.body = self.parse_statements(("name:elif", "name:else", "name:endif"))
231 result.else_ = self.parse_statements(("name:endif",), drop_needle=True)
249 node.body = self.parse_statements(("name:endwith",), drop_needle=True)
255 node.body = self.parse_statements(("name:endautoescape",), drop_needle=True)
273 node.body = self.parse_statements(("name:endblock",), drop_needle=True)
380 node.body = self.parse_statements(("name:endcall",), drop_needle=True)
386 node.body = self.parse_statements(("name:endfilter",), drop_needle=True)
393 node.body = self.parse_statements(("name:endmacro",), drop_needle=True)