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_value_signature_item< TYPE > Class Template Reference

#include <chomik.h>

Inheritance diagram for chomik::simple_value_signature_item< TYPE >:
Collaboration diagram for chomik::simple_value_signature_item< TYPE >:

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_itemsource
 

Detailed Description

template<typename TYPE>
class chomik::simple_value_signature_item< TYPE >

This template class is used to create signature items of a given underlying type. It is used with the simple types.

Constructor & Destructor Documentation

◆ simple_value_signature_item()

template<typename TYPE >
chomik::simple_value_signature_item< TYPE >::simple_value_signature_item ( const generic_name_item & s,
const TYPE v )
inline

Member Function Documentation

◆ report()

template<typename TYPE >
virtual void chomik::simple_value_signature_item< TYPE >::report ( std::ostream & s) const
inlineoverridevirtual

Member Data Documentation

◆ value

template<typename TYPE >
const TYPE chomik::simple_value_signature_item< TYPE >::value
protected

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

copyright by Pawel Biernacki

Vantaa 2022