Skip to content

v1.0.0

Compare
Choose a tag to compare
@adams85 adams85 released this 07 Apr 23:28
· 26 commits to master since this release

New features:

  • Support for parsing and generating JSX. (See the JsxParser class and ToJsx extension methods, respectively).

Improvements:

  • Minor improvement to the AST and visitors.
  • Minor performance improvements.

Breaking changes:

  • Change the parameter order in the constructor of ObjectProperty (the method parameter comes last).
  • Remove the VisitProperty method from the visitors and introduce VisitAssignmentProperty and VisitObjectProperty instead.
  • Introduce the VisitFunctionBody method to the visitors. Visitation of function bodies are no longer dispatched to VisitBlockStatement.
  • Rename the ToJavaScriptString extension methods to ToJavaScript.
  • Rename the ToJsonString extension methods to ToJson.
  • Hide the constructors of RegExpValue and TemplateValue and provide factory methods (From) instead.