class Steep::Source

def each_annotation

def each_annotation
  if block_given?
    mapping.each_key do |id|
      node = ObjectSpace._id2ref(id)
      yield node, mapping[id]
    end
  else
    enum_for :each_annotation
  end
end