@@ -26,7 +26,7 @@ class SourceMethodOrConstructor extends SourceDeclaration, Callable {
26
26
}
27
27
28
28
/** Gets an XML comment bound to this declaration. */
29
- XmlComment getADeclarationXmlComment ( Declaration d ) {
29
+ XmlCommentLine getADeclarationXmlComment ( Declaration d ) {
30
30
result = getADeclarationCommentBlock ( d ) .getAChild ( )
31
31
}
32
32
@@ -58,7 +58,7 @@ predicate isDocumentationNeeded(Modifiable decl) {
58
58
}
59
59
60
60
/** An XML comment containing a `<returns>` tag. */
61
- class ReturnsXmlComment extends XmlComment {
61
+ class ReturnsXmlComment extends XmlCommentLine {
62
62
ReturnsXmlComment ( ) { this .getOpenTag ( _) = "returns" }
63
63
64
64
/** Holds if the element in this comment has a body at offset `offset`. */
@@ -72,7 +72,7 @@ class ReturnsXmlComment extends XmlComment {
72
72
}
73
73
74
74
/** An XML comment containing an `<exception>` tag. */
75
- class ExceptionXmlComment extends XmlComment {
75
+ class ExceptionXmlComment extends XmlCommentLine {
76
76
ExceptionXmlComment ( ) { this .getOpenTag ( _) = "exception" }
77
77
78
78
/** Gets a `cref` attribute at offset `offset`, if any. */
@@ -83,7 +83,7 @@ class ExceptionXmlComment extends XmlComment {
83
83
}
84
84
85
85
/** An XML comment containing a `<param>` tag. */
86
- class ParamXmlComment extends XmlComment {
86
+ class ParamXmlComment extends XmlCommentLine {
87
87
ParamXmlComment ( ) { this .getOpenTag ( _) = "param" }
88
88
89
89
/** Gets the name of this parameter at offset `offset`. */
@@ -94,7 +94,7 @@ class ParamXmlComment extends XmlComment {
94
94
}
95
95
96
96
/** An XML comment containing a `<typeparam>` tag. */
97
- class TypeparamXmlComment extends XmlComment {
97
+ class TypeparamXmlComment extends XmlCommentLine {
98
98
TypeparamXmlComment ( ) { this .getOpenTag ( _) = "typeparam" }
99
99
100
100
/** Gets the `name` attribute of this element at offset `offset`. */
@@ -105,7 +105,7 @@ class TypeparamXmlComment extends XmlComment {
105
105
}
106
106
107
107
/** An XML comment containing a `<summary>` tag. */
108
- class SummaryXmlComment extends XmlComment {
108
+ class SummaryXmlComment extends XmlCommentLine {
109
109
SummaryXmlComment ( ) { this .getOpenTag ( _) = "summary" }
110
110
111
111
/** Holds if the element in this comment has a body at offset `offset`. */
@@ -119,6 +119,6 @@ class SummaryXmlComment extends XmlComment {
119
119
}
120
120
121
121
/** An XML comment containing an `<inheritdoc>` tag. */
122
- class InheritDocXmlComment extends XmlComment {
122
+ class InheritDocXmlComment extends XmlCommentLine {
123
123
InheritDocXmlComment ( ) { this .getOpenTag ( _) = "inheritdoc" }
124
124
}
0 commit comments