| 266 | } |
| 267 | |
| 268 | void addInstanceExport( |
| 269 | uint32_t InstIdx, std::string_view Name, |
| 270 | AST::Component::Sort::SortType ST, |
| 271 | const AST::Component::InstanceType *IT = nullptr, |
| 272 | std::optional<uint32_t> NestedInstIdx = std::nullopt) noexcept { |
| 273 | getCurrentContext().Instances.at(InstIdx)[std::string(Name)] = { |
| 274 | ST, IT, NestedInstIdx}; |
| 275 | } |
| 276 | |
| 277 | // ========================================================================== |
| 278 | // type |
no outgoing calls
no test coverage detected