ruff
Add convenience methods for iterating over all parameter nodes in a function
#11174
Merged

Add convenience methods for iterating over all parameter nodes in a function #11174

AlexWaygood
AlexWaygood AlexWaygood added internal
AlexWaygood AlexWaygood requested a review from MichaReiser MichaReiser 1 year ago
AlexWaygood AlexWaygood requested a review from dhruvmanila dhruvmanila 1 year ago
AlexWaygood AlexWaygood changed the title Add convenience methods for iterating over all parameters in a function Add convenience methods for iterating over all parameter nodes in a function 1 year ago
github-actions
MichaReiser
MichaReiser approved these changes on 2024-04-27
AlexWaygood AlexWaygood force pushed from a9117c02 to 8d19e731 1 year ago
AlexWaygood AlexWaygood force pushed from 37921794 to 8ace18ce 1 year ago
dhruvmanila
dhruvmanila approved these changes on 2024-04-29
AlexWaygood
AlexWaygood commented on 2024-04-29
AlexWaygood Add convenience methods for iterating over all parameters
aa95f8da
AlexWaygood Rename enum to `AnyParameterRef`, and `iter_all_params` to `iter`
855c1327
AlexWaygood Add `Parameters::len()`
81631d22
AlexWaygood Also use the new `iter()` method in `node.rs`
7709857a
AlexWaygood revert changes to the odd pylint rule
96f29af8
AlexWaygood address review
0cd6b3a4
AlexWaygood all the iterator traits
0323a786
AlexWaygood AlexWaygood force pushed from 2010e4d8 to 0323a786 1 year ago
AlexWaygood AlexWaygood enabled auto-merge (squash) 1 year ago
AlexWaygood AlexWaygood merged 87929ad5 into main 1 year ago
AlexWaygood AlexWaygood deleted the parameter-convenience-iterator branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone