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

📄 token.h

📁 a basic interpreter free basic
💻 H
字号:
#pragma once
#include "Common.h"

/*
 * Class CToken - Class for an individual token
 */
class CToken
{
private:
	// Type of token
	tokentype_t m_TokenType;

	// Lexeme of the token
	string m_Lexeme;

public:
	// Construct the token to populate
	CToken(void);
	~CToken(void);
	CToken(tokentype_t TokenType, string Lexeme);
	// Set the token type
	void SetTokenType(tokentype_t TokenType);
	// Get the token type
	tokentype_t GetTokenType(void);
	// Set the token lexeme
	void SetLexeme(string Lexeme);
	// Get the token lexeme
	string GetLexeme(void);
};

⌨️ 快捷键说明

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