Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[r571]: cmajor++ / Cm / Cm.Debugger / CmdbFile.hpp Maximize Restore History

Download this file

CmdbFile.hpp    38 lines (30 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef CmdbFile_hpp_3160
#define CmdbFile_hpp_3160
#include <Soul.Parsing/Grammar.hpp>
#include <Soul.Parsing/Keyword.hpp>
#include <Cm.Debugger/DebugInfo.hpp>
namespace Cm { namespace Debugger {
using Soul::Parsing::GrammarPtr;
using Soul::Parsing::ParsingDomainPtr;
class CmdbFileGrammar;
typedef std::shared_ptr<CmdbFileGrammar> CmdbFileGrammarPtr;
class CmdbFileGrammar : public Soul::Parsing::Grammar
{
public:
static CmdbFileGrammarPtr Create();
static CmdbFileGrammarPtr Create(ParsingDomainPtr parsingDomain);
void Parse(const std::string& content, int fileIndex, const std::string& fileName, DebugInfo* debugInfo);
private:
CmdbFileGrammar(ParsingDomainPtr parsingDomain_);
virtual void CreateRules();
virtual void GetReferencedGrammars();
class CmdbFileRule;
class LibraryRule;
class DebugUnitRule;
class ContainingLibraryRule;
class SourceFilePathRule;
class CdiFilePathRule;
class FilePathRule;
};
} } // namespace Cm.Debugger
#endif // CmdbFile_hpp_3160