allVarNames - find all variable/field declarations in a block/class