From 443293aaf09eca7c3b88d621d056c4effee2c248 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2012 17:54:18 +0200 Subject: Implement option class inheritance For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation. --- cli/semantics/elements.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/semantics/elements.hxx') diff --git a/cli/semantics/elements.hxx b/cli/semantics/elements.hxx index 6dd6f78..e650f37 100644 --- a/cli/semantics/elements.hxx +++ b/cli/semantics/elements.hxx @@ -254,12 +254,21 @@ namespace semantics return named_->name (); } + string + fq_name () const; + scope_type& scope () { return named_->scope (); } + scope_type const& + scope () const + { + return named_->scope (); + } + names& named () { -- cgit v1.1