Module JSX

Provides classes for working with JSX code.

Import path

semmle.javascript.JSX

Imports

javascript

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

Classes

JSXAttribute

An attribute of a JSX element, including spread attributes.

JSXElement

A JSX element.

JSXEmptyExpr

An interpolating expression that interpolates nothing.

JSXFragment

A JSX fragment.

JSXName

A name of an JSX element or attribute (which is always an identifier, a dot expression, or a qualified namespace name).

JSXNode

A JSX element or fragment.

JSXPragma

A legacy @jsx pragma.

JSXQualifiedName

A namespace-qualified name such as n:a.

JSXSpreadAttribute

A spread attribute of a JSX element.