{"ast_node_type":"other","tokens":[{"end":43,"kind":"keyword","start":0,"text":"while"}]}
                while buf.ends_with('\n') {
                // remove trailing newlines
                    buf.pop();