📄 cmacro.xml
字号:
<?xml version="1.0" encoding="GB2312" ?><class name="CMacro"> <explain>宏对象
</explain> <function name="CMacro"> <prototype index="1">CMacro(CPage* ipPage=NULL,int iLine=1,int iColumn=1);</prototype> <desc>构造函数
</desc> <explain>构造函数
</explain> </function> <function name="~CMacro"> <prototype index="1">virtual ~CMacro();</prototype> <desc>析构函数
</desc> <explain>析构函数
</explain> </function> <function name="ParseContent"> <prototype index="1">void ParseContent(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析宏内容(自宏名后的token开始)
</desc> <explain>解析宏内容(自宏名后的token开始)
</explain> </function> <function name="ParseParam"> <prototype index="1">void ParseParam(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>解析宏形参(自(后的token开始)
</desc> <explain>解析宏形参(自(后的token开始)
</explain> </function> <function name="ParseArg"> <prototype index="1">BOOL ParseArg(CTokenList& ioList,POSITION& ioPos,CTokenList& oArgTokenList);</prototype> <desc>解析宏实参(自(后的token开始)
</desc> <explain>解析宏实参(自(后的token开始)
</explain> </function> <function name="AddParam"> <prototype index="1">void AddParam(LPCTSTR iParam);</prototype> <desc>添加一个形式参数
</desc> <explain>添加一个形式参数
</explain> </function> <function name="AddToken"> <prototype index="1">void AddToken(CToken* ipToken);</prototype> <desc>添加该宏的定义中的记号对象
</desc> <explain>添加该宏的定义中的记号对象
</explain> </function> <function name="Unwind"> <prototype index="1">void Unwind(CTokenList& ioList,POSITION& ioPos);</prototype> <desc>输出宏展开后的结果,保存到oUnwind
iParam为宏参数
将...</desc> <explain>输出宏展开后的结果,保存到oUnwind
iParam为宏参数
将宏展开后插后Token List中,删除宏名所在Token, POSITION
移到指向展开后的第一个Token
</explain> </function> <function name="ParseMacroFormCode"> <prototype index="1">static void ParseMacroFormCode(LPCTSTR iSrc);</prototype> <desc>从源代码解析宏定义
</desc> <explain>从源代码解析宏定义
</explain> </function></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -