update doc on getExceptionalNode

This commit is contained in:
Erik Krogh Kristensen
2019-11-19 14:10:35 +01:00
parent abd58ba905
commit d8a5554666

View File

@@ -247,8 +247,8 @@ class Expr extends @expr, ExprOrStmt, ExprOrType, AST::ValueNode {
}
/**
* Gets the data-flow node where exceptional data-flow will flow if this expression
* causes an exception to be thrown.
* Gets the data-flow node where exceptions thrown by this expression will
* propagate if this expression causes an exception to be thrown.
*/
DataFlow::Node getExceptionalNode() {
if exists(this.getEnclosingStmt().getEnclosingTryCatchStmt())