#include <string>
#include <memory>
#include <optional>
#include <deque>
#include <type_traits>
#include <antlr4-runtime.h>
#include "bpp.h"
#include "../antlr/BashppLexer.h"
#include "../internal_error.h"
Go to the source code of this file.
|
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.
|
|
code_segment | bpp::generate_delete_code (std::shared_ptr< bpp_object > object, const std::string &object_ref, std::shared_ptr< bpp::bpp_program > program) |
|
code_segment | bpp::generate_method_call_code (const std::string &reference_code, const std::string &method_name, std::shared_ptr< bpp_class > assumed_class, bool force_static_reference, std::shared_ptr< bpp::bpp_program > program) |
|
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.
|
|
code_segment | bpp::generate_typeof_code (const std::string &reference_code, std::shared_ptr< bpp::bpp_program > program) |
|
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.
|
|
entity_reference | bpp::resolve_reference_impl (const std::string &file, std::shared_ptr< bpp::bpp_entity > context, std::deque< antlr4::tree::TerminalNode * > *nodes, std::deque< std::string > *identifiers, bool declare_local, std::shared_ptr< bpp::bpp_program > program) |
| Resolves a reference to an entity in a particular context.
|
|
entity_reference | bpp::resolve_reference (const std::string &file, std::shared_ptr< bpp::bpp_entity > context, auto identifiers, bool declare_local, std::shared_ptr< bpp::bpp_program > program) |
|