[FEAT] Implemented struct, still testing. [FEAT] Implemented var, still testing.
18 lines
488 B
C++
18 lines
488 B
C++
#pragma once
|
|
#include <string>
|
|
#include <stdint.h>
|
|
|
|
void scope_init();
|
|
const bool scope_is_local();
|
|
void scope_open_local();
|
|
const int scope_close_local();
|
|
void scope_open_block();
|
|
void scope_close_block();
|
|
|
|
const int scope_declare_variable(const std::string name, const uint32_t type, const uint32_t length);
|
|
|
|
const bool scope_variable_exists(const std::string name);
|
|
const uint32_t scope_get_variable_address();
|
|
const int scope_get_variable_size();
|
|
const int scope_get_variable_type();
|