📄 identifier.h
字号:
#ifndef PARSER_IDENTIFIER_H
#define PARSER_IDENTIFIER_H
#include "Parser/scope.h"
//-------------------------------------------------------------
// Name
// Identifier
//
// Description
// This class represents an identifier in a C++ program. It
// contains its name and the scope that it belongs to.
//
namespace Parser
{
class Identifier
{
public:
Identifier(Scope& theScope, const string& theName);
private:
Scope& itsScope;
string itsName;
};
}; // namespace Parser
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -