parseToSnapshot
Parse html and take its snapshot; the parse errors go in errors (it works at compile time too). Unlike parseToSnapshot, it collects the errors.
Parse html and take its snapshot (for compile time: static immutable s = parseToSnapshot(html);)