Skip to content

Commit

Permalink
Add missing QLDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed Nov 11, 2024
1 parent 6af5b55 commit d3a6452
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,13 @@ module SourceSinkInterpretationInput implements
result = [this.asMethodEntity(), this.asFieldEntity(), this.asOtherEntity()]
}

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

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

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

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

0 comments on commit d3a6452

Please sign in to comment.