

def pushstate_root_callback(lexer, match, ctx):
    (yield (match.start(), Punctuation, match.group(1)))
    cur_state = ctx.stack.pop()
    lexer.xquery_parse_state.append(cur_state)
    ctx.stack = ['root']
    ctx.pos = cur_state.end()

dataset/ETHPy150Open adieu/allbuttonspressed/pygments/lexers/web.py XQueryLexer.pushstate_root_callback/VarMisuse@65/79 `match`->`cur_state`