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

Download this file

DevEnvInput.hpp    35 lines (27 with data), 982 Bytes

 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
#ifndef DevEnvInput_hpp_3160
#define DevEnvInput_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 DevEnvInputGrammar;
typedef std::shared_ptr<DevEnvInputGrammar> DevEnvInputGrammarPtr;
class DevEnvInputGrammar : public Soul::Parsing::Grammar
{
public:
static DevEnvInputGrammarPtr Create();
static DevEnvInputGrammarPtr Create(ParsingDomainPtr parsingDomain);
DevEnvCommand Parse(const std::string& content, int fileIndex, const std::string& fileName);
private:
DevEnvInputGrammar(ParsingDomainPtr parsingDomain_);
virtual void CreateRules();
virtual void GetReferencedGrammars();
class CommandRule;
class LibraryNameRule;
class OnOffRule;
class ArgRule;
};
} } // namespace Cm.Debugger
#endif // DevEnvInput_hpp_3160