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_range Class Reference

#include <chomik.h>

Inheritance diagram for chomik::generic_type_range:
Collaboration diagram for chomik::generic_type_range:

Public Member Functions

 generic_type_range (generic_range *const nr)
 
 generic_type_range (const generic_range &rn)
 
virtual void report (std::ostream &s) const
 
virtual bool get_is_finite () const override
 
int get_min_value (const machine &m, const basic_generator &g) const
 
int get_max_value (const machine &m, const basic_generator &g) const
 
virtual variable_with_value::actual_memory_representation_type get_actual_memory_representation_type (const machine &m) const override
 
virtual void add_placeholders_to_generator (basic_generator &g) const
 
virtual std::string get_type_name (const machine &m, const basic_generator &g) const override
 
virtual std::string get_generic_type_name () const override
 
virtual std::string get_low_level_type_name () const override
 
virtual void get_copy (std::shared_ptr< generic_type > &target) const override
 
virtual void get_copy (std::unique_ptr< generic_type > &target) const override
 
virtual bool get_is_equal (const generic_type &t) const override
 
virtual bool get_is_an_ad_hoc_type () const override
 
virtual void update_boundaries (machine &m, int &f, int &l, basic_generator &g) const override
 
- Public Member Functions inherited from chomik::generic_type
virtual ~generic_type ()
 

Constructor & Destructor Documentation

◆ generic_type_range() [1/2]

chomik::generic_type_range::generic_type_range ( generic_range *const nr)
inline

This constructor owns its first parameter. It must not be destroyed by the parser!

◆ generic_type_range() [2/2]

chomik::generic_type_range::generic_type_range ( const generic_range & rn)
inline

Member Function Documentation

◆ add_placeholders_to_generator()

virtual void chomik::generic_type_range::add_placeholders_to_generator ( basic_generator & g) const
inlinevirtual

Implements chomik::generic_type.

◆ get_actual_memory_representation_type()

virtual variable_with_value::actual_memory_representation_type chomik::generic_type_range::get_actual_memory_representation_type ( const machine & m) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_copy() [1/2]

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

Implements chomik::generic_type.

◆ get_copy() [2/2]

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

Implements chomik::generic_type.

◆ get_generic_type_name()

virtual std::string chomik::generic_type_range::get_generic_type_name ( ) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_is_an_ad_hoc_type()

virtual bool chomik::generic_type_range::get_is_an_ad_hoc_type ( ) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_is_equal()

virtual bool chomik::generic_type_range::get_is_equal ( const generic_type & t) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_is_finite()

virtual bool chomik::generic_type_range::get_is_finite ( ) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_low_level_type_name()

virtual std::string chomik::generic_type_range::get_low_level_type_name ( ) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ get_max_value()

int chomik::generic_type_range::get_max_value ( const machine & m,
const basic_generator & g ) const
inline

◆ get_min_value()

int chomik::generic_type_range::get_min_value ( const machine & m,
const basic_generator & g ) const
inline

◆ get_type_name()

virtual std::string chomik::generic_type_range::get_type_name ( const machine & m,
const basic_generator & g ) const
inlineoverridevirtual

Implements chomik::generic_type.

◆ report()

virtual void chomik::generic_type_range::report ( std::ostream & s) const
inlinevirtual

Implements chomik::generic_type.

◆ update_boundaries()

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

Reimplemented from chomik::generic_type.


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

copyright by Pawel Biernacki

Vantaa 2022