diff options
Diffstat (limited to 'xsd-frontend')
-rw-r--r-- | xsd-frontend/semantic-graph/elements.cxx | 8 | ||||
-rw-r--r-- | xsd-frontend/semantic-graph/elements.hxx | 24 |
2 files changed, 0 insertions, 32 deletions
diff --git a/xsd-frontend/semantic-graph/elements.cxx b/xsd-frontend/semantic-graph/elements.cxx index 6b174e2..9027282 100644 --- a/xsd-frontend/semantic-graph/elements.cxx +++ b/xsd-frontend/semantic-graph/elements.cxx @@ -14,14 +14,6 @@ namespace XSDFrontend { namespace SemanticGraph { - // Edge - // - Annotation& Edge:: - annotation () - { - return annotates_->annotation (); - } - // Node // Annotation& Node:: diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx index f59961b..4ce7fd6 100644 --- a/xsd-frontend/semantic-graph/elements.hxx +++ b/xsd-frontend/semantic-graph/elements.hxx @@ -194,22 +194,6 @@ namespace XSDFrontend } public: - Boolean - annotated_p () const - { - return annotates_ != 0; - } - - Annotates& - annotated () const - { - return *annotates_; - } - - Annotation& - annotation (); - - public: template <typename X> Boolean is_a () const @@ -221,19 +205,11 @@ namespace XSDFrontend friend class Bits::Graph<Node, Edge>; Edge () - : annotates_ (0) { } - Void - add_edge_right (Annotates& a) - { - annotates_ = &a; - } - private: mutable Context context_; - Annotates* annotates_; }; inline Boolean |