This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self = <jinja2.lexer.Lexer object at 0x7f1099f56128> | |
source = '<!doctype html>\n<html class="no-js" lang="en">\n <head>\n <meta charset="utf-8" />\n <meta name="vi...on.min.js"></script>\n <script>\n $(document).foundation();\n </script>\n </body>\n</html>' | |
name = 'layout.html' | |
filename = '/home/travis/build/Leo-g/Flask-Scaffold/app/templates/layout.html' | |
state = 'root' | |
def tokeniter(self, source, name, filename=None, state=None): | |
"""This method tokenizes the text and returns the tokens in a | |
generator. Use this method if you just want to tokenize a template. | |
""" | |
source = text_type(source) |