Scope module finished. Types module included &done
This commit is contained in:
14
scope.h
14
scope.h
@@ -1,8 +1,16 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
|
||||
void scope_init();
|
||||
void scope_open_local();
|
||||
void scope_close_local();
|
||||
const int scope_declare_variable(const std::string name, const int type, const int length);
|
||||
//scope_get_variable...
|
||||
const int scope_close_local();
|
||||
void scope_open_block();
|
||||
void scope_close_block();
|
||||
|
||||
const uint32_t scope_declare_variable(const std::string name, const int type, const int 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();
|
||||
|
||||
Reference in New Issue
Block a user