Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: mojo/public/third_party/jinja2/parser.py

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/third_party/jinja2/optimizer.py ('k') | mojo/public/third_party/jinja2/runtime.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 """ 2 """
3 jinja2.parser 3 jinja2.parser
4 ~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~
5 5
6 Implements the template parser. 6 Implements the template parser.
7 7
8 :copyright: (c) 2010 by the Jinja Team. 8 :copyright: (c) 2010 by the Jinja Team.
9 :license: BSD, see LICENSE for more details. 9 :license: BSD, see LICENSE for more details.
10 """ 10 """
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 if end_tokens is not None: 886 if end_tokens is not None:
887 self._end_token_stack.pop() 887 self._end_token_stack.pop()
888 888
889 return body 889 return body
890 890
891 def parse(self): 891 def parse(self):
892 """Parse the whole template into a `Template` node.""" 892 """Parse the whole template into a `Template` node."""
893 result = nodes.Template(self.subparse(), lineno=1) 893 result = nodes.Template(self.subparse(), lineno=1)
894 result.set_environment(self.environment) 894 result.set_environment(self.environment)
895 return result 895 return result
OLDNEW
« no previous file with comments | « mojo/public/third_party/jinja2/optimizer.py ('k') | mojo/public/third_party/jinja2/runtime.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698