Delete nasal_var.h

This commit is contained in:
Valk Richard Li 2020-06-19 00:11:11 +08:00 committed by GitHub
parent 1add56e593
commit 43dbb5b9d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 60 deletions

View File

@ -1,60 +0,0 @@
#ifndef __NASAL_VAR_H__
#define __NASAL_VAR_H__
#include <cstring>
#include <list>
enum var_type
{
var_null=0xaa55,
var_number,
var_string,
var_list,
var_hash,
var_function
};
class nasal_list;
class nasal_hash;
class var
{
private:
void* ptr;
int type;
public:
var();
var(const var&);
~var();
var& operator=(const var& temp);
};
class nasal_list
{
private:
std::list<var> elem;
public:
nasal_list();
nasal_list(const nasal_list&);
};
class nasal_hash
{
private:
std::list<var> elem;
std::list<std::string> elem_name;
public:
nasal_hash();
nasal_hash(const nasal_hash&);
};
class nasal_function
{
private:
std::list<abstract_syntax_tree> root;
public:
nasal_function();
nasal_function(const nasal_function&);
};
#endif