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::variable_value_name_item Class Reference

#include <chomik.h>

Inheritance diagram for chomik::variable_value_name_item:
Collaboration diagram for chomik::variable_value_name_item:

Public Member Functions

 variable_value_name_item (list_of_generic_name_items *const l)
 
 variable_value_name_item (const generic_name &gn)
 
virtual void report (std::ostream &s) const override
 
virtual void add_content_to_signature (signature &target, const machine &m, const basic_generator &g) const override
 
virtual std::string get_actual_text_representation (const machine &m, const basic_generator &g) const override
 
virtual void add_placeholders_to_generator (basic_generator &g) const override
 
virtual void get_result_replacing_placeholders (const machine &m, const basic_generator &g, const replacing_policy &p, generic_name &target) const override
 
virtual void get_copy (std::shared_ptr< generic_name_item > &gni) const override
 
virtual bool get_match_integer (int v, const machine &m, const basic_generator &g) const override
 
virtual bool get_match_float (double v, const machine &m, const basic_generator &g) const override
 
virtual bool get_match_string (const std::string &v, const machine &m, const basic_generator &g) const override
 
virtual bool get_match_identifier (const std::string &v, const machine &m, const basic_generator &g) const override
 
virtual bool get_match_code (const code &v, const machine &m, const basic_generator &g) const override
 
virtual bool get_is_variable_value () const override
 
- Public Member Functions inherited from chomik::generic_name_item
virtual ~generic_name_item ()
 
virtual void add_content_to_signature (signature &target) const
 
virtual bool get_is_identifier () const
 
virtual bool get_is_integer () const
 
virtual bool get_is_float () const
 
virtual bool get_is_string () const
 
virtual bool get_is_code () const
 
virtual bool get_is_placeholder () const
 
virtual std::string get_placeholder_name () const
 

Constructor & Destructor Documentation

◆ variable_value_name_item() [1/2]

chomik::variable_value_name_item::variable_value_name_item ( list_of_generic_name_items *const l)

This constructor does not own the first parameter, it must be destroyed by the parser!

◆ variable_value_name_item() [2/2]

chomik::variable_value_name_item::variable_value_name_item ( const generic_name & gn)

Member Function Documentation

◆ add_content_to_signature()

virtual void chomik::variable_value_name_item::add_content_to_signature ( signature & target,
const machine & m,
const basic_generator & g ) const
overridevirtual

◆ add_placeholders_to_generator()

virtual void chomik::variable_value_name_item::add_placeholders_to_generator ( basic_generator & g) const
overridevirtual

◆ get_actual_text_representation()

virtual std::string chomik::variable_value_name_item::get_actual_text_representation ( const machine & m,
const basic_generator & g ) const
overridevirtual

◆ get_copy()

virtual void chomik::variable_value_name_item::get_copy ( std::shared_ptr< generic_name_item > & gni) const
inlineoverridevirtual

◆ get_is_variable_value()

virtual bool chomik::variable_value_name_item::get_is_variable_value ( ) const
inlineoverridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_match_code()

virtual bool chomik::variable_value_name_item::get_match_code ( const code & v,
const machine & m,
const basic_generator & g ) const
overridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_match_float()

virtual bool chomik::variable_value_name_item::get_match_float ( double v,
const machine & m,
const basic_generator & g ) const
overridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_match_identifier()

virtual bool chomik::variable_value_name_item::get_match_identifier ( const std::string & v,
const machine & m,
const basic_generator & g ) const
overridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_match_integer()

virtual bool chomik::variable_value_name_item::get_match_integer ( int v,
const machine & m,
const basic_generator & g ) const
overridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_match_string()

virtual bool chomik::variable_value_name_item::get_match_string ( const std::string & v,
const machine & m,
const basic_generator & g ) const
overridevirtual

Reimplemented from chomik::generic_name_item.

◆ get_result_replacing_placeholders()

virtual void chomik::variable_value_name_item::get_result_replacing_placeholders ( const machine & m,
const basic_generator & g,
const replacing_policy & p,
generic_name & target ) const
overridevirtual

◆ report()

virtual void chomik::variable_value_name_item::report ( std::ostream & s) const
overridevirtual

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

copyright by Pawel Biernacki

Vantaa 2022