OASIS
Open Algebra Software
Loading...
Searching...
No Matches
Undefined.hpp
Go to the documentation of this file.
1//
2// Created by Blake Kessler on 10/13/23.
3//
4
5#ifndef OASIS_UNDEFINED_HPP
6#define OASIS_UNDEFINED_HPP
7
8#include "LeafExpression.hpp"
9
10namespace Oasis {
11
15class Undefined : public LeafExpression<Undefined> {
16public:
17 Undefined() = default;
18 Undefined(const Undefined& other) = default;
19
20 [[nodiscard]] auto Equals(const Expression&) const -> bool final { return false; }
21
24
25 auto operator=(const Undefined& other) -> Undefined& = default;
26};
27
28} // Oasis
29
30#endif // OASIS_UNDEFINED_HPP
#define EXPRESSION_CATEGORY(category)
Definition Expression.hpp:192
#define EXPRESSION_TYPE(type)
Definition Expression.hpp:181
An expression.
Definition Expression.hpp:56
A leaf expression.
Definition LeafExpression.hpp:21
An undefined expression.
Definition Undefined.hpp:15
Undefined()=default
Undefined(const Undefined &other)=default
auto Equals(const Expression &) const -> bool final
Compares this expression to another expression for equality.
Definition Undefined.hpp:20
Definition Add.hpp:11
@ UnExp
Definition Expression.hpp:46
@ None
Definition Expression.hpp:42