Skip to content

Commit 9d00632

Browse files
committed
JS: Update qldoc for ValueNode
1 parent b39e0ec commit 9d00632

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

javascript/ql/src/semmle/javascript/AST.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ class StmtContainer extends @stmt_container, ASTNode {
447447
*/
448448
module AST {
449449
/**
450-
* A program element that evaluates to a value at runtime. This includes expressions,
451-
* but also function and class declaration statements, as well as TypeScript
452-
* namespace and enum declarations.
450+
* A program element that evaluates to a value or destructures a value at runtime.
451+
* This includes expressions and destructuring patterns, but also function and
452+
* class declaration statements, as well as TypeScript namespace and enum declarations.
453453
*
454454
* Examples:
455455
*

javascript/ql/src/semmle/javascript/dataflow/DataFlow.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ module DataFlow {
258258
}
259259

260260
/**
261-
* An expression or a declaration of a function, class, namespace or enum,
262-
* viewed as a node in the data flow graph.
261+
* A node in the data flow graph which corresponds to an expression,
262+
* destructuring pattern, or declaration of a function, class, namespace, or enum.
263263
*
264264
* Examples:
265265
* ```js

0 commit comments

Comments
 (0)