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 | |
list_of_statements (statement *const s, list_of_statements *const l) | |
list_of_statements (const list_of_statements &s) | |
void | report (std::ostream &s) const |
std::vector< std::shared_ptr< statement > > & | get_vector_of_statements () |
const std::vector< std::shared_ptr< statement > > & | get_vector_of_statements () const |
void | add_statement (std::shared_ptr< statement > &&s) |
void | set_is_main (bool m) |
void | add_placeholders_to_generator (basic_generator &g) const |
void | get_actual_code_value (const machine &m, const basic_generator &g, const replacing_policy &p, code &target) const |
bool | operator== (const list_of_statements &l) const |
It is a list of executable statements of the programming language chomik.
chomik::list_of_statements::list_of_statements | ( | statement *const | s, |
list_of_statements *const | l ) |
This constructor only copies the statements (both the first one and the list of subsequent statements). Its parameters should be therefore destroyed afterwards.
chomik::list_of_statements::list_of_statements | ( | const list_of_statements & | s | ) |
void chomik::list_of_statements::add_placeholders_to_generator | ( | basic_generator & | g | ) | const |
|
inline |
void chomik::list_of_statements::get_actual_code_value | ( | const machine & | m, |
const basic_generator & | g, | ||
const replacing_policy & | p, | ||
code & | target ) const |
|
inline |
|
inline |
bool chomik::list_of_statements::operator== | ( | const list_of_statements & | l | ) | const |
void chomik::list_of_statements::report | ( | std::ostream & | s | ) | const |
|
inline |