summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r--cpp/src/slice2java/Gen.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h
index 2885b65e7d8..0e0f60417a2 100644
--- a/cpp/src/slice2java/Gen.h
+++ b/cpp/src/slice2java/Gen.h
@@ -123,6 +123,7 @@ public:
bool operator!() const; // Returns true if there was a constructor error
void generate(const UnitPtr&);
+ void generateImpl(const UnitPtr&);
private:
@@ -213,6 +214,21 @@ private:
virtual bool visitClassDefStart(const ClassDefPtr&);
};
+
+ class ImplVisitor : public JavaVisitor
+ {
+ //
+ // Generate code to assign a value
+ //
+ void writeAssign(Output&, const std::string&, const TypePtr&,
+ const std::string&, int&);
+
+ public:
+
+ ImplVisitor(const std::string&, const std::string&);
+
+ virtual bool visitClassDefStart(const ClassDefPtr&);
+ };
};
}