?? token.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);
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -