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

#include <chomik.h>

Inheritance diagram for chomik::signature_item:
Collaboration diagram for chomik::signature_item:

Public Member Functions

 signature_item (const generic_name_item &s)
 
virtual ~signature_item ()
 
virtual void report (std::ostream &s) const =0
 
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 generic_name_itemsource
 

Detailed Description

This is a base class for all items of a signature class.

Constructor & Destructor Documentation

◆ signature_item()

chomik::signature_item::signature_item ( const generic_name_item & s)
inline

◆ ~signature_item()

virtual chomik::signature_item::~signature_item ( )
inlinevirtual

Member Function Documentation

◆ get_copy()

◆ get_debug_type_name()

virtual std::string chomik::signature_item::get_debug_type_name ( ) const
inlinevirtual

◆ get_is_predefined()

virtual bool chomik::signature_item::get_is_predefined ( ) const
inlinevirtual

◆ get_it_is_code()

virtual bool chomik::signature_item::get_it_is_code ( ) const
inlinevirtual

Reimplemented in chomik::code_signature_item.

◆ get_it_is_enum()

virtual bool chomik::signature_item::get_it_is_enum ( ) const
inlinevirtual

◆ get_it_is_float()

virtual bool chomik::signature_item::get_it_is_float ( ) const
inlinevirtual

◆ get_it_is_identifier()

virtual bool chomik::signature_item::get_it_is_identifier ( const std::string & pattern) const
inlinevirtual

◆ get_it_is_integer()

virtual bool chomik::signature_item::get_it_is_integer ( ) const
inlinevirtual

◆ get_it_is_string()

virtual bool chomik::signature_item::get_it_is_string ( ) const
inlinevirtual

◆ get_match()

◆ get_string_representation()

std::string chomik::signature_item::get_string_representation ( ) const

◆ get_type_name()

◆ get_value_code()

virtual void chomik::signature_item::get_value_code ( std::unique_ptr< code > & target)
inlinevirtual

◆ get_value_enum()

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

◆ get_value_float()

virtual double chomik::signature_item::get_value_float ( ) const
inlinevirtual

◆ get_value_integer()

virtual int chomik::signature_item::get_value_integer ( ) const
inlinevirtual

◆ get_value_string()

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

◆ print()

virtual void chomik::signature_item::print ( std::ostream & s) const
inlinevirtual

◆ report()

Member Data Documentation

◆ source

const generic_name_item& chomik::signature_item::source
protected

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

copyright by Pawel Biernacki

Vantaa 2022