Find and return indexes of variable declarations.