aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/complex.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/semantic-graph/complex.hxx')
-rw-r--r--xsd-frontend/semantic-graph/complex.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/xsd-frontend/semantic-graph/complex.hxx b/xsd-frontend/semantic-graph/complex.hxx
index ac47810..c04de74 100644
--- a/xsd-frontend/semantic-graph/complex.hxx
+++ b/xsd-frontend/semantic-graph/complex.hxx
@@ -16,6 +16,9 @@ namespace XSDFrontend
{
public:
bool
+ abstract_p () const {return abstract_;}
+
+ bool
mixed_p () const
{
if (mixed_)
@@ -55,7 +58,10 @@ namespace XSDFrontend
}
public:
- Complex (Path const& file, unsigned long line, unsigned long column);
+ Complex (Path const& file,
+ unsigned long line,
+ unsigned long column,
+ bool abstract);
void
add_edge_left (ContainsCompositor& e)
@@ -78,6 +84,7 @@ namespace XSDFrontend
Complex (); // For virtual inheritance (Enumeration).
private:
+ bool abstract_;
bool mixed_;
ContainsCompositor* contains_compositor_;
};