Currently most of the extraction functions just take a Cursor, which leads to confusion over what part of the AST it should be starting from. I’ve started typing them with eg CurTypedef - we need to fill out the rest.