vb_parser.h

来自「一个统计文件大小和程序信息的插件程序(vc或vc.net下使用)」· C头文件 代码 · 共 46 行

H
46
字号
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by John Kohler, and is bound by the  */
/* MIT open source license (www.opensource.org/licenses/mit-license.html). */
/* See License.txt for more information.                                   */
/***************************************************************************/

#ifndef __VB_PARSER_H
#define __VB_PARSER_H

#include "FileParser.h"

class CVBParser : public IFileParser
{
public:
    CVBParser() {};

    virtual void ParseFile(ifstream& ifs, CFileInfo& info);

    virtual LPCTSTR GetDefaultExtensions() const 
    {
        return _T("FRM/CLS/BAS/MOD/VB");
    }

    virtual LPCTSTR GetParserCfgCode() const 
    {
        return _T("VB");
    }

    virtual int GetParserNameResourceID() const
    {
        return IDS_PARSERNAME_VB;
    }

protected:

    virtual void ParseLine(
        CString sLine,
        /* in out */ bool& bMultiLineComment,
        /* out */ bool& bHasCode,
        /* out */ bool& bHasComments);
};


#endif // __CPP_PARSER_H

⌨️ 快捷键说明

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