Z / libzlang 0.29.0
C99 runtime library and the Zlang 0.29 source-to-source compiler
Loading...
Searching...
No Matches
zlang_emitter_t Struct Reference

#include <emitter.h>

Data Fields

char * buffer_
size_t capacity_
size_t length_
zlang_diagnostics_t * diagnostics_
const zlang_memory_plan_t * plan_
uint32_t next_index_
zlang_emitted_symbol_t emitted_symbols_ [ZLANG_EMITTED_SYMBOL_CAPACITY]
size_t emitted_symbol_count_
size_t active_symbol_count_
zlang_emitted_sequence_t emitted_sequences_ [ZLANG_EMITTED_SEQUENCE_CAPACITY]
size_t emitted_sequence_count_
zlang_emitted_literal_t emitted_literals_ [ZLANG_EMITTED_LITERAL_CAPACITY]
size_t emitted_literal_count_
zlang_emitted_capacity_t emitted_capacities_ [ZLANG_EMITTED_SEQUENCE_CAPACITY]
size_t emitted_capacity_count_
zlang_emitted_user_type_t emitted_user_types_ [ZLANG_EMITTED_USER_TYPE_CAPACITY]
size_t emitted_user_type_count_
zlang_emitted_vtable_t emitted_vtables_ [ZLANG_EMITTED_VTABLE_CAPACITY]
size_t emitted_vtable_count_
zlang_emitted_type_tag_t emitted_type_tags_ [ZLANG_EMITTED_TYPE_TAG_CAPACITY]
size_t emitted_type_tag_count_
zlang_emitted_enum_item_t emitted_enum_items_ [ZLANG_EMITTED_ENUM_ITEM_CAPACITY]
size_t emitted_enum_item_count_
size_t cse_expression_indices_ [ZLANG_EMITTED_CSE_CAPACITY]
char cse_names_ [ZLANG_EMITTED_CSE_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]
size_t cse_count_
size_t cse_pointer_indices_ [ZLANG_EMITTED_CSE_CAPACITY]
char cse_pointer_names_ [ZLANG_EMITTED_CSE_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]
const char * cse_pointer_base_names_ [ZLANG_EMITTED_CSE_CAPACITY]
const char * cse_pointer_dependency_names_ [ZLANG_EMITTED_CSE_CAPACITY]
size_t cse_pointer_count_
bool emitted_comments_ [ZLANG_EMITTED_COMMENT_CAPACITY]
bool emit_comments_
zlang_emitted_array_helper_t requested_array_helpers_ [ZLANG_EMITTED_ARRAY_HELPER_CAPACITY]
size_t requested_array_helper_count_
bool collecting_array_helpers_
zlang_emitted_function_t emitted_functions_ [ZLANG_EMITTED_SYMBOL_CAPACITY]
size_t emitted_function_count_
zlang_array_specialization_t array_specializations_ [ZLANG_MAX_ARRAY_SPECIALIZATIONS]
size_t array_specialization_count_
const zlang_array_specialization_t * active_specialization_
bool uses_stateful_std_
bool in_function_
bool has_explicit_main_
const zlang_program_t * program_
const zlang_ast_statement_t * current_struct_
const char * current_return_type_
const char * current_self_name_
bool current_self_is_pointer_
char activated_macros_ [ZLANG_EMITTED_SYMBOL_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]
size_t activated_macro_count_

Field Documentation

◆ activated_macro_count_

size_t zlang_emitter_t::activated_macro_count_

◆ activated_macros_

char zlang_emitter_t::activated_macros_[ZLANG_EMITTED_SYMBOL_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]

◆ active_specialization_

const zlang_array_specialization_t* zlang_emitter_t::active_specialization_

◆ active_symbol_count_

size_t zlang_emitter_t::active_symbol_count_

◆ array_specialization_count_

size_t zlang_emitter_t::array_specialization_count_

◆ array_specializations_

zlang_array_specialization_t zlang_emitter_t::array_specializations_[ZLANG_MAX_ARRAY_SPECIALIZATIONS]

◆ buffer_

char* zlang_emitter_t::buffer_

◆ capacity_

size_t zlang_emitter_t::capacity_

◆ collecting_array_helpers_

bool zlang_emitter_t::collecting_array_helpers_

◆ cse_count_

size_t zlang_emitter_t::cse_count_

◆ cse_expression_indices_

size_t zlang_emitter_t::cse_expression_indices_[ZLANG_EMITTED_CSE_CAPACITY]

◆ cse_names_

char zlang_emitter_t::cse_names_[ZLANG_EMITTED_CSE_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]

◆ cse_pointer_base_names_

const char* zlang_emitter_t::cse_pointer_base_names_[ZLANG_EMITTED_CSE_CAPACITY]

◆ cse_pointer_count_

size_t zlang_emitter_t::cse_pointer_count_

◆ cse_pointer_dependency_names_

const char* zlang_emitter_t::cse_pointer_dependency_names_[ZLANG_EMITTED_CSE_CAPACITY]

◆ cse_pointer_indices_

size_t zlang_emitter_t::cse_pointer_indices_[ZLANG_EMITTED_CSE_CAPACITY]

◆ cse_pointer_names_

char zlang_emitter_t::cse_pointer_names_[ZLANG_EMITTED_CSE_CAPACITY][ZLANG_EMITTED_NAME_CAPACITY]

◆ current_return_type_

const char* zlang_emitter_t::current_return_type_

◆ current_self_is_pointer_

bool zlang_emitter_t::current_self_is_pointer_

◆ current_self_name_

const char* zlang_emitter_t::current_self_name_

◆ current_struct_

const zlang_ast_statement_t* zlang_emitter_t::current_struct_

◆ diagnostics_

zlang_diagnostics_t* zlang_emitter_t::diagnostics_

◆ emit_comments_

bool zlang_emitter_t::emit_comments_

◆ emitted_capacities_

zlang_emitted_capacity_t zlang_emitter_t::emitted_capacities_[ZLANG_EMITTED_SEQUENCE_CAPACITY]

◆ emitted_capacity_count_

size_t zlang_emitter_t::emitted_capacity_count_

◆ emitted_comments_

bool zlang_emitter_t::emitted_comments_[ZLANG_EMITTED_COMMENT_CAPACITY]

◆ emitted_enum_item_count_

size_t zlang_emitter_t::emitted_enum_item_count_

◆ emitted_enum_items_

zlang_emitted_enum_item_t zlang_emitter_t::emitted_enum_items_[ZLANG_EMITTED_ENUM_ITEM_CAPACITY]

◆ emitted_function_count_

size_t zlang_emitter_t::emitted_function_count_

◆ emitted_functions_

zlang_emitted_function_t zlang_emitter_t::emitted_functions_[ZLANG_EMITTED_SYMBOL_CAPACITY]

◆ emitted_literal_count_

size_t zlang_emitter_t::emitted_literal_count_

◆ emitted_literals_

zlang_emitted_literal_t zlang_emitter_t::emitted_literals_[ZLANG_EMITTED_LITERAL_CAPACITY]

◆ emitted_sequence_count_

size_t zlang_emitter_t::emitted_sequence_count_

◆ emitted_sequences_

zlang_emitted_sequence_t zlang_emitter_t::emitted_sequences_[ZLANG_EMITTED_SEQUENCE_CAPACITY]

◆ emitted_symbol_count_

size_t zlang_emitter_t::emitted_symbol_count_

◆ emitted_symbols_

zlang_emitted_symbol_t zlang_emitter_t::emitted_symbols_[ZLANG_EMITTED_SYMBOL_CAPACITY]

◆ emitted_type_tag_count_

size_t zlang_emitter_t::emitted_type_tag_count_

◆ emitted_type_tags_

zlang_emitted_type_tag_t zlang_emitter_t::emitted_type_tags_[ZLANG_EMITTED_TYPE_TAG_CAPACITY]

◆ emitted_user_type_count_

size_t zlang_emitter_t::emitted_user_type_count_

◆ emitted_user_types_

zlang_emitted_user_type_t zlang_emitter_t::emitted_user_types_[ZLANG_EMITTED_USER_TYPE_CAPACITY]

◆ emitted_vtable_count_

size_t zlang_emitter_t::emitted_vtable_count_

◆ emitted_vtables_

zlang_emitted_vtable_t zlang_emitter_t::emitted_vtables_[ZLANG_EMITTED_VTABLE_CAPACITY]

◆ has_explicit_main_

bool zlang_emitter_t::has_explicit_main_

◆ in_function_

bool zlang_emitter_t::in_function_

◆ length_

size_t zlang_emitter_t::length_

◆ next_index_

uint32_t zlang_emitter_t::next_index_

◆ plan_

const zlang_memory_plan_t* zlang_emitter_t::plan_

◆ program_

const zlang_program_t* zlang_emitter_t::program_

◆ requested_array_helper_count_

size_t zlang_emitter_t::requested_array_helper_count_

◆ requested_array_helpers_

zlang_emitted_array_helper_t zlang_emitter_t::requested_array_helpers_[ZLANG_EMITTED_ARRAY_HELPER_CAPACITY]

◆ uses_stateful_std_

bool zlang_emitter_t::uses_stateful_std_

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