bool like(IndexElementDefinition other) { return type == other.type && definition == other.definition; }