summaryrefslogtreecommitdiff
path: root/cli/semantics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-30 10:47:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-30 10:47:45 +0200
commit5f7743da2fa5791e624b41ea1a749ccfa58a8f53 (patch)
tree5d9bffbb36b30a830159625e487c0789afb304ef /cli/semantics
parent381f872a76f6ad8fc5caee172e903f08dd652547 (diff)
Implement scope documentation generation in HTML
Diffstat (limited to 'cli/semantics')
-rw-r--r--cli/semantics/elements.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/semantics/elements.hxx b/cli/semantics/elements.hxx
index a0adce0..65a9382 100644
--- a/cli/semantics/elements.hxx
+++ b/cli/semantics/elements.hxx
@@ -347,6 +347,12 @@ namespace semantics
return names_.end ();
}
+ bool
+ names_empty () const
+ {
+ return names_.empty ();
+ }
+
virtual names_iterator_pair
find (string const& name) const;