Line data Source code
1 : #include "../../../inc/visitors/monomorphize/monomorphize.h"
2 : #include "../../../inc/parsingAnalysis/ast/enum/ast_enum.h"
3 : #include "../../../inc/parsingAnalysis/ast/enum/ast_enumAccess.h"
4 : #include <variant>
5 :
6 : namespace nicole {
7 :
8 : std::expected<std::monostate, Error>
9 0 : Monomorphize::visit(const AST_ENUM *node) const noexcept {
10 0 : if (!node) {
11 0 : return createError(ERROR_TYPE::NULL_NODE, "invalid AST_ENUM");
12 0 : }
13 0 : return {};
14 0 : }
15 :
16 : std::expected<std::monostate, Error>
17 0 : Monomorphize::visit(const AST_ENUM_ACCESS *node) const noexcept {
18 0 : if (!node) {
19 0 : return createError(ERROR_TYPE::NULL_NODE, "invalid AST_ENUM_ACCESS");
20 0 : }
21 0 : return {};
22 0 : }
23 :
24 : }
|