From 67631e2d3612b0fd7915e5ceecf79e76a146169e Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 23 Sep 2024 16:25:59 +0100 Subject: [PATCH] PS: Update AST hierachy after #100. --- .../ql/lib/semmle/code/powershell/AssignmentStatement.qll | 2 +- powershell/ql/lib/semmle/code/powershell/CommandBase.qll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powershell/ql/lib/semmle/code/powershell/AssignmentStatement.qll b/powershell/ql/lib/semmle/code/powershell/AssignmentStatement.qll index 1a6dce03560..10bfaed2066 100644 --- a/powershell/ql/lib/semmle/code/powershell/AssignmentStatement.qll +++ b/powershell/ql/lib/semmle/code/powershell/AssignmentStatement.qll @@ -1,6 +1,6 @@ import powershell -class AssignStmt extends @assignment_statement, Stmt { +class AssignStmt extends @assignment_statement, PipelineBase { override SourceLocation getLocation() { assignment_statement_location(this, result) } int getKind() { assignment_statement(this, result, _, _) } diff --git a/powershell/ql/lib/semmle/code/powershell/CommandBase.qll b/powershell/ql/lib/semmle/code/powershell/CommandBase.qll index 9f78e71e012..2ca1342a826 100644 --- a/powershell/ql/lib/semmle/code/powershell/CommandBase.qll +++ b/powershell/ql/lib/semmle/code/powershell/CommandBase.qll @@ -1,3 +1,3 @@ import powershell -class CmdBase extends @command_base, Stmt { } +class CmdBase extends @command_base, Chainable { }