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 | |
simple_value_signature_item (const generic_name_item &s, const TYPE v) | |
virtual void | report (std::ostream &s) const override |
Public Member Functions inherited from chomik::signature_item | |
signature_item (const generic_name_item &s) | |
virtual | ~signature_item () |
std::string | get_string_representation () const |
virtual std::string | get_type_name () const =0 |
virtual void | print (std::ostream &s) const |
virtual bool | get_is_predefined () const |
virtual bool | get_it_is_identifier (const std::string &pattern) const |
virtual bool | get_it_is_string () const |
virtual bool | get_it_is_integer () const |
virtual bool | get_it_is_float () const |
virtual bool | get_it_is_enum () const |
virtual bool | get_it_is_code () const |
virtual int | get_value_integer () const |
virtual double | get_value_float () const |
virtual std::string | get_value_string () const |
virtual std::string | get_value_enum () const |
virtual void | get_value_code (std::unique_ptr< code > &target) |
virtual bool | get_match (const generic_name_item &gni, const machine &m, const basic_generator &g, matching_protocol &target) const =0 |
virtual void | get_copy (std::shared_ptr< signature_item > &target) const =0 |
virtual std::string | get_debug_type_name () const |
Protected Attributes | |
const TYPE | value |
Protected Attributes inherited from chomik::signature_item | |
const generic_name_item & | source |
This template class is used to create signature items of a given underlying type. It is used with the simple types.
|
inline |
|
inlineoverridevirtual |
Implements chomik::signature_item.
Reimplemented in chomik::simple_value_enum_signature_item, and chomik::simple_value_string_signature_item.
|
protected |