identifier.h
来自「著名的uncle Bob的Agile software development的」· C头文件 代码 · 共 27 行
H
27 行
#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 + =
减小字号Ctrl + -
显示快捷键?