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.
#include <chomik.h>
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 |
Somewhat similar to the variable_with_value class, this class is used to represent placeholders with their values in generators.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in chomik::simple_placeholder_for_enum.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in chomik::simple_placeholder_for_enum.
|
inline |
|
pure virtual |
Implemented in chomik::simple_placeholder_with_value< TYPE, REPRESENTATION_TYPE >, chomik::simple_placeholder_with_value< int, REPRESENTATION_TYPE >, chomik::simple_placeholder_with_value< int, static_cast< int >(variable_with_value::actual_memory_representation_type::INTEGER)>, and 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)>.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in chomik::simple_placeholder_for_enum.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in chomik::simple_placeholder_for_enum, chomik::simple_placeholder_for_infinite_range, chomik::simple_placeholder_for_range, chomik::simple_placeholder_with_value_and_report< TYPE, REPRESENTATION_TYPE >, and chomik::simple_placeholder_with_value_and_report< int, static_cast< int >(chomik::variable_with_value::actual_memory_representation_type::INTEGER)>.
|
inlinevirtual |
Reimplemented in chomik::simple_placeholder_with_value< TYPE, REPRESENTATION_TYPE >, chomik::simple_placeholder_with_value< int, REPRESENTATION_TYPE >, chomik::simple_placeholder_with_value< int, static_cast< int >(variable_with_value::actual_memory_representation_type::INTEGER)>, and 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)>.
|
inlinevirtual |
|
protected |