Rename visit_preorder to visit_source_order (#17046)

## Summary

We renamed the `PreorderVisitor` to `SourceOrderVisitor` a long time ago
but it seems that we missed to rename the `visit_preorder` functions to
`visit_source_order`.
This PR renames `visit_preorder` to `visit_source_order`

## Test Plan

`cargo test`
This commit is contained in:
Micha Reiser
2025-03-28 20:40:26 +01:00
committed by GitHub
parent 6b02c39321
commit 050f332771
5 changed files with 8 additions and 8 deletions

View File

@@ -6027,7 +6027,7 @@ impl AnyNodeRef<'_> {
}
impl<'a> AnyNodeRef<'a> {
pub fn visit_preorder<'b, V>(self, visitor: &mut V)
pub fn visit_source_order<'b, V>(self, visitor: &mut V)
where
V: crate::visitor::source_order::SourceOrderVisitor<'b> + ?Sized,
'a: 'b,