__init__.py |
|
242 |
_ast_util.py |
ast
~~~
This is a stripped down version of Armin Ronacher's ast module.
:copyright: Copyright 2008 by Armin Ronacher.
:license: Python License.
|
20414 |
ast.py |
utilities for analyzing expressions and blocks of Python
code, as well as generating Python from AST nodes |
6789 |
cache.py |
Represents a data content cache made available to the module
space of a specific :class:`.Template` object.
.. versionadded:: 0.6
:class:`.Cache` by itself is mostly a
container for a :class:`.CacheImpl` object, which implements
a fixed API to provide caching services; specific subclasses exist to
implement different
caching strategies. Mako includes a backend that works with
the Beaker caching system. Beaker itself then supports
a number of backends (i.e. file, memory, memcached, etc.)
The construction of a :class:`.Cache` is part of the mechanics
of a :class:`.Template`, and programmatic access to this
cache is typically via the :attr:`.Template.cache` attribute.
|
7736 |
cmd.py |
|
2859 |
codegen.py |
provides functionality for rendering a parsetree constructing into module
source code. |
47892 |
compat.py |
getargspec based on fully vendored getfullargspec from Python 3.3. |
3848 |
exceptions.py |
exception classes |
13110 |
ext |
|
|
filters.py |
legacy HTML escape for non-unicode mode. |
6063 |
lexer.py |
provides the Lexer class for parsing template strings into parse trees. |
16926 |
lookup.py |
<html><body>${self.next()}</body></html>
|
12718 |
parsetree.py |
defines the parse tree components for Mako templates. |
19411 |
pygen.py |
utilities for generating and formatting literal Python code. |
10073 |
pyparser.py |
Handles parsing of Python code.
Parsing to AST is done via _ast on Python > 2.5, otherwise the compiler
module is used.
|
7789 |
runtime.py |
provides runtime services for templates, including Context,
Namespace, and various helper functions. |
28040 |
template.py |
Provides the Template class, a facade for parsing, generating and executing
template strings, as well as template runtime operations. |
26558 |
util.py |
create and/or verify a filesystem directory. |
11038 |