| 310 | } |
| 311 | |
| 312 | const AST::Component::InstanceType * |
| 313 | getInstanceType(uint32_t Idx) const noexcept { |
| 314 | const auto &Ctx = getCurrentContext(); |
| 315 | auto It = Ctx.InstanceTypes.find(Idx); |
| 316 | return It != Ctx.InstanceTypes.end() ? It->second : nullptr; |
| 317 | } |
| 318 | |
| 319 | const AST::Component::ResourceType * |
| 320 | getResourceType(uint32_t Idx) const noexcept { |
no test coverage detected