📄 atssentence.h
字号:
// AtsSentence.h: interface for the CAtsSentence class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ATSSENTENCE_H__70B73087_E62E_462C_9703_E7D132B5AD56__INCLUDED_)
#define AFX_ATSSENTENCE_H__70B73087_E62E_462C_9703_E7D132B5AD56__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define ATS_SENTENCE_TYPE_NONE (0)
#define ATS_SENTENCE_TYPE_IF (1)
#define ATS_SENTENCE_TYPE_WHILE (2) //While...Wend 语句
#define ATS_SENTENCE_TYPE_DO (3) //Do...loop 语句
#define ATS_SENTENCE_TYPE_SWITCH (4) //switch 语句
#define ATS_SENTENCE_TYPE_FOR (5) //for 语句
#include <afx.h>
#include "AtsString.h"
class CAtsSegIns;
////////////////////////////////////////////////////
// 语句 对象
////////////////////////////////////////////////////
class CAtsSentence : public CObject
{
public:
CAtsSentence();
virtual ~CAtsSentence();
int m_nType;
int m_nBeginPos;
int m_nEndPos;
CAtsString m_strCondition;
CAtsSegIns *m_pSegIns;
CObList m_listSite;
int m_nStep; // 如果是for 语句,放的是步长
int m_nEnd; // 如果是for 语句,放的是最后的值
CString m_strVarName; // 如果是for 语句,放的是计数器的变量名
public:
};
#endif // !defined(AFX_ATSSENTENCE_H__70B73087_E62E_462C_9703_E7D132B5AD56__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -