aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/serializer/generator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/serializer/generator.hxx')
-rw-r--r--xsde/cxx/serializer/generator.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/xsde/cxx/serializer/generator.hxx b/xsde/cxx/serializer/generator.hxx
index a5b8558..eaa378d 100644
--- a/xsde/cxx/serializer/generator.hxx
+++ b/xsde/cxx/serializer/generator.hxx
@@ -35,17 +35,26 @@ namespace CXX
static CLI::OptionsSpec
options_spec ();
+ // Assign names to global declarations.
+ //
+ static Void
+ process_names (CLI::Options const&,
+ XSDFrontend::SemanticGraph::Schema&,
+ XSDFrontend::SemanticGraph::Path const&);
+
+ // Generate code.
+ //
struct Failed {};
static UnsignedLong
- generate (CLI::Options const& options,
+ generate (CLI::Options const&,
XSDFrontend::SemanticGraph::Schema&,
- XSDFrontend::SemanticGraph::Path const& file,
+ XSDFrontend::SemanticGraph::Path const&,
TypeMap::Namespaces& type_map,
Boolean gen_driver,
const WarningSet& disabled_warnings,
- FileList& file_list,
- AutoUnlinks& unlinks);
+ FileList&,
+ AutoUnlinks&);
private:
Generator ();