]> code.delx.au - gnu-emacs-elpa/commit
Support parsing the ES6 'static' keyword.
authorStephen Hicks <sdh@google.com>
Tue, 11 Nov 2014 01:59:47 +0000 (17:59 -0800)
committerStephen Hicks <sdh@google.com>
Sat, 15 Nov 2014 09:02:32 +0000 (01:02 -0800)
commit30249fa3a8e3d7c8cb72f132985214d6cd52df7d
tree5657b71f18f23d9dc7ab7df303e1282ca2bd4cdb
parentc79d4260a38a5b44cd52dabfdccbff12323870ac
Support parsing the ES6 'static' keyword.

This is defined in the ClassElement production in ยง14.5 of the draft ES6 spec: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-class-definitions, and usage examples are available at e.g. https://github.com/lukehoban/es6features#classes.
js2-mode.el
tests/parser.el