| 200 | return *std::get_if<ImportDecl>(&Decl); |
| 201 | } |
| 202 | void setImport(ImportDecl &&Imp) noexcept { |
| 203 | Decl.emplace<ImportDecl>(std::move(Imp)); |
| 204 | } |
| 205 | |
| 206 | const InstanceDecl &getInstance() const noexcept { |
| 207 | return *std::get_if<InstanceDecl>(&Decl); |