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

#include <chomik.h>

Public Member Functions

 generic_range (generic_range_boundary *const min_b, generic_range_boundary *const max_b)
 
 generic_range (std::unique_ptr< generic_range_boundary > &&a, std::unique_ptr< generic_range_boundary > &&b)
 
void report (std::ostream &s) const
 
int get_min_value (const machine &m, const basic_generator &g) const
 
int get_max_value (const machine &m, const basic_generator &g) const
 
void add_placeholders_to_generator (basic_generator &g) const
 
void get_copy (std::unique_ptr< generic_range > &target) const
 

Constructor & Destructor Documentation

◆ generic_range() [1/2]

chomik::generic_range::generic_range ( generic_range_boundary *const min_b,
generic_range_boundary *const max_b )
inline

◆ generic_range() [2/2]

chomik::generic_range::generic_range ( std::unique_ptr< generic_range_boundary > && a,
std::unique_ptr< generic_range_boundary > && b )
inline

Member Function Documentation

◆ add_placeholders_to_generator()

void chomik::generic_range::add_placeholders_to_generator ( basic_generator & g) const
inline

◆ get_copy()

void chomik::generic_range::get_copy ( std::unique_ptr< generic_range > & target) const
inline

◆ get_max_value()

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

◆ get_min_value()

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

◆ report()

void chomik::generic_range::report ( std::ostream & s) const
inline

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

copyright by Pawel Biernacki

Vantaa 2022