You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`v` - A visitation method is generated in the visitors for the node type.
175
175
*`s` - The node class is sealed. (It's [beneficial to check for sealed types](https://www.meziantou.net/performance-benefits-of-sealed-class.htm#casting-objects-is-a) when possible.)
176
+
*`t` - The node type (the value of the `Node.Type` property) as specified by ESTree (shown only if it differs from the name of the node class).
176
177
*`x` - The node class can be subclassed. (The AST provides some limited extensibility for special use cases.)
177
178
179
+
### JSX
180
+
181
+
The library also supports the syntax extensions [JSX](https://facebook.github.io/jsx/).
182
+
However, mostly for performance reasons, the related functionality is separated from the core parser: it is available in the `Acornima.Extras` package, in the `Acornima.Jsx` namespace.
183
+
184
+
#### Installation & usage
185
+
186
+
After installing the `Acornima.Extras` package as described in the [Getting started](#getting-started) section, you can parse JSX code like this:
0 commit comments