Compare properties of subscript and superscript.

This commit is contained in:
Tom Alexander
2023-10-09 19:51:31 -04:00
parent 86dd526dde
commit d1ef83afca
3 changed files with 89 additions and 12 deletions

View File

@@ -252,11 +252,15 @@ pub struct StatisticsCookie<'s> {
#[derive(Debug, PartialEq)]
pub struct Subscript<'s> {
pub source: &'s str,
pub use_brackets: bool,
pub children: Vec<Object<'s>>,
}
#[derive(Debug, PartialEq)]
pub struct Superscript<'s> {
pub source: &'s str,
pub use_brackets: bool,
pub children: Vec<Object<'s>>,
}
#[derive(Debug, PartialEq, Clone)]