Bash++
Bash++ compiler internal documentation
Classes | Public Attributes | List of all members
bpp::entity_reference Struct Reference

Represents the result of resolving a reference to an entity. More...

#include <bpp_codegen.h>

Collaboration diagram for bpp::entity_reference:
Collaboration graph
[legend]

Classes

struct  reference_error
 

Public Attributes

std::shared_ptr< bpp::bpp_entityentity
 
code_segment reference_code
 
bool created_first_temporary_variable = false
 
bool created_second_temporary_variable = false
 
std::shared_ptr< bpp::bpp_classclass_containing_the_method
 
std::optional< reference_errorerror
 

Detailed Description

Represents the result of resolving a reference to an entity.

This struct holds the resolved entity, the code segment to access it, flags indicating whether temporary variables were created during resolution, and any errors encountered during the resolution process.

Member Data Documentation

◆ class_containing_the_method

std::shared_ptr<bpp::bpp_class> bpp::entity_reference::class_containing_the_method

◆ created_first_temporary_variable

bool bpp::entity_reference::created_first_temporary_variable = false

◆ created_second_temporary_variable

bool bpp::entity_reference::created_second_temporary_variable = false

◆ entity

std::shared_ptr<bpp::bpp_entity> bpp::entity_reference::entity

◆ error

std::optional<reference_error> bpp::entity_reference::error

◆ reference_code

code_segment bpp::entity_reference::reference_code

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