|
Yume
|
#include <substitution.hpp>

Public Member Functions | |
| GenericValue ()=default | |
| GenericValue (ty::Type type) | |
| GenericValue (nonnull< ast::Expr * > expr) | |
| auto | unassigned () const -> bool |
| auto | holds_type () const -> bool |
| auto | holds_expr () const -> bool |
| auto | as_type () const &-> const ty::Type & |
| auto | as_expr () const &-> const ast::Expr * |
| auto | unsubstituted_primary () const -> bool |
| auto | unassigned_or_unsubstituted () const -> bool |
| auto | name () const -> string |
| auto | operator== (const GenericValue &other) const noexcept -> bool |
Public Attributes | |
| optional< ty::Type > | type {} |
| nullable< ast::Expr * > | expr {} |
Definition at line 32 of file substitution.hpp.
|
default |
|
inline |
Definition at line 37 of file substitution.hpp.
Definition at line 38 of file substitution.hpp.
|
inline |
Definition at line 48 of file substitution.hpp.
References expr.
|
inline |
Definition at line 44 of file substitution.hpp.
References type, and YUME_ASSERT.
|
inline |
Definition at line 42 of file substitution.hpp.
References expr.
|
inline |
Definition at line 41 of file substitution.hpp.
References type.
|
inline |
Definition at line 54 of file substitution.hpp.
References expr, type, and unassigned().
|
inlinenoexcept |
Definition at line 62 of file substitution.hpp.
|
inline |
Definition at line 40 of file substitution.hpp.
Referenced by name(), and unassigned_or_unsubstituted().
|
inline |
Definition at line 52 of file substitution.hpp.
References unassigned(), and unsubstituted_primary().
Referenced by yume::Substitutions::fully_substituted().
|
inline |
Definition at line 50 of file substitution.hpp.
References type.
Referenced by unassigned_or_unsubstituted().
Definition at line 34 of file substitution.hpp.
Referenced by as_expr(), holds_expr(), name(), operator==(), and unassigned().
| optional<ty::Type> yume::GenericValue::type {} |
Definition at line 33 of file substitution.hpp.
Referenced by as_type(), holds_type(), name(), operator==(), unassigned(), and unsubstituted_primary().