You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
We now have an explicit FlipFlopNode. It has the same flags as RangeNode.
We now have a syntax error when implicit and explicit blocks are passed to a method call.
Node#slice is now implemented, for retrieving the slice of the source code corresponding to a node.
We now support the utf8-mac encoding.
Predicate methods have been added for nodes that have flags. For example CallNode#safe_navigation? and RangeNode#exclude_end?.
The gem now functions on JRuby and TruffleRuby, thanks to a new FFI backend.
Comments are now part of the serialization API.
Changed
Autotools has been removed from the build system, so when the gem is installed it will no longer need to go through a configure step.
The AST for foo = *bar has changed to have an explicit array on the right hand side, rather than a splat node. This is more consistent with how other parsers handle this.
RangeNodeFlags has been renamed to RangeFlags.
Unary minus on number literals is now parsed as part of the literal, rather than a call to a unary operator. This is more consistent with how other parsers handle this.