Query: Convert nodes to AST.