ancestors property
Iterable<XmlEvent>
ancestors
Returns all the parents for this event.
Implementation
Iterable<XmlEvent> get ancestors sync* {
var probe = parentEvent;
for (;;) {
if (probe == null) break;
{
yield probe;
probe = probe.parentEvent;
}
}
}