Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ruby_ast_gen] Control Structures #5008

Merged

Conversation

AndreiDreyer
Copy link
Contributor

Added handling for all control structures using JSON AST. Added tests to json/ControlStructureTests based on old ANTLR tests

DavidBakerEffendi and others added 23 commits October 7, 2024 13:20
…h DownloadHelper's assumptions on ensuring files are available.
* Handle initial class/module body creation & summary creation

* Separated tests between versions
* Improved runner stability and handling class fields

* [ruby_ast_gen] Handling for Singleton & Anon Classes
Additionally, added handling for range operators and lowered hash arguments in calls to named arguments to be consistent with current ANTLR interpretation of these args.

* Roll back AstGenRunner changes

* Remove line for diff
@AndreiDreyer AndreiDreyer added the ruby Relates to rubysrc2cpg label Oct 17, 2024
@AndreiDreyer AndreiDreyer self-assigned this Oct 17, 2024
@DavidBakerEffendi DavidBakerEffendi changed the title [ruby] JSON Ast Gen [ruby_ast_gen] Control Structures Oct 17, 2024
@DavidBakerEffendi DavidBakerEffendi merged commit afa1556 into andrei/ruby/ruby_ast_gen_json Oct 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Relates to rubysrc2cpg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants