generateMapped method
Same as generate, but returns a DOMTreeMap, that contains all mapping table fo generated elements.
Implementation
DOMTreeMap<T> generateMapped(DOMElement root,
{T? parent, DOMContext<T>? context}) {
var treeMap = createDOMTreeMap();
treeMap.generate(this, root, parent: parent, context: context);
return treeMap;
}