refactor: remove unused JSONOutput and GeneratedParser structs

This commit is contained in:
bglgwyng 2025-11-07 17:29:25 +09:00
parent 21c9f9ae4f
commit 04420e4b51

View file

@ -56,21 +56,6 @@ static JSON_COMMENT_REGEX: LazyLock<Regex> = LazyLock::new(|| {
.unwrap()
});
struct JSONOutput {
#[cfg(feature = "load")]
node_types_json: String,
syntax_grammar: SyntaxGrammar,
lexical_grammar: LexicalGrammar,
inlines: InlinedProductionMap,
simple_aliases: BTreeMap<Symbol, Alias>,
variable_info: Vec<VariableInfo>,
}
struct GeneratedParser {
c_code: String,
#[cfg(feature = "load")]
node_types_json: String,
}
struct GrammarIntrospection {
syntax_grammar: SyntaxGrammar,
lexical_grammar: LexicalGrammar,