symbolentry.h

来自「an easy compiler to compile C」· C头文件 代码 · 共 27 行

H
27
字号
// SymbolEntry.h: interface for the SymbolEntry class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SYMBOLENTRY_H__A231FFAB_5A7D_48A0_8C11_F52721EA1653__INCLUDED_)
#define AFX_SYMBOLENTRY_H__A231FFAB_5A7D_48A0_8C11_F52721EA1653__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <string>

using namespace std;

class SymbolEntry
{
public:
	string lexeme;
	int token_type;

	SymbolEntry(const string& alexeme, int atoken_type);
	bool operator!=(const SymbolEntry& se) const;
};

#endif // !defined(AFX_SYMBOLENTRY_H__A231FFAB_5A7D_48A0_8C11_F52721EA1653__INCLUDED_)

⌨️ 快捷键说明

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