Skip to content

Conversation

@allcre
Copy link

@allcre allcre commented Nov 20, 2025

Motivation

Test plan

See included automated tests.

Copy link
Author

allcre commented Nov 20, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

allcre and others added 2 commits December 1, 2025 14:17
Co-authored-by: Alexander Momchilov <[email protected]>
Co-authored-by: Jesse Johnson <[email protected]>
Co-authored-by: Kaan Ozkan <[email protected]>
@allcre allcre force-pushed the ac-Add_Prism_AST_node_factory_for_Sorbet branch 2 times, most recently from 39674ea to 3697789 Compare December 1, 2025 20:32
- Adds missing helper methods
- Minor const changes
@allcre allcre force-pushed the ac-Add_Prism_AST_node_factory_for_Sorbet branch from 3697789 to 2e62a0f Compare December 2, 2025 18:14
- Rename Send*/createSendNode to Call*/createCallNode for clarity
- Fix const-correctness: use const Span<pm_node_t*> instead of
  Span<const pm_node_t*> to match Prism's C API and remove const_cast
- Add new helper methods: Nil(), String(), TSelfType(), TAnything(),
  TAttachedClass(), T_Boolean(), T_Module()
- Add ConstantReadNode/ConstantPathNode overloads taking pm_location_t
- Simplify array construction using C-style arrays instead of std::array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants