CodeQL library for JavaScript
Search

Module AST

Provides a class ValueNode encompassing all program elements that evaluate to a value at runtime.

Import path

import javascript

Classes

ValueNode

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.