{"ast_node_type":"variable","tokens":[{"end":43,"kind":"keyword","start":0,"text":"while"}]}
    while let Some(token) = tokens.next() {
    let mut tokens = tokenize(pattern_str)?.into_iter();
        if token.kind == T![$] {