Create an intermediate ast node type.
This commit is contained in:
@@ -3,15 +3,14 @@ use std::collections::HashMap;
|
||||
use organic::types::Element;
|
||||
use organic::types::Object;
|
||||
|
||||
use super::ast_node::IAstNode;
|
||||
|
||||
type IdCounter = u16;
|
||||
|
||||
pub(crate) struct Registry<'intermediate, 'parse> {
|
||||
id_counter: IdCounter,
|
||||
targets: HashMap<&'parse str, String>,
|
||||
footnote_ids: Vec<(
|
||||
Option<&'parse str>,
|
||||
FootnoteDefinitionContents<'intermediate, 'parse>,
|
||||
)>,
|
||||
footnote_ids: Vec<(Option<&'parse str>, Vec<IAstNode>)>,
|
||||
}
|
||||
|
||||
impl<'intermediate, 'parse> Registry<'intermediate, 'parse> {
|
||||
|
||||
Reference in New Issue
Block a user