summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/TransformAnalyzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/FreezeScript/TransformAnalyzer.h')
-rw-r--r--cpp/src/FreezeScript/TransformAnalyzer.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/cpp/src/FreezeScript/TransformAnalyzer.h b/cpp/src/FreezeScript/TransformAnalyzer.h
new file mode 100644
index 00000000000..6415f0a26ab
--- /dev/null
+++ b/cpp/src/FreezeScript/TransformAnalyzer.h
@@ -0,0 +1,41 @@
+// **********************************************************************
+//
+// Copyright (c) 2004
+// ZeroC, Inc.
+// Billerica, MA, USA
+//
+// All Rights Reserved.
+//
+// Ice is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation.
+//
+// **********************************************************************
+
+#ifndef FREEZE_SCRIPT_TRANSFORM_ANALYZER_H
+#define FREEZE_SCRIPT_TRANSFORM_ANALYZER_H
+
+#include <Slice/Parser.h>
+#include <ostream>
+
+namespace FreezeScript
+{
+
+class TransformAnalyzer
+{
+public:
+
+ TransformAnalyzer(const Slice::UnitPtr&, const Slice::UnitPtr&, bool);
+ void analyze(const Slice::TypePtr&, const Slice::TypePtr&, const Slice::TypePtr&, const Slice::TypePtr&,
+ std::ostream&, std::vector<std::string>&, std::vector<std::string>&);
+
+private:
+
+ Slice::UnitPtr _old;
+ Slice::UnitPtr _new;
+ bool _ignoreTypeChanges;
+};
+
+}
+
+#endif