// ensureTypeID ensures that the types map contains an entry
// for the given type.
ensureTypeID ensures that the types map contains an entry
for the given type.
// ensureTypeID ensures that the types map contains an entry // for the given type .
func (v *visitation) ensureTypeID(i visitableType) TypeID {
	ret := v.typeID(i)
	if _, found := v.Types[ret]; !found {
		v.Types[ret] = i
	}
	return ret
}
func ( v * visitation ) ensureTypeID ( i visitableType ) TypeID { ret := v . typeID ( i ) if _ , found := v . Types [ ret ] ; ! found { v . Types [ ret ] = i } return ret }
ensureTypeID ensures that the types map contains an entry
for the given type.
ensureTypeID ensures that the types map contains an entry for the given type .