Push a new validation scope for a real component.
| 91 | |
| 92 | /// Push a new validation scope for a real component. |
| 93 | void enterComponent(const AST::Component::Component *C) noexcept { |
| 94 | const Context *Parent = CompCtxs.empty() ? nullptr : &CompCtxs.back(); |
| 95 | CompCtxs.emplace_back(C, Parent); |
| 96 | } |
| 97 | |
| 98 | /// Push a new validation scope for a type definition |
| 99 | /// (componenttype, instancetype, or moduletype). |
no test coverage detected