inside function

Matcher<XmlEvent> inside(
  1. XmlStartElementEvent tag
)

True if the current event is the between the specified start tag and its end tag, inclusive.

tag The start of the parent tag.

Implementation

Matcher inside(XmlStartElementEvent tag) => ((e) => (identical(e, tag) ||
    (e is XmlEndElementEvent && identical(tag, e.parentEvent)) ||
    e.descendsFrom(tag)));