hegemonic / catharsis

A JavaScript parser for Google Closure Compiler and JSDoc type expressions.
MIT License
54 stars 14 forks source link

Support postfix nullable operators (`?`/`!`) when combined with the optional operator (`=`) #40

Closed hegemonic closed 9 years ago

hegemonic commented 9 years ago

Catharsis currently fails on type expressions like foo?=. This form is nonstandard but is used within the Closure Library, and we should be able to parse it.