Skip to content

Commit

Permalink
rem: count_unvisited.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jun 25, 2024
1 parent 1886620 commit 7c0c756
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
62 changes: 0 additions & 62 deletions tasks/ast_codegen/src/generators/count_unvisited.rs

This file was deleted.

2 changes: 0 additions & 2 deletions tasks/ast_codegen/src/generators/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod ast;
mod ast_kind;
mod count_unvisited;
mod impl_get_span;

/// Inserts a newline in the `TokenStream`.
Expand Down Expand Up @@ -41,5 +40,4 @@ pub(crate) use insert;

pub use ast::AstGenerator;
pub use ast_kind::AstKindGenerator;
pub use count_unvisited::CountUnvisited;
pub use impl_get_span::ImplGetSpanGenerator;
4 changes: 1 addition & 3 deletions tasks/ast_codegen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use proc_macro2::TokenStream;
use syn::parse_file;

use defs::TypeDef;
use generators::{AstGenerator, AstKindGenerator, CountUnvisited};
use generators::{AstGenerator, AstKindGenerator};
use linker::{linker, Linker};
use schema::{Inherit, Module, REnum, RStruct, RType, Schema};

Expand Down Expand Up @@ -191,7 +191,6 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
.with(AstGenerator)
.with(AstKindGenerator)
.with(ImplGetSpanGenerator)
// .with(CountUnvisited)
.generate()?;

let output_dir = output_dir()?;
Expand All @@ -206,7 +205,6 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
span_file.write_all(span_content.as_bytes())?;
}

// println!("{}", outputs[CountUnvisited.name()].clone().as_info());

// NOTE: Print AstKind
// println!(
Expand Down

0 comments on commit 7c0c756

Please sign in to comment.