type check expressions: type_check_name_expression and type_check_constructor parts

This commit is contained in:
ProgramSnail 2024-02-20 23:25:51 +03:00
parent ed4b984b81
commit a5fc0c7ee7
4 changed files with 149 additions and 22 deletions

View file

@ -219,6 +219,13 @@ public:
return std::nullopt;
}
std::optional<TypeProxy> get_type_proxy() const {
if (type_.has_value()) {
return type_.value();
}
return std::nullopt;
}
//
Modifier get_before_modifier() const { return before_modifier_; }