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::simple_placeholder_for_range Class Reference

#include <chomik.h>

Inheritance diagram for chomik::simple_placeholder_for_range:
Collaboration diagram for chomik::simple_placeholder_for_range:

Public Member Functions

 simple_placeholder_for_range (const std::string &p, const int f, const int l, type_instance *ti)
 
virtual void report (std::ostream &s) const override
 
virtual bool get_is_valid () const override
 
virtual bool get_is_terminated () const override
 
virtual void increment () override
 
virtual void update_int_value (int f, int l) override
 
- Public Member Functions inherited from chomik::simple_placeholder_with_value< int, static_cast< int >(variable_with_value::actual_memory_representation_type::INTEGER)>
 simple_placeholder_with_value (const std::string &p, const int v, type_instance *ti)
 
virtual variable_with_value::actual_memory_representation_type get_representation_type () const override
 
int get_value () const
 
virtual void update_ad_hoc_range_type_instance (machine &m, basic_generator &g) override
 
- Public Member Functions inherited from chomik::placeholder_with_value
 placeholder_with_value (const std::string &n)
 
const std::string & get_name () const
 
virtual ~placeholder_with_value ()
 
virtual std::string get_value_string () const
 
virtual std::string get_value_enum () const
 
virtual void get_value_code (code &target) const
 
virtual bool get_exceeds_level (int max_level) const
 
virtual int get_level () const
 

Additional Inherited Members

- Protected Attributes inherited from chomik::simple_placeholder_with_value< int, static_cast< int >(variable_with_value::actual_memory_representation_type::INTEGER)>
int value
 
type_instancemy_type_instance
 
- Protected Attributes inherited from chomik::placeholder_with_value
const std::string placeholder
 

Constructor & Destructor Documentation

◆ simple_placeholder_for_range()

chomik::simple_placeholder_for_range::simple_placeholder_for_range ( const std::string & p,
const int f,
const int l,
type_instance * ti )
inline

Member Function Documentation

◆ get_is_terminated()

virtual bool chomik::simple_placeholder_for_range::get_is_terminated ( ) const
inlineoverridevirtual

Reimplemented from chomik::placeholder_with_value.

◆ get_is_valid()

virtual bool chomik::simple_placeholder_for_range::get_is_valid ( ) const
inlineoverridevirtual

Reimplemented from chomik::placeholder_with_value.

◆ increment()

virtual void chomik::simple_placeholder_for_range::increment ( )
inlineoverridevirtual

Reimplemented from chomik::placeholder_with_value.

◆ report()

virtual void chomik::simple_placeholder_for_range::report ( std::ostream & s) const
inlineoverridevirtual

◆ update_int_value()

virtual void chomik::simple_placeholder_for_range::update_int_value ( int f,
int l )
overridevirtual

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

copyright by Pawel Biernacki

Vantaa 2022