estraverse icon indicating copy to clipboard operation
estraverse copied to clipboard

Support trees without range (taken from escodegen)

Open GuyLewin opened this issue 5 years ago • 2 comments

Along with https://github.com/estools/escodegen/pull/401: Acorn and Meriyah are generating trees that have .start and .end properties without wrapping .range array. I added support for parsing such trees.

GuyLewin avatar Oct 19 '19 00:10 GuyLewin

Same comment as here: https://github.com/estools/escodegen/pull/401#issuecomment-544025522

michaelficarra avatar Oct 19 '19 00:10 michaelficarra

@michaelficarra I'll wait until we make a decision in escodegen before we continue here.

GuyLewin avatar Oct 19 '19 12:10 GuyLewin