⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctoken.xml

📁 这是一个能够自动生成文档的程序
💻 XML
字号:
<?xml version="1.0" encoding="GB2312" ?><class name="CToken">	<explain>记号对象。
使用CTokenReader::ReadTokenList()将源代码转换为记号对象序列,以便进行下一步解析。
</explain>	<function name="CToken">		<prototype index="1">CToken(int iLine,int iColumn,UINT iType=TT_UNDEFINED,BOOL iForeSpace=0);</prototype>		<desc>构造函数
</desc>		<explain>构造函数
</explain>		<prototype index="2">CToken(int iLine,int iColumn,CToken* ipOther);</prototype>		<prototype index="3">CToken(CToken* ipOther);</prototype>	</function>	<function name="~CToken">		<prototype index="1">virtual ~CToken();</prototype>		<desc>析构函数
</desc>		<explain>析构函数
</explain>	</function>	<function name="ReadWord">		<prototype index="1">int ReadWord(LPCTSTR iopCode);</prototype>		<desc>读取一个单词
</desc>		<explain>读取一个单词
</explain>	</function>	<function name="ReadDigit">		<prototype index="1">int ReadDigit(LPCTSTR ipCode);</prototype>		<desc>读取一个数字
</desc>		<explain>读取一个数字
</explain>	</function>	<function name="ReadSingleLineComment">		<prototype index="1">int ReadSingleLineComment(LPCTSTR ipCode);</prototype>		<desc>读取单行注释
</desc>		<explain>读取单行注释
</explain>	</function>	<function name="ReadMulLineComment">		<prototype index="1">int ReadMulLineComment(LPCTSTR ipCode);</prototype>		<desc>读取多行注释
</desc>		<explain>读取多行注释
</explain>	</function>	<function name="ReadString">		<prototype index="1">int ReadString(LPCTSTR ipCode);</prototype>		<desc>读取字符串
</desc>		<explain>读取字符串
</explain>	</function>	<function name="ReadWString">		<prototype index="1">int ReadWString(LPCTSTR ipCode);</prototype>		<desc>读取宽字符串
</desc>		<explain>读取宽字符串
</explain>	</function>	<function name="ReadChar">		<prototype index="1">int ReadChar(LPCTSTR ipCode);</prototype>		<desc>读取字符
</desc>		<explain>读取字符
</explain>	</function>	<function name="ReadWChar">		<prototype index="1">int ReadWChar(LPCTSTR ipCode);</prototype>		<desc>读取宽字符
</desc>		<explain>读取宽字符
</explain>	</function>	<function name="CopyContent">		<prototype index="1">void CopyContent(LPCTSTR ipCode,int iLen);</prototype>		<desc>拷同内容字符串到记号对象
</desc>		<explain>拷同内容字符串到记号对象
</explain>		<prototype index="2">void CopyContent(LPCTSTR ipCode,int iLen,LPCTSTR iHead);</prototype>	</function>	<function name="UpdateContent">		<prototype index="1">void UpdateContent(LPCTSTR iNewContent);</prototype>		<desc>更新内容字符串
</desc>		<explain>更新内容字符串
</explain>	</function>	<function name="CatContent">		<prototype index="1">void CatContent(LPCTSTR iCat);</prototype>		<desc>在内容字符串后面连接一个字符串
</desc>		<explain>在内容字符串后面连接一个字符串
</explain>	</function>	<function name="CleanupComment">		<prototype index="1">void CleanupComment(CString&amp; oComment);</prototype>		<desc>将注释整理后输出
</desc>		<explain>将注释整理后输出
</explain>	</function>	<function name="IsBeginOfWord">		<prototype index="1">BOOL IsBeginOfWord(char ch);</prototype>		<desc>判断一个字符是否可作为一个单词的开头
</desc>		<explain>判断一个字符是否可作为一个单词的开头
</explain>	</function>	<function name="IsWordPart">		<prototype index="1">BOOL IsWordPart(char ch);</prototype>		<desc>判断一个字符是否可作为一个单词的一部分
</desc>		<explain>判断一个字符是否可作为一个单词的一部分
</explain>	</function>	<function name="IsDigit">		<prototype index="1">BOOL IsDigit(char ch);</prototype>		<desc>判断一个字符是否可作为一个数字的开头
</desc>		<explain>判断一个字符是否可作为一个数字的开头
</explain>	</function>	<function name="GetContent">		<prototype index="1">LPCTSTR GetContent() const;</prototype>		<desc>取得记号的内容字符串
</desc>		<explain>取得记号的内容字符串
</explain>	</function>	<function name="GetType">		<prototype index="1">UINT GetType() const;</prototype>		<desc>取得记号的类型
</desc>		<explain>取得记号的类型
</explain>	</function>	<function name="IsType">		<prototype index="1">BOOL IsType(UINT iType) const;</prototype>		<desc>判断记号是否属于某种类型
</desc>		<explain>判断记号是否属于某种类型
</explain>	</function>	<function name="GetSubType">		<prototype index="1">UINT GetSubType() const;</prototype>		<desc>取得记号的子类型,用于数字类
</desc>		<explain>取得记号的子类型,用于数字类
</explain>	</function>	<function name="SetType">		<prototype index="1">void SetType(UINT iType);</prototype>		<desc>设置记号类型
</desc>		<explain>设置记号类型
</explain>	</function>	<function name="GetLine">		<prototype index="1">int GetLine() const;</prototype>		<desc>取得记号的行号
</desc>		<explain>取得记号的行号
</explain>	</function>	<function name="GetColumn">		<prototype index="1">int GetColumn() const;</prototype>		<desc>取得记号的列号
</desc>		<explain>取得记号的列号
</explain>	</function>	<function name="SetLine">		<prototype index="1">void SetLine(int iLine);</prototype>		<desc>设置记号的行号
</desc>		<explain>设置记号的行号
</explain>	</function>	<function name="SetColumn">		<prototype index="1">void SetColumn(int iColumn);</prototype>		<desc>设置记号的列号
</desc>		<explain>设置记号的列号
</explain>	</function>	<function name="IsForeSpace">		<prototype index="1">BOOL IsForeSpace() const;</prototype>		<desc>判断记号是否前面有空格
</desc>		<explain>判断记号是否前面有空格
</explain>	</function>	<function name="SetForeSpace">		<prototype index="1">void SetForeSpace(UINT iForeSpace);</prototype>		<desc>设置记号的空格数
</desc>		<explain>设置记号的空格数
</explain>	</function>	<function name="CatContentTo">		<prototype index="1">void CatContentTo(CString&amp; oDes);</prototype>		<desc>将记号的内容字符串边接到一个字符串后面
</desc>		<explain>将记号的内容字符串边接到一个字符串后面
</explain>	</function>	<function name="GetPrecedence">		<prototype index="1">int GetPrecedence() const;</prototype>		<desc>取得操作符记号的优先级
</desc>		<explain>取得操作符记号的优先级
</explain>	</function>	<function name="IsFormalToken">		<prototype index="1">BOOL IsFormalToken() const;</prototype>		<desc>判断是否正式记号,在经过预处理后应该只保存正式记号...</desc>		<explain>判断是否正式记号,在经过预处理后应该只保存正式记号
</explain>		<prototype index="2">static BOOL IsFormalToken(UINT iType);</prototype>	</function>	<function name="IsOperator">		<prototype index="1">BOOL IsOperator() const;</prototype>		<desc>判断记号是否是操作符
</desc>		<explain>判断记号是否是操作符
</explain>	</function>	<function name="IsLiteral">		<prototype index="1">BOOL IsLiteral() const;</prototype>		<desc>判断记号是否前面是文字常量
</desc>		<explain>判断记号是否前面是文字常量
</explain>	</function>	<function name="IsIdentifier">		<prototype index="1">BOOL IsIdentifier() const;</prototype>		<desc>判断记号是否前面是标识符
</desc>		<explain>判断记号是否前面是标识符
</explain>	</function>	<function name="IsLParan">		<prototype index="1">BOOL IsLParan() const;</prototype>		<desc>判断记号是否前面是左括号中的一种,包括&lt; ( [ {
</desc>		<explain>判断记号是否前面是左括号中的一种,包括&lt; ( [ {
</explain>	</function>	<function name="IsRParan">		<prototype index="1">BOOL IsRParan() const;</prototype>		<desc>判断记号是否前面是右括号中的一种,包括&gt; ) ] }
</desc>		<explain>判断记号是否前面是右括号中的一种,包括&gt; ) ] }
</explain>	</function></class>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -