Searched refs:KeywordArg (Results 1 – 9 of 9) sorted by relevance
247 std::size_t KeywordArg::hash() const { in hash()252 bool KeywordArg::operator==(const Value &other) const { in operator ==()253 if (other.isa<KeywordArg>()) { in operator ==()254 auto other_ = static_cast<const KeywordArg &>(other); in operator ==()261 bool KeywordArg::operator==(const KeywordArg &other) const { return (other.key_ == key_ && *other.v… in operator ==()263 std::string KeywordArg::ToString() const { in ToString()
138 class MS_CORE_API KeywordArg : public Value {140 KeywordArg(const std::string &key, const ValuePtr &value) : key_(key), value_(value) {}141 ~KeywordArg() override = default;142 MS_DECLARE_PARENT(KeywordArg, Value)146 bool operator==(const KeywordArg &other) const;157 using KeywordArgPtr = std::shared_ptr<KeywordArg>;
72 abstract::AbstractBasePtr KeywordArg::ToAbstract() { in ToAbstract()
82 ABSTRACT_REPORT_NAME_TRAITS(KeywordArg) in ABSTRACT_REPORT_NAME_TRAITS()
39 ABSTRACT_REPORT_NAME_DEC(KeywordArg) in ABSTRACT_REPORT_NAME_DEC()
1208 return std::make_shared<KeywordArg>(arg_name_, value); in RealBuildValue()
15 def KeywordArg(keyword, value): function
378 } else if (value->isa<KeywordArg>()) { in GetValueText()
186 {typeid(KeywordArg).name(),