Skip to content

Commit c883381

Browse files
committed
yeast: Split ASTs in Transform
Bubbles the AST split even further up. A consequence of this is that yeast now only supports a single phase (matching the way we currently use it).
1 parent 20ce5b8 commit c883381

2 files changed

Lines changed: 114 additions & 116 deletions

File tree

  • shared

‎shared/tree-sitter-extractor/src/extractor/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ fn traverse(tree: &Tree, visitor: &mut Visitor) {
10431043
}
10441044
}
10451045

1046-
fn traverse_yeast(tree: &yeast::Ast, visitor: &mut Visitor) {
1046+
fn traverse_yeast(tree: &yeast::OutputAst, visitor: &mut Visitor) {
10471047
let mut cursor = tree.walk();
10481048
visitor.enter_node(cursor.node());
10491049
let mut recurse = true;

0 commit comments

Comments
 (0)