atssentence.h

来自「AtScript 1.1 一个很好用的脚本引擎,可以很方便的在你的软件中实现脚本」· C头文件 代码 · 共 47 行

H
47
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?