Module Constants

Provides classes for working with expressions that evaluate to constant values.

Import path

semmle.javascript.Constants

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

ConstantExpr

An expression that evaluates to a constant primitive value.

ConstantString

An expression that evaluates to a constant string.

Modules

SyntacticConstants

Provides classes for expressions that evaluate to constant values according to a bottom-up syntactic analysis.