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

#include <chomik.h>

Inheritance diagram for chomik::simple_placeholder_for_enum:
Collaboration diagram for chomik::simple_placeholder_for_enum:

Public Member Functions

 simple_placeholder_for_enum (const std::string &p, const iterator_type f, const iterator_type 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 std::string get_value_enum () const override
 
virtual bool get_exceeds_level (int max_level) const
 
virtual int get_level () const
 
- Public Member Functions inherited from chomik::simple_placeholder_with_value< std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator, static_cast< int >(variable_with_value::actual_memory_representation_type::ENUM)>
 simple_placeholder_with_value (const std::string &p, const std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator v, type_instance *ti)
 
virtual variable_with_value::actual_memory_representation_type get_representation_type () const override
 
std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator get_value () const
 
virtual void update_int_value (std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator f, std::vector< std::unique_ptr< type_instance_enum_value > >::const_iterator l)
 
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 void get_value_code (code &target) const
 
virtual void update_int_value (int f, int l)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ simple_placeholder_for_enum()

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

Member Function Documentation

◆ get_exceeds_level()

virtual bool chomik::simple_placeholder_for_enum::get_exceeds_level ( int max_level) const
inlinevirtual

Reimplemented from chomik::placeholder_with_value.

◆ get_is_terminated()

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

Reimplemented from chomik::placeholder_with_value.

◆ get_is_valid()

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

Reimplemented from chomik::placeholder_with_value.

◆ get_level()

virtual int chomik::simple_placeholder_for_enum::get_level ( ) const
inlinevirtual

Reimplemented from chomik::placeholder_with_value.

◆ get_value_enum()

virtual std::string chomik::simple_placeholder_for_enum::get_value_enum ( ) const
inlineoverridevirtual

Reimplemented from chomik::placeholder_with_value.

◆ increment()

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

Reimplemented from chomik::placeholder_with_value.

◆ report()

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

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

copyright by Pawel Biernacki

Vantaa 2022