Skip to content

Commit d3a6452

Browse files
committed
Add missing QLDoc
1 parent 6af5b55 commit d3a6452

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,13 @@ module SourceSinkInterpretationInput implements
174174
result = [this.asMethodEntity(), this.asFieldEntity(), this.asOtherEntity()]
175175
}
176176

177+
/** Gets this source or sink element as a method, if it is one. */
177178
Method asMethodEntity() { this = TMethodEntityElement(result, _, _, _) }
178179

180+
/** Gets this source or sink element as a field, if it is one. */
179181
Field asFieldEntity() { this = TFieldEntityElement(result, _, _, _) }
180182

183+
/** Gets this source or sink element as an entity which isn't a field or method, if it is one. */
181184
Entity asOtherEntity() { this = TOtherEntityElement(result) }
182185

183186
/** Gets this source or sink element as an AST node, if it is one. */

0 commit comments

Comments
 (0)