Skip to content

acornjs/acorn-stage3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae737b2 · Jan 27, 2021

History

69 Commits
Aug 13, 2020
Oct 1, 2018
Oct 23, 2018
Aug 13, 2020
Jun 11, 2020
Nov 14, 2020
Aug 13, 2020
Aug 13, 2020
Aug 13, 2020
Aug 13, 2020
Aug 13, 2020

Repository files navigation

stage 3 proposal support for Acorn

NPM version

This is a plugin for Acorn - a tiny, fast JavaScript parser, written completely in JavaScript.

It implements support for some missing ECMAScript stage 3 proposals. Neither loose mode nor walk are currently supported.

Usage

This module provides a plugin that can be used to extend the Acorn Parser class:

const {Parser} = require('acorn');
const stage3 = require('acorn-stage3');
Parser.extend(stage3).parse('class X { #a() {} }');

License

This plugin is released under an MIT License.