Searched refs:parent_constraints_ (Results 1 – 6 of 6) sorted by relevance
100 auto constraint = packet->parent_constraints_.find("op_code"); in generate_rust_source_one_file()101 if (constraint == packet->parent_constraints_.end()) { in generate_rust_source_one_file()112 auto other_constraint = other_packet->parent_constraints_.find("command_op_code"); in generate_rust_source_one_file()113 if (other_constraint == other_packet->parent_constraints_.end()) { in generate_rust_source_one_file()
55 parent_constraints_.insert(std::pair(field_name, value)); in AddParentConstraint()254 if (parent_constraints_.find(field->GetName()) == parent_constraints_.end()) { in GetParamList()496 if (parent_ != nullptr && parent_constraints_.size() > 0) { in GenInstanceOf()506 const auto& constraint = parent_constraints_.find(field->GetName()); in GenInstanceOf()507 if (constraint != parent_constraints_.end()) { in GenInstanceOf()545 res.insert(parent_constraints_.begin(), parent_constraints_.end()); in GetAllConstraints()547 res.insert(parent->parent_constraints_.begin(), parent->parent_constraints_.end()); in GetAllConstraints()566 if (!child->parent_constraints_.empty()) { in FindConstraintField()567 return child->parent_constraints_.begin()->first; in FindConstraintField()580 auto constraint = child->parent_constraints_.find(constraint_name); in FindDescendantsWithConstraint()[all …]
215 auto op_constraint = packet->parent_constraints_.find("op_code"); in generate_cpp_headers_one_file()216 if (op_constraint == packet->parent_constraints_.end()) { in generate_cpp_headers_one_file()217 auto constraint = packet->parent_constraints_.find("command_op_code"); in generate_cpp_headers_one_file()218 if (constraint == packet->parent_constraints_.end()) { in generate_cpp_headers_one_file()
90 std::map<std::string, std::variant<int64_t, std::string>> parent_constraints_; variable
292 if (parent_constraints_.size() > 0 && parent_ == nullptr) { in GenValidator()296 for (const auto& constraint : parent_constraints_) { in GenValidator()687 if (params.size() > 0 || parent_constraints_.size() > 0) { in GenBuilderConstructor()707 const auto& constraint = parent_constraints_.find(field->GetName()); in GenBuilderConstructor()708 if (constraint != parent_constraints_.end()) { in GenBuilderConstructor()908 if (parent_constraints_.empty() && children_.size() > 1 && parent_ != nullptr) { in GenRustStructImpls()966 if (desc_path[0]->parent_constraints_.empty()) { in GenRustStructImpls()
271 const auto& constraint = parent_constraints_.find(field->GetName()); in GenConstructor()272 if (constraint != parent_constraints_.end()) { in GenConstructor()