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::placeholder_with_value Class Referenceabstract

#include <chomik.h>

Inheritance diagram for chomik::placeholder_with_value:
Collaboration diagram for chomik::placeholder_with_value:

Public Member Functions

 placeholder_with_value (const std::string &n)
 
const std::string & get_name () const
 
virtual ~placeholder_with_value ()
 
virtual void report (std::ostream &s) const =0
 
virtual variable_with_value::actual_memory_representation_type get_representation_type () const =0
 
virtual bool get_is_valid () const
 
virtual bool get_is_terminated () const
 
virtual void increment ()
 
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
 
virtual void update_ad_hoc_range_type_instance (machine &m, basic_generator &g)
 
virtual void update_int_value (int f, int l)
 

Protected Attributes

const std::string placeholder
 

Detailed Description

Somewhat similar to the variable_with_value class, this class is used to represent placeholders with their values in generators.

Constructor & Destructor Documentation

◆ placeholder_with_value()

chomik::placeholder_with_value::placeholder_with_value ( const std::string & n)
inline

◆ ~placeholder_with_value()

virtual chomik::placeholder_with_value::~placeholder_with_value ( )
inlinevirtual

Member Function Documentation

◆ get_exceeds_level()

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

◆ get_is_terminated()

virtual bool chomik::placeholder_with_value::get_is_terminated ( ) const
inlinevirtual

◆ get_is_valid()

virtual bool chomik::placeholder_with_value::get_is_valid ( ) const
inlinevirtual

◆ get_level()

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

◆ get_name()

const std::string & chomik::placeholder_with_value::get_name ( ) const
inline

◆ get_representation_type()

◆ get_value_code()

virtual void chomik::placeholder_with_value::get_value_code ( code & target) const
inlinevirtual

◆ get_value_enum()

virtual std::string chomik::placeholder_with_value::get_value_enum ( ) const
inlinevirtual

◆ get_value_string()

virtual std::string chomik::placeholder_with_value::get_value_string ( ) const
inlinevirtual

◆ increment()

virtual void chomik::placeholder_with_value::increment ( )
inlinevirtual

◆ report()

◆ update_ad_hoc_range_type_instance()

◆ update_int_value()

Member Data Documentation

◆ placeholder

const std::string chomik::placeholder_with_value::placeholder
protected

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

copyright by Pawel Biernacki

Vantaa 2022