Skip to content

Commit

Permalink
remove ProductionKind from parser runtime
Browse files Browse the repository at this point in the history
remaining from #699
  • Loading branch information
OmarTawfik authored Dec 21, 2023
1 parent 2025b6c commit 80e89f5
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions crates/codegen/parser/runtime/src/kinds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,6 @@ impl RuleKind {
}
}

#[derive(
Debug,
Eq,
Ord,
PartialEq,
PartialOrd,
serde::Serialize,
strum_macros::AsRefStr,
strum_macros::Display,
strum_macros::EnumString,
)]
#[cfg_attr( feature = "slang_napi_interfaces", /* derives `Clone` and `Copy` */ napi(string_enum, namespace = "kinds") )]
#[cfg_attr(not(feature = "slang_napi_interfaces"), derive(Clone, Copy))]
pub enum ProductionKind {
XXX,
}

/// The lexical context of the scanner.
#[derive(strum_macros::FromRepr)]
#[cfg_attr(feature = "slang_napi_interfaces", /* derives `Clone` and `Copy` */ napi(string_enum, namespace = "language"))]
Expand Down

0 comments on commit 80e89f5

Please sign in to comment.