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

#include <chomik.h>

Inheritance diagram for chomik::type_definition_body_enum:
Collaboration diagram for chomik::type_definition_body_enum:

Public Member Functions

 type_definition_body_enum (list_of_generic_names *const l)
 
virtual void report (std::ostream &s) const override
 
virtual void expand (machine &m, int depth, const std::string &n, std::shared_ptr< type_instance > &e) const override
 
virtual void add_placeholders_to_generator (basic_generator &g) const override
 
virtual bool get_is_range () const
 
- Public Member Functions inherited from chomik::type_definition_body
virtual ~type_definition_body ()
 
virtual int get_min_value (machine &m, basic_generator &g) const
 
virtual int get_max_value (machine &m, basic_generator &g) const
 

Constructor & Destructor Documentation

◆ type_definition_body_enum()

chomik::type_definition_body_enum::type_definition_body_enum ( list_of_generic_names *const l)

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

Member Function Documentation

◆ add_placeholders_to_generator()

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

◆ expand()

virtual void chomik::type_definition_body_enum::expand ( machine & m,
int depth,
const std::string & n,
std::shared_ptr< type_instance > & e ) const
overridevirtual

◆ get_is_range()

virtual bool chomik::type_definition_body_enum::get_is_range ( ) const
inlinevirtual

◆ report()

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

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

copyright by Pawel Biernacki

Vantaa 2022