chomik 0.2.1
experimental and minimalistic programming language

My name is Pawel Biernacki.
I am a software engineer.
This site is my hobby project.

Loading...
Searching...
No Matches
chomik::generic_type Class Referenceabstract

#include <chomik.h>

Inheritance diagram for chomik::generic_type:

Public Member Functions

virtual ~generic_type ()
 
virtual void report (std::ostream &s) const =0
 
virtual bool get_is_finite () const =0
 
virtual variable_with_value::actual_memory_representation_type get_actual_memory_representation_type (const machine &m) const =0
 
virtual void add_placeholders_to_generator (basic_generator &g) const =0
 
virtual std::string get_type_name (const machine &m, const basic_generator &g) const =0
 
virtual std::string get_generic_type_name () const =0
 
virtual std::string get_low_level_type_name () const =0
 
virtual void get_copy (std::shared_ptr< generic_type > &target) const =0
 
virtual void get_copy (std::unique_ptr< generic_type > &target) const =0
 
virtual bool get_is_equal (const generic_type &t) const =0
 
virtual bool get_is_an_ad_hoc_type () const =0
 
virtual void update_boundaries (machine &m, int &f, int &l, basic_generator &g) const
 

Detailed Description

This class is a base class of all classes representing the types.

Constructor & Destructor Documentation

◆ ~generic_type()

virtual chomik::generic_type::~generic_type ( )
inlinevirtual

Member Function Documentation

◆ add_placeholders_to_generator()

virtual void chomik::generic_type::add_placeholders_to_generator ( basic_generator & g) const
pure virtual

◆ get_actual_memory_representation_type()

virtual variable_with_value::actual_memory_representation_type chomik::generic_type::get_actual_memory_representation_type ( const machine & m) const
pure virtual

◆ get_copy() [1/2]

virtual void chomik::generic_type::get_copy ( std::shared_ptr< generic_type > & target) const
pure virtual

◆ get_copy() [2/2]

virtual void chomik::generic_type::get_copy ( std::unique_ptr< generic_type > & target) const
pure virtual

◆ get_generic_type_name()

virtual std::string chomik::generic_type::get_generic_type_name ( ) const
pure virtual

◆ get_is_an_ad_hoc_type()

virtual bool chomik::generic_type::get_is_an_ad_hoc_type ( ) const
pure virtual

◆ get_is_equal()

virtual bool chomik::generic_type::get_is_equal ( const generic_type & t) const
pure virtual

◆ get_is_finite()

virtual bool chomik::generic_type::get_is_finite ( ) const
pure virtual

◆ get_low_level_type_name()

virtual std::string chomik::generic_type::get_low_level_type_name ( ) const
pure virtual

◆ get_type_name()

virtual std::string chomik::generic_type::get_type_name ( const machine & m,
const basic_generator & g ) const
pure virtual

◆ report()

virtual void chomik::generic_type::report ( std::ostream & s) const
pure virtual

◆ update_boundaries()

virtual void chomik::generic_type::update_boundaries ( machine & m,
int & f,
int & l,
basic_generator & g ) const
inlinevirtual

Reimplemented in chomik::generic_type_range.


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

copyright by Pawel Biernacki

Vantaa 2022