From 9db750f407ceeb5c1fab99414b074d289bfda179 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Mar 2009 09:30:41 +0200 Subject: Add support for parsing/serialization of recursive types tests/cxx/hybrid/recursive/: new test --- xsde/cxx/hybrid/elements.hxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'xsde/cxx/hybrid/elements.hxx') diff --git a/xsde/cxx/hybrid/elements.hxx b/xsde/cxx/hybrid/elements.hxx index 73caa35..f5d959b 100644 --- a/xsde/cxx/hybrid/elements.hxx +++ b/xsde/cxx/hybrid/elements.hxx @@ -332,6 +332,12 @@ namespace CXX epstate_base (SemanticGraph::Type&); static String const& + epstate_first (SemanticGraph::Type&); + + static String const& + epstate_top (SemanticGraph::Type&); + + static String const& epstate_member (SemanticGraph::Type&); static String const& @@ -396,6 +402,12 @@ namespace CXX esstate_type (SemanticGraph::Type&); static String const& + esstate_first (SemanticGraph::Type&); + + static String const& + esstate_top (SemanticGraph::Type&); + + static String const& esstate_member (SemanticGraph::Type&); static String const& @@ -479,6 +491,12 @@ namespace CXX return c.context ().get ("fixed"); } + Boolean + recursive (SemanticGraph::Type& t) + { + return t.context ().count ("recursive"); + } + public: String istream (NarrowString const& is) const; -- cgit v1.1