Menu

#include using namespace std

#include

using namespace std;
///new
class Function
{
vector function_parameters_h;
string returntype;
bool is_defined=false;
}
class SymbolInfo
{
string name;
string type;
// EICOMMENT_BAAD_JAABEKINA_JANINA
int integervalue;
float floatvalue;
public:
int array_size=-100;
SymbolInfo * next;
Function * symbol_function;
string tokentype;
SymbolInfo ** array;
SymbolInfo()
{
next=0;
symbol_function=0;
array=0;
}
void setname(string x_name)
{
this->name=x_name;
}
string getname()
{
return this->name;
}
void settype(string x_type)
{
this->type=x_type;
}
string gettype()
{
return this->type;
}
/// EICOMMENT_BAAD_JAABEKINA_JANINA
void setarraysize(int siz)
{
this->array_size=siz;
}
void setdefined()
{
this->symbol_function->is_defined=true;
}
/*void Print()
{

}
*/
};

class ScopeTable
{
public:
ScopeTable * parentscope;
int scopeid;
SymbolInfo ** Hashtable;
int number_of_slots;
ScopeTable()
{
//cout