generateMapped method

DOMTreeMap<T> generateMapped(
  1. DOMElement root, {
  2. T? parent,
  3. DOMContext<T>? context,
})

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;
}