Lines Matching refs:template
6 Implements the template parser.
65 message = ['Unexpected end of template.']
92 """Like fail_unknown_tag but for end of template situations."""
144 parses template data if appropriate. The parser checks first if the
159 # we reached the end of the template too early, the subparser
235 node.template = self.parse_expression()
249 node.template = self.parse_expression()
260 node.template = self.parse_expression()
267 node.template = self.parse_expression()
892 """Parse the whole template into a `Template` node."""
893 result = nodes.Template(self.subparse(), lineno=1)