diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-13 18:46:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-13 18:46:11 +0200 |
commit | cb65012eb524eb57b00249f1dee0f245e947cda4 (patch) | |
tree | 9706e59d98f2208ec110d84a5aaef14e45b49542 /cli/generator.hxx | |
parent | a1686fdeabe24823225cfb4cf79646e12cf98b2c (diff) |
Use new path class, add context and generator classes
Use cutl::fs::path instead of std::string in the semantic
graph. Add context and generator stubs, to be filled next.
Connect everything in the compiler driver.
Diffstat (limited to 'cli/generator.hxx')
-rw-r--r-- | cli/generator.hxx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cli/generator.hxx b/cli/generator.hxx new file mode 100644 index 0000000..5db2aa5 --- /dev/null +++ b/cli/generator.hxx @@ -0,0 +1,26 @@ +// file : cli/generator.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#ifndef CLI_GENERATOR_HXX +#define CLI_GENERATOR_HXX + +#include <semantics/unit.hxx> + +class generator +{ +public: + generator (); + + void + generate (semantics::cli_unit&, semantics::path const&); + +private: + generator (generator const&); + + generator& + operator= (generator const&); +}; + +#endif // CLI_GENERATOR_HXX |