Searched refs:parse_statements (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/third_party/jinja2/ |
D | parser.py | 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) [all …]
|