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
InterpolatedMatchLastLineNode#options and MatchLastLineNode#options are added, which are the same methods as are exposed on InterpolatedRegularExpressionNode and RegularExpressionNode.
The project can now be compiled with wasi-sdk to expose a WebAssembly interface.
ArgumentsNode#keyword_splat? is added to indicate if the arguments node has a keyword splat.
The C API pm_prettyprint has a much improved output which lines up closely with Node#inspect.
Prism now ships with RBS and RBI type signatures (in the /sig and /rbi directories, respectively).
Prism::parse_comments and Prism::parse_file_comments APIs are added to extract only the comments from the source code.
Changed
BREAKING: Multi{Target,Write}Node#targets is split up now into lefts, rest, and rights. This is to avoid having to scan the list in the case that there are splat nodes.
Some bugs are fixed on Multi{Target,Write}Node accidentally creating additional nesting when not necessary.
BREAKING: RequiredDestructuredParameterNode has been removed in favor of using MultiTargetNode in those places.
BREAKING: HashPatternNode#assocs has been renamed to HashPatternNode#elements. HashPatternNode#kwrest has been renamed to HashPatternNode#rest.