Searched refs:AbstractNull (Results 1 – 3 of 3) sorted by relevance
32 abstract::AbstractBasePtr Null::ToAbstract() { return std::make_shared<abstract::AbstractNull>(); } in ToAbstract()
576 class MS_CORE_API AbstractNull : public AbstractBase {578 AbstractNull() : AbstractBase(kNull) { set_type(std::make_shared<TypeNull>()); } in AbstractNull() function579 ~AbstractNull() override = default;580 MS_DECLARE_PARENT(AbstractNull, AbstractBase) in MS_DECLARE_PARENT() argument583 bool operator==(const AbstractNull &other) const;585 AbstractBasePtr Clone() const override { return std::make_shared<AbstractNull>(); } in Clone()588 using AbstractNullPtr = std::shared_ptr<AbstractNull>;
1088 bool AbstractNull::operator==(const AbstractNull &) const { return true; } in operator ==()1090 bool AbstractNull::operator==(const AbstractBase &other) const { in operator ==()1094 if (other.isa<AbstractNull>()) { in operator ==()1095 auto other_none = static_cast<const AbstractNull *>(&other); in operator ==()1102 std::string AbstractNull::ToString() const { in ToString()