Cthulhu  0.2.10
Cthulhu compiler collection
ed Namespace Reference

Data Structures

class  Broker
 
class  ModuleInfoPanel
 
class  FrontendInfoPanel
 
class  LanguageInfoPanel
 
class  PluginInfoPanel
 
class  TargetInfoPanel
 
class  ScopeID
 
class  IEditorPanel
 
struct  menu_section_t
 
struct  menu_t
 
class  SourceView
 
struct  stack_frame_t
 
class  PanicInfo
 
class  CompileError
 
class  SmallString
 

Enumerations

enum  compile_code_t { eCompileOk , eCompileError , eCompilePanic , eCompileTotal }
 

Functions

void draw_config_panel (cfg_group_t *config)
 
IEditorPanelcreate_imgui_demo_panel ()
 
IEditorPanelcreate_implot_demo_panel ()
 
void draw_seperated (IEditorPanel &panel, const char *title=nullptr)
 
bool draw_collapsing (IEditorPanel &panel, const char *title=nullptr, ImGuiTreeNodeFlags flags=ImGuiTreeNodeFlags_None)
 
void install_panic_handler ()
 
CompileError run_compile (Broker &info)
 
template<size_t N>
SmallString< N > strfmt (const char *format, auto &&... args)
 

Enumeration Type Documentation

◆ compile_code_t

Enumerator
eCompileOk 
eCompileError 
eCompilePanic 
eCompileTotal 

Definition at line 40 of file panic.hpp.

Function Documentation

◆ create_imgui_demo_panel()

IEditorPanel* ed::create_imgui_demo_panel ( )

◆ create_implot_demo_panel()

IEditorPanel* ed::create_implot_demo_panel ( )

◆ draw_collapsing()

bool ed::draw_collapsing ( IEditorPanel panel,
const char *  title = nullptr,
ImGuiTreeNodeFlags  flags = ImGuiTreeNodeFlags_None 
)

Definition at line 49 of file panel.cpp.

◆ draw_config_panel()

void ed::draw_config_panel ( cfg_group_t config)

Definition at line 351 of file config.cpp.

◆ draw_seperated()

void ed::draw_seperated ( IEditorPanel panel,
const char *  title = nullptr 
)

Definition at line 42 of file panel.cpp.

◆ install_panic_handler()

void ed::install_panic_handler ( )

Definition at line 17 of file panic.cpp.

◆ run_compile()

CompileError ed::run_compile ( Broker info)

Definition at line 25 of file panic.cpp.

◆ strfmt()

template<size_t N>
SmallString<N> ed::strfmt ( const char *  format,
auto &&...  args 
)

Definition at line 31 of file utils.hpp.