Delete nasal_func.h

This commit is contained in:
Valk Richard Li 2019-09-27 22:40:11 +08:00 committed by GitHub
parent 6e5194d36c
commit 7913af9ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
#ifndef __NASAL_FUNC_H__
#define __NASAL_FUNC_H__
#include "nasal_token.h"
//for function
#define FUNC_BEGIN 0
#define FUNC_OPERATOR 1
#define FUNC_IDENTIFIER 2
#define FUNC_NUMBER 3
#define FUNC_RESERVEWORD 4
#define FUNC_STRING 5
struct parameter
{
std::string var_name;
var param_var;
parameter *next;
};
class func
{
private:
token_unit *statement_head;
parameter *parameter_head;
public:
func();
func(const func&);
~func();
func& operator=(const func&);
void append_var(std::string&,var&);
void append_token(const int,const int,std::string &);
void print_info();
};
#endif