|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Outcome of one type-unification attempt. More...
#include <tpl_constraints.H>
Public Member Functions | |
| bool | ok () const noexcept |
| Returns whether the result denotes a successful unification. | |
Public Attributes | |
| Compiler_Unify_Result_Kind | kind = Compiler_Unify_Result_Kind::Success |
| Compiler_Type_Id | lhs = 0 |
| Left type involved in the result. | |
| Compiler_Type_Id | rhs = 0 |
| Right type involved in the result. | |
| Source_Span | span |
| Constraint span, if solving a stored constraint. | |
| std::string | message |
| Human-readable explanation. | |
Outcome of one type-unification attempt.
Definition at line 174 of file tpl_constraints.H.
|
inlinenoexcept |
Returns whether the result denotes a successful unification.
Definition at line 183 of file tpl_constraints.H.
References kind, and Aleph::Success.
| Compiler_Unify_Result_Kind Aleph::Compiler_Unify_Result::kind = Compiler_Unify_Result_Kind::Success |
Definition at line 176 of file tpl_constraints.H.
Referenced by ok().
| Compiler_Type_Id Aleph::Compiler_Unify_Result::lhs = 0 |
Left type involved in the result.
Definition at line 177 of file tpl_constraints.H.
| std::string Aleph::Compiler_Unify_Result::message |
Human-readable explanation.
Definition at line 180 of file tpl_constraints.H.
| Compiler_Type_Id Aleph::Compiler_Unify_Result::rhs = 0 |
Right type involved in the result.
Definition at line 178 of file tpl_constraints.H.
| Source_Span Aleph::Compiler_Unify_Result::span |
Constraint span, if solving a stored constraint.
Definition at line 179 of file tpl_constraints.H.