summaryrefslogtreecommitdiff
path: root/src/libvaladoc/api/namespace.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvaladoc/api/namespace.vala')
-rw-r--r--src/libvaladoc/api/namespace.vala17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/libvaladoc/api/namespace.vala b/src/libvaladoc/api/namespace.vala
index 9bcb233b0..ff19db8ca 100644
--- a/src/libvaladoc/api/namespace.vala
+++ b/src/libvaladoc/api/namespace.vala
@@ -36,10 +36,11 @@ public class Valadoc.Api.Namespace : Symbol {
this.source_comment = comment;
}
+
/**
* {@inheritDoc}
*/
- internal override void process_comments (Settings settings, DocumentationParser parser) {
+ internal override void parse_comments (Settings settings, DocumentationParser parser) {
if (documentation != null) {
return ;
}
@@ -48,9 +49,21 @@ public class Valadoc.Api.Namespace : Symbol {
documentation = parser.parse (this, source_comment);
}
- base.process_comments (settings, parser);
+ base.parse_comments (settings, parser);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ internal override void check_comments (Settings settings, DocumentationParser parser) {
+ if (documentation != null) {
+ parser.check (this, documentation);
+ }
+
+ base.check_comments (settings, parser);
}
+
/**
* {@inheritDoc}
*/