Yume
Public Member Functions | Static Public Attributes | List of all members
yume::ty::Nil Class Referencefinal

The null type, Nil. More...

#include <type.hpp>

Inheritance diagram for yume::ty::Nil:
Inheritance graph
[legend]
Collaboration diagram for yume::ty::Nil:
Collaboration graph
[legend]

Public Member Functions

 Nil ()
 
auto name () const -> string override
 
- Public Member Functions inherited from yume::ty::BaseType
 BaseType (const BaseType &) noexcept=delete
 
 BaseType (BaseType &&) noexcept=delete
 
auto operator= (const BaseType &) noexcept -> BaseType &=delete
 
auto operator= (BaseType &&) noexcept -> BaseType &=delete
 
virtual ~BaseType ()=default
 
auto kind () const -> Kind
 
auto base_name () const -> string
 
virtual auto name () const -> string=0
 

Static Public Attributes

static constexpr const auto nil_name = "Nil"
 

Additional Inherited Members

- Protected Member Functions inherited from yume::ty::BaseType
 BaseType (Kind kind, string name)
 

Detailed Description

The null type, Nil.

Definition at line 49 of file type.hpp.

Constructor & Destructor Documentation

◆ Nil()

yume::ty::Nil::Nil ( )
inline

Definition at line 53 of file type.hpp.

Member Function Documentation

◆ name()

auto yume::ty::Nil::name ( ) const -> string
inlineoverridevirtual

Implements yume::ty::BaseType.

Definition at line 54 of file type.hpp.

References nil_name.

Member Data Documentation

◆ nil_name

constexpr const auto yume::ty::Nil::nil_name = "Nil"
staticconstexpr

Definition at line 51 of file type.hpp.

Referenced by name().


The documentation for this class was generated from the following file: