astNodeToSubNodes now returns [node,depth] pairs, allowing us not only to see which nodes are contained in the subtree but also how they are nested.