pystache.parsed module
Exposes a class that represents a parsed (or compiled) template.
- class pystache.parsed.ParsedTemplate[source]
Bases:
object
Represents a parsed or compiled template.
An instance wraps a list of unicode strings and node objects. A node object must have a render(engine, stack) method that accepts a RenderEngine instance and a ContextStack instance and returns a unicode string.