Create structure for inline babel calls.

This commit is contained in:
Tom Alexander
2023-07-21 19:53:02 -04:00
parent 1e2ea17a9c
commit eef2944307
5 changed files with 54 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ impl<'r, 's> Token<'r, 's> {
}
Object::Citation(_) => Box::new(std::iter::empty()), // TODO: Iterate over children
Object::CitationReference(_) => Box::new(std::iter::empty()), // TODO: Iterate over children
Object::InlineBabelCall(_) => Box::new(std::iter::empty()), // TODO: Iterate over children
},
Token::Element(elem) => match elem {
Element::Paragraph(inner) => Box::new(inner.children.iter().map(Token::Object)),