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

#include <chomik.h>

Public Member Functions

 generic_name (list_of_generic_name_items *const l)
 
 generic_name ()
 
 generic_name (const generic_name &gn)
 
void report (std::ostream &s) const
 
const std::vector< std::shared_ptr< generic_name_item > > & get_vector_of_name_items () const
 
std::string get_actual_text_representation (const machine &m, const basic_generator &g) const
 
void add_placeholders_to_generator (basic_generator &g) const
 
void add_generic_name_item (std::shared_ptr< generic_name_item > &&i)
 
void get_result_replacing_placeholders (const machine &m, const basic_generator &g, const replacing_policy &p, generic_name &target) const
 
bool operator== (const generic_name &n) const
 

Detailed Description

This class denotes a "name" consisting of a sequence of generic name items.

Constructor & Destructor Documentation

◆ generic_name() [1/3]

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

This constructor only copies the first parameter, it should be destroyed by the parser!

◆ generic_name() [2/3]

chomik::generic_name::generic_name ( )

◆ generic_name() [3/3]

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

Member Function Documentation

◆ add_generic_name_item()

void chomik::generic_name::add_generic_name_item ( std::shared_ptr< generic_name_item > && i)
inline

◆ add_placeholders_to_generator()

void chomik::generic_name::add_placeholders_to_generator ( basic_generator & g) const

◆ get_actual_text_representation()

std::string chomik::generic_name::get_actual_text_representation ( const machine & m,
const basic_generator & g ) const

◆ get_result_replacing_placeholders()

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

◆ get_vector_of_name_items()

const std::vector< std::shared_ptr< generic_name_item > > & chomik::generic_name::get_vector_of_name_items ( ) const
inline

◆ operator==()

bool chomik::generic_name::operator== ( const generic_name & n) const

◆ report()

void chomik::generic_name::report ( std::ostream & s) const

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

copyright by Pawel Biernacki

Vantaa 2022