ROSE  0.11.145.0
NoneGenerator.h
1 #ifndef Rosebud_NoneGenerator_H
2 #define Rosebud_NoneGenerator_H
3 #include <Rosebud/Generator.h>
4 
5 #include <Sawyer/CommandLine.h>
6 
7 namespace Rosebud {
8 
10 class NoneGenerator: public Generator {
11 public:
12  using Ptr = std::shared_ptr<NoneGenerator>;
13 
14 protected:
15  NoneGenerator() {}
16 
17 public:
18  static Ptr instance();
19  virtual std::string name() const override;
20  virtual std::string purpose() const override;
21  virtual void generate(const Ast::ProjectPtr&) override;
22 };
23 
24 } // namespace
25 #endif
std::shared_ptr< Project > ProjectPtr
Shared-ownership pointer to a Project.
Definition: ud/BasicTypes.h:55
Rosebud is a tool to generate code for ROSE.
Definition: Ast.h:14
virtual std::string purpose() const override
Single-line description for documentation.
Generator that produces a YAML description of the input.
Definition: NoneGenerator.h:10
Base class for backend code generators.
Definition: Generator.h:10
virtual std::string name() const override
Every generator should have a unique name.
virtual void generate(const Ast::ProjectPtr &) override
Generate code.