Bash++
Bash++ compiler internal documentation
Namespaces | Functions
bpp_codegen.cpp File Reference
#include "bpp_codegen.h"
#include "bpp.h"
Include dependency graph for bpp_codegen.cpp:

Namespaces

 bpp
 

Functions

code_segment bpp::generate_supershell_code (const std::string &code_to_run, bool in_while_condition, std::shared_ptr< bash_while_condition > current_while_condition, std::shared_ptr< bpp::bpp_program > program)
 Generates a supershell code segment for executing a bash command. More...
 
code_segment bpp::generate_delete_code (std::shared_ptr< bpp::bpp_object > object, const std::string &object_ref, std::shared_ptr< bpp::bpp_program > program)
 Generates a code segment for deleting an object. More...
 
code_segment bpp::generate_method_call_code (const std::string &reference_code, const std::string &method_name, std::shared_ptr< bpp::bpp_class > assumed_class, bool force_static_reference, std::shared_ptr< bpp::bpp_program > program)
 Generates a code segment for calling a method. More...
 
code_segment bpp::generate_dynamic_cast_code (const std::string &reference_code, const std::string &class_name, std::shared_ptr< bpp::bpp_program > program)
 Generates a code segment for performing a dynamic cast. More...
 
code_segment bpp::inline_new (const std::string &new_address, std::shared_ptr< bpp::bpp_class > new_class)
 Generates a code segment to INLINE class's "new" function within a method. More...
 
entity_reference bpp::resolve_reference (std::shared_ptr< bpp::bpp_code_entity > context, std::deque< antlr4::tree::TerminalNode * > identifiers, std::shared_ptr< bpp::bpp_class > current_class, std::shared_ptr< bpp::bpp_program > program)
 Resolves a reference to an entity in a particular context. More...