1#ifndef Rosebud_NoneGenerator_H
2#define Rosebud_NoneGenerator_H
3#include <Rosebud/Generator.h>
5#include <Sawyer/CommandLine.h>
12 using Ptr = std::shared_ptr<NoneGenerator>;
18 static Ptr instance();
19 virtual std::string
name()
const override;
20 virtual std::string
purpose()
const override;
Base class for backend code generators.
Generator that produces a YAML description of the input.
virtual std::string name() const override
Property: Every generator should have a unique name.
virtual void generate(const Ast::ProjectPtr &) override
Generate code.
virtual std::string purpose() const override
Property: Single-line description for documentation.
std::shared_ptr< Project > ProjectPtr
Shared-ownership pointer to a Project.
Rosebud is a tool to generate abstract syntax trees.