

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

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