Like addType but marks the resource as imported rather than locally defined. Used for resource type imports and outer-alias resources.
| 285 | /// Like addType but marks the resource as imported rather than locally |
| 286 | /// defined. Used for resource type imports and outer-alias resources. |
| 287 | uint32_t addTypeImported(const AST::Component::DefType *DT) noexcept { |
| 288 | return addTypeImpl(DT, /*IsLocal=*/false); |
| 289 | } |
| 290 | |
| 291 | const AST::Component::DefType *getDefType(uint32_t Idx) const noexcept { |
| 292 | const auto &Ctx = getCurrentContext(); |