

def popstate_tag_callback(lexer, match, ctx):
    (yield (match.start(), Name.Tag, match.group(1)))
    ctx.stack.append(lexer.xquery_parse_state.pop())
    ctx.pos = match.end()

dataset/ETHPy150Open adieu/allbuttonspressed/pygments/lexers/web.py XQueryLexer.popstate_tag_callback/original