elementInScope is like popUntil, except that it doesn't modify the stack of open elements.
(s scope, matchTags ...string)
source not stored for this graph (policy: none)
no test coverage detected