Also note: once you find the SymbolRef, you have to walk backwards through the tree to find the rest (basically looking to see if the parent is an AST_Dot or AST_Sub node) to find the rest of the references.