Delete nasal_var.h
This commit is contained in:
parent
1add56e593
commit
43dbb5b9d6
|
@ -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
|
|
Loading…
Reference in New Issue