mirror of
https://github.com/github/codeql.git
synced 2026-04-04 22:58:16 +02:00
Java: Replace ControlFlowNode.asCall with Call.getControlFlowNode.
This commit is contained in:
@@ -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() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user