⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 key.h

📁 CEL代码的中间编译
💻 H
字号:
// KEY.h: interface for the KEY class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_KEY_H__A50891DA_227B_4027_B5A0_1071872CE02A__INCLUDED_)
#define AFX_KEY_H__A50891DA_227B_4027_B5A0_1071872CE02A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DIGIT.h"
#include "Line.h"
class KEY  
{
public:
	int GetKeyTag(int n);
	CString GetKeyKind(int n);
	CString GetKeyKind(CString skey);
	CString GetKeyOpercode(int n);
	CString GetKeyOpercode(CString key);
	BOOL IsKeyword(CString word);
	int GetBYTELength(CString string);
	int GetKEYn(CString skey);
	int GetBYTELength(CLine myLine);//获得myline的字节长度
	int GetKEYWords(CString skey);//获得这个关键字,语句应该具有的单词数   
	KEY();
	virtual ~KEY();

protected:
	 struct Key
	{CString name;
	 CString opercode;
	 CString kind;
	 short unsigned int tag;
	}key[100];
};

#endif // !defined(AFX_KEY_H__A50891DA_227B_4027_B5A0_1071872CE02A__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -