JS: Update qldoc for ValueNode

This commit is contained in:
Asger Feldthaus
2020-05-19 15:57:07 +01:00
parent b39e0ec091
commit 9d006327df
2 changed files with 5 additions and 5 deletions

View File

@@ -447,9 +447,9 @@ class StmtContainer extends @stmt_container, ASTNode {
*/
module AST {
/**
* A program element that evaluates to a value at runtime. This includes expressions,
* but also function and class declaration statements, as well as TypeScript
* namespace and enum declarations.
* A program element that evaluates to a value or destructures a value at runtime.
* This includes expressions and destructuring patterns, but also function and
* class declaration statements, as well as TypeScript namespace and enum declarations.
*
* Examples:
*

View File

@@ -258,8 +258,8 @@ module DataFlow {
}
/**
* An expression or a declaration of a function, class, namespace or enum,
* viewed as a node in the data flow graph.
* A node in the data flow graph which corresponds to an expression,
* destructuring pattern, or declaration of a function, class, namespace, or enum.
*
* Examples:
* ```js