Get occurrences for return keywords.

how do you know it's safe to cast this to a FunctionDeclaration?  What if it's something else (like an accessor)?