Skip to content

Commit 0a930ee

Browse files
committed
Add missing qldoc
1 parent 18ecee9 commit 0a930ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

go/ql/lib/semmle/go/Stmt.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ class ExpressionSwitchStmt extends @exprswitchstmt, SwitchStmt {
917917
* ```
918918
*/
919919
class TypeSwitchStmt extends @typeswitchstmt, SwitchStmt {
920+
/** Gets the assignment statement of this type-switch statement, if any. */
920921
SimpleAssignStmt getAssign() { result = this.getChildStmt(1) }
921922

922923
/** Gets the test statement of this type-switch statement. This is a `SimpleAssignStmt` or `ExprStmt`. */

0 commit comments

Comments
 (0)