Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Compiler_Backend_C_Detail Namespace Reference

Functions

std::string sanitize_identifier (std::string_view text)
 
std::string upper_identifier (std::string_view text)
 
std::string c_string_literal (std::string_view text)
 
std::string safe_comment_text (std::string text)
 
bool parse_integer_literal (const std::string &text, long long &value) noexcept
 
size_t count_parameters (const Compiler_IR_Function &function) noexcept
 
std::string token_name (const Compiler_Operator_Kind kind) noexcept
 
std::string value_name (const Compiler_IR_Value_Id id)
 
std::string local_name (const Compiler_IR_Local_Slot_Id id)
 
std::string global_name (const Compiler_IR_Global_Slot_Id id)
 
std::string block_label (const size_t id)
 
std::string indent (const size_t count)
 

Function Documentation

◆ block_label()

std::string Aleph::Compiler_Backend_C_Detail::block_label ( const size_t  id)
inline

◆ c_string_literal()

std::string Aleph::Compiler_Backend_C_Detail::c_string_literal ( std::string_view  text)
inline

◆ count_parameters()

size_t Aleph::Compiler_Backend_C_Detail::count_parameters ( const Compiler_IR_Function &  function)
inlinenoexcept

◆ global_name()

std::string Aleph::Compiler_Backend_C_Detail::global_name ( const Compiler_IR_Global_Slot_Id  id)
inline

◆ indent()

◆ local_name()

◆ parse_integer_literal()

bool Aleph::Compiler_Backend_C_Detail::parse_integer_literal ( const std::string &  text,
long long &  value 
)
inlinenoexcept

◆ safe_comment_text()

◆ sanitize_identifier()

std::string Aleph::Compiler_Backend_C_Detail::sanitize_identifier ( std::string_view  text)
inline

◆ token_name()

std::string Aleph::Compiler_Backend_C_Detail::token_name ( const Compiler_Operator_Kind  kind)
inlinenoexcept

◆ upper_identifier()

std::string Aleph::Compiler_Backend_C_Detail::upper_identifier ( std::string_view  text)
inline

◆ value_name()