Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] JSDT Parser

Angelo,

One more thing about parser tolerance. esprima for example throws an exception parsing this "relatively simple"
declarations:

//function foo(a, b {}

//function foo(a, b, c,) {}

//function foo(a, b, {} {}


> Yes sure, but it seems that Shift doesn't support tolerant parser which is very required for a JS editor. See https://github.com/shapesecurity/shift-java/issues/93


-- 
Eugene Melekhov



Back to the top