📄 ccppparser.xml
字号:
<?xml version="1.0" encoding="GB2312" ?><class name="CCppParser"> <explain>C/C++代码解析器
</explain> <function name="CCppParser"> <prototype index="1">CCppParser();</prototype> <desc>构造函数
</desc> <explain>构造函数
</explain> </function> <function name="~CCppParser"> <prototype index="1">virtual ~CCppParser();</prototype> <desc>析构函数
</desc> <explain>析构函数
</explain> </function> <function name="ParseFile"> <prototype index="1">BOOL ParseFile(LPCTSTR iPathName);</prototype> <desc>解析一个文件的代码
</desc> <explain>解析一个文件的代码
</explain> </function> <function name="ParsePage"> <prototype index="1">BOOL ParsePage(CPage* ipPage);</prototype> <desc>解析一个代码页的代码
</desc> <explain>解析一个代码页的代码
</explain> </function> <function name="ParseCode"> <prototype index="1">BOOL ParseCode(char* ipCode);</prototype> <desc>解析代码字符串
</desc> <explain>解析代码字符串
</explain> </function> <function name="Preprocessor"> <prototype index="1">BOOL Preprocessor(CTokenList& ioList);</prototype> <desc>预处理
</desc> <explain>预处理
</explain> </function> <function name="ReadTokenList"> <prototype index="1">void ReadTokenList(CTokenList& oList,LPCTSTR ipCode);</prototype> <desc>将源代码转换成记号序列
</desc> <explain>将源代码转换成记号序列
</explain> </function> <function name="ClearTokenList"> <prototype index="1">void ClearTokenList(CTokenList& iList);</prototype> <desc>清除记号序列对象
</desc> <explain>清除记号序列对象
</explain> </function> <function name="ParsePreprocessor"> <prototype index="1">BOOL ParsePreprocessor(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析预编译代码
</desc> <explain>解析预编译代码
</explain> </function> <function name="ParsePreprocessorIf"> <prototype index="1">void ParsePreprocessorIf(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析#if
</desc> <explain>解析#if
</explain> </function> <function name="ParsePreprocessorIfdef"> <prototype index="1">void ParsePreprocessorIfdef(CTokenList& ioList,POSITION& ioPos,BOOL iNot=FALSE);</prototype> <desc>解析#ifdef
</desc> <explain>解析#ifdef
</explain> </function> <function name="ParsePreprocessorDefine"> <prototype index="1">void ParsePreprocessorDefine(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析#define
</desc> <explain>解析#define
</explain> </function> <function name="ParsePreprocessorUndefine"> <prototype index="1">void ParsePreprocessorUndefine(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析#undef
</desc> <explain>解析#undef
</explain> </function> <function name="ParsePreprocessorInclude"> <prototype index="1">void ParsePreprocessorInclude(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析#include
</desc> <explain>解析#include
</explain> </function> <function name="ParseWord"> <prototype index="1">void ParseWord(CTokenList& ioList,POSITION& ioPos,POSITION& iCurrPos,LPCTSTR iWord);</prototype> <desc>解析一个单词或以一个单开始的代码
</desc> <explain>解析一个单词或以一个单开始的代码
</explain> </function> <function name="ParseNameSpace"> <prototype index="1">void ParseNameSpace(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析namespace定义
</desc> <explain>解析namespace定义
</explain> </function> <function name="ParseTemplate"> <prototype index="1">void ParseTemplate(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析模板声明
</desc> <explain>解析模板声明
</explain> </function> <function name="ParseGlobalFuncOrVar"> <prototype index="1">void ParseGlobalFuncOrVar(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析全局函数或变量
</desc> <explain>解析全局函数或变量
</explain> </function> <function name="ClearContent"> <prototype index="1">void ClearContent();</prototype> <desc>清除所有内容
</desc> <explain>清除所有内容
</explain> </function> <function name="SetSkip"> <prototype index="1">void SetSkip(BOOL iSkip=TRUE);</prototype> <desc>设置忽略标记,为TRRE时跳过当前代码
</desc> <explain>设置忽略标记,为TRRE时跳过当前代码
</explain> </function> <function name="ResetSkip"> <prototype index="1">void ResetSkip();</prototype> <desc>重置忽略标记
</desc> <explain>重置忽略标记
</explain> </function> <function name="IsSkip"> <prototype index="1">BOOL IsSkip() const;</prototype> <desc>判断是否处于忽略标记
</desc> <explain>判断是否处于忽略标记
</explain> </function> <function name="SetSkipCount"> <prototype index="1">void SetSkipCount(int iCount);</prototype> <desc>设置忽略标记的层次: #ifdef ... #ifdef
</desc> <explain>设置忽略标记的层次: #ifdef ... #ifdef
</explain> </function> <function name="GetSkipCount"> <prototype index="1">int GetSkipCount() const;</prototype> <desc>取得忽略标记的层次
</desc> <explain>取得忽略标记的层次
</explain> </function> <function name="GotoNextLine"> <prototype index="1">void GotoNextLine(CTokenList& ioList,POSITION& ioPos,CToken* ipCurrToken);</prototype> <desc>忽略当前行的内容,即把ioPos移到指到下一行开始Token...</desc> <explain>忽略当前行的内容,即把ioPos移到指到下一行开始Token
</explain> </function></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -