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 | |
matching_protocol () | |
bool | get_is_placeholder_bound_as_integer (const std::string &p) const |
bool | get_is_placeholder_bound_as_float (const std::string &p) const |
bool | get_is_placeholder_bound_as_string (const std::string &p) const |
bool | get_is_placeholder_bound_as_identifier (const std::string &p) const |
int | get_placeholder_value_integer (const std::string &p) const |
double | get_placeholder_value_float (const std::string &p) const |
std::string | get_placeholder_value_string (const std::string &p) const |
std::string | get_placeholder_value_identifier (const std::string &p) const |
void | bind_placeholder_as_integer (const std::string &p, int v) |
void | bind_placeholder_as_float (const std::string &p, double v) |
void | bind_placeholder_as_string (const std::string &p, std::string v) |
void | bind_placeholder_as_identifier (const std::string &p, std::string v) |
void | bind_placeholder_as_code (const std::string &p, const code &c) |
void | bind_placeholder_as_placeholder (const std::string &p, const std::string &p2) |
bool | get_is_successful () const |
void | report (std::ostream &s) const |
void | initialize_mapping (mapping_generator &target) const |
void | initialize_mapping (external_placeholder_generator &target) const |
void | copy_bound_placeholders (generator &target) const |
This is a small helper class used for matching signatures.
|
inline |
void chomik::matching_protocol::bind_placeholder_as_code | ( | const std::string & | p, |
const code & | c ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void chomik::matching_protocol::copy_bound_placeholders | ( | generator & | target | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void chomik::matching_protocol::initialize_mapping | ( | external_placeholder_generator & | target | ) | const |
void chomik::matching_protocol::initialize_mapping | ( | mapping_generator & | target | ) | const |
void chomik::matching_protocol::report | ( | std::ostream & | s | ) | const |