@@ -61,13 +61,13 @@ predicate isDocumentationNeeded(Modifiable decl) {
6161class ReturnsXmlComment extends XmlComment {
6262 ReturnsXmlComment ( ) { getOpenTag ( _) = "returns" }
6363
64- /** Holds if the element has a body at offset `offset`. */
64+ /** Holds if the element in this comment has a body at offset `offset`. */
6565 predicate hasBody ( int offset ) { hasBody ( "returns" , offset ) }
6666
67- /** Holds if the element is an opening tag at offset `offset`. */
67+ /** Holds if the element in this comment is an opening tag at offset `offset`. */
6868 predicate isOpenTag ( int offset ) { "returns" = getOpenTag ( offset ) }
6969
70- /** Holds if the element is an empty tag at offset `offset`. */
70+ /** Holds if the element in this comment is an empty tag at offset `offset`. */
7171 predicate isEmptyTag ( int offset ) { "returns" = getEmptyTag ( offset ) }
7272}
7373
@@ -78,7 +78,7 @@ class ExceptionXmlComment extends XmlComment {
7878 /** Gets a `cref` attribute at offset `offset`, if any. */
7979 string getCref ( int offset ) { result = getAttribute ( "exception" , "cref" , offset ) }
8080
81- /** Holds if the element has a body at offset `offset`. */
81+ /** Holds if the element in this comment has a body at offset `offset`. */
8282 predicate hasBody ( int offset ) { hasBody ( "exception" , offset ) }
8383}
8484
@@ -89,7 +89,7 @@ class ParamXmlComment extends XmlComment {
8989 /** Gets the name of this parameter at offset `offset`. */
9090 string getName ( int offset ) { getAttribute ( "param" , "name" , offset ) = result }
9191
92- /** Holds if the element has a body at offset `offset`. */
92+ /** Holds if the element in this comment has a body at offset `offset`. */
9393 predicate hasBody ( int offset ) { hasBody ( "param" , offset ) }
9494}
9595
@@ -100,21 +100,21 @@ class TypeparamXmlComment extends XmlComment {
100100 /** Gets the `name` attribute of this element at offset `offset`. */
101101 string getName ( int offset ) { getAttribute ( "typeparam" , "name" , offset ) = result }
102102
103- /** Holds if the element has a body at offset `offset`. */
103+ /** Holds if the element in this comment has a body at offset `offset`. */
104104 predicate hasBody ( int offset ) { hasBody ( "typeparam" , offset ) }
105105}
106106
107107/** An XML comment containing a `<summary>` tag. */
108108class SummaryXmlComment extends XmlComment {
109109 SummaryXmlComment ( ) { getOpenTag ( _) = "summary" }
110110
111- /** Holds if the element has a body at offset `offset`. */
111+ /** Holds if the element in this comment has a body at offset `offset`. */
112112 predicate hasBody ( int offset ) { hasBody ( "summary" , offset ) }
113113
114- /** Holds if the element has an open tag at offset `offset`. */
114+ /** Holds if the element in this comment has an open tag at offset `offset`. */
115115 predicate isOpenTag ( int offset ) { "summary" = getOpenTag ( offset ) }
116116
117- /** Holds if the element is empty at offset `offset`. */
117+ /** Holds if the element in this comment is empty at offset `offset`. */
118118 predicate isEmptyTag ( int offset ) { "summary" = getEmptyTag ( offset ) }
119119}
120120
0 commit comments