|
| assignment_statement (generic_name *const n, generic_value *const v, unsigned new_line_number) |
|
| assignment_statement (const generic_value &gv, unsigned new_line_number) |
|
| assignment_statement (const generic_name &gn, const generic_value &gv, unsigned new_line_number) |
|
virtual statement_type | get_statement_type () const override |
|
virtual void | report (std::ostream &s) const override |
|
virtual void | execute (machine &m, std::shared_ptr< const statement > &&i, std::shared_ptr< basic_generator > father=nullptr) const override |
|
virtual void | add_placeholders_to_generator (basic_generator &g) const override |
|
virtual void | make_copy_with_replacements (const machine &m, const basic_generator &g, const replacing_policy &p, std::shared_ptr< statement > &target) const override |
|
virtual void | get_copy (std::shared_ptr< statement > &target) const override |
|
virtual bool | get_is_code_assignment (machine &m) const override |
|
| statement (unsigned l) |
|
virtual | ~statement () |
|
virtual void | expand (machine &m, int depth) const |
|
void | get_actual_code_value (const machine &m, const basic_generator &g, const replacing_policy &p, code &target) const |
|
virtual const std::vector< std::shared_ptr< type_definition > > & | get_vector_of_type_definitions () const |
|
This class represents an assignment, i.e. instruction that assignes a value to a variable defined by a generic name. It may also be a loop of assignments, with the placeholders replaced by their actual values.