|
Bash++
Bash++ compiler internal documentation
|
A parameter in a method. More...
#include <bpp_method.h>


Public Member Functions | |
| bpp_method_parameter (const std::string &name) | |
| void | set_class (std::shared_ptr< bpp_class >) |
Public Member Functions inherited from bpp::bpp_entity | |
| bpp_entity ()=default | |
| virtual | ~bpp_entity ()=default |
| bpp_entity (const bpp_entity &other)=default | |
| bpp_entity & | operator= (const bpp_entity &other)=default |
| bpp_entity (bpp_entity &&other) noexcept=default | |
| bpp_entity & | operator= (bpp_entity &&other) noexcept=default |
| virtual bool | add_object (std::shared_ptr< bpp_object > object, bool make_local=false) |
| Add an object to this entity's list of objects. | |
| virtual std::shared_ptr< bpp_class > | get_class () |
| virtual std::string | get_address () const |
| virtual void | set_name (const std::string &name) |
| virtual std::string | get_name () const |
| virtual std::weak_ptr< bpp::bpp_class > | get_containing_class () |
| Get the class which contains this entity. | |
| virtual std::weak_ptr< bpp_program > | get_containing_program () |
| virtual bool | set_containing_class (std::weak_ptr< bpp::bpp_class > containing_class) |
| void | inherit (std::shared_ptr< bpp_entity > parent) |
| Inherit from a parent entity. | |
| void | inherit (std::shared_ptr< bpp_program > program) |
| virtual void | inherit (std::shared_ptr< bpp_class > parent) |
| void | set_definition_position (const std::string &file, uint64_t line, uint64_t column) |
| void | add_reference (const std::string &file, uint64_t line, uint64_t column) |
| bpp::SymbolPosition | get_initial_definition () const |
| std::list< bpp::SymbolPosition > | get_references () const |
| virtual std::shared_ptr< bpp_class > | get_class (const std::string &name, size_t max_visible_index=SIZE_MAX) |
| std::shared_ptr< bpp_object > | get_object (const std::string &name, size_t max_visible_index=SIZE_MAX) |
| virtual std::vector< std::shared_ptr< bpp_class > > | get_all_known_classes () const |
| virtual std::vector< std::shared_ptr< bpp_object > > | get_all_known_objects () const |
| const OwnedEntityList< bpp_object > & | get_local_objects () const |
| std::shared_ptr< bpp_class > | get_parent () const |
| size_t | number_of_known_objects () const |
| virtual size_t | number_of_known_classes () const |
Additional Inherited Members | |
Protected Attributes inherited from bpp::bpp_entity | |
| std::string | name |
| OwnedEntityList< bpp_object > | local_objects |
| size_t | parent_visible_object_count_at_creation = 0 |
| size_t | program_visible_class_count_at_creation = 0 |
| std::weak_ptr< bpp_class > | type |
| std::weak_ptr< bpp_class > | containing_class |
| std::weak_ptr< bpp_program > | containing_program |
| std::vector< std::weak_ptr< bpp_class > > | parents |
| For classes: the list of parent classes, in order. | |
| std::weak_ptr< bpp_entity > | parent_entity |
| For all entities (except program), the parent entity from which this entity inherits. | |
| std::weak_ptr< bpp_method > | overridden_method |
| bpp::SymbolPosition | initial_definition |
| std::list< bpp::SymbolPosition > | references |
A parameter in a method.
|
explicit |
| void bpp::bpp_method_parameter::set_class | ( | std::shared_ptr< bpp_class > | type | ) |