Document.snapshot

Snapshot snapshot() @property

A compact copy of the tree: Document(snapshot) rebuilds a document from it without parsing, many times faster. Parse a template once, then make many documents from it. (ctDocument does the same at compile time.)