| Crates.io | oxc_ast_visit |
| lib.rs | oxc_ast_visit |
| version | 0.92.0 |
| created_at | 2025-02-28 08:14:42.994379+00 |
| updated_at | 2025-09-24 04:20:59.278541+00 |
| description | A collection of JavaScript tools written in Rust. |
| homepage | https://oxc.rs |
| repository | https://github.com/oxc-project/oxc |
| max_upload_size | |
| id | 1572563 |
| size | 414,844 |
Visitor pattern implementations for traversing and mutating AST nodes.
This crate provides visitor traits and implementations for systematically traversing AST nodes. It supports both immutable visitation (Visit) and mutable transformation (VisitMut).
Visit trait: Immutable AST traversal for analysisVisitMut trait: Mutable AST traversal for transformationsThe visitor pattern is designed for:
Most visitor implementations are generated by oxc_ast_tools to ensure all AST nodes are covered and traversal is consistent.