Java: Replace ControlFlowNode.asCall with Call.getControlFlowNode.

This commit is contained in:
Anders Schack-Mulligen
2026-02-06 16:37:43 +01:00
parent 2e987343dd
commit 4a97a449fc
6 changed files with 23 additions and 11 deletions

View File

@@ -162,12 +162,6 @@ module ControlFlow {
/** Gets the expression this `Node` corresponds to, if any. */
Expr asExpr() { this = TExprNode(result) }
/** Gets the call this `Node` corresponds to, if any. */
Call asCall() {
result = this.asExpr() or
result = this.asStmt()
}
/** Gets a textual representation of this element. */
string toString() { none() }