Starting to implement table cell.

This commit is contained in:
Tom Alexander
2023-04-19 21:57:08 -04:00
parent 9747e0ba11
commit 55201e905a
3 changed files with 56 additions and 1 deletions

View File

@@ -54,3 +54,15 @@ pub fn standard_set_object<'r, 's>(
map(plain_text_matcher, Object::PlainText)(input)
}
#[tracing::instrument(ret, level = "debug")]
pub fn minimal_set_object<'r, 's>(
context: Context<'r, 's>,
input: &'s str,
) -> Res<&'s str, Object<'s>> {
not(|i| context.check_exit_matcher(i))(input)?;
let plain_text_matcher = parser_with_context!(plain_text)(context);
map(plain_text_matcher, Object::PlainText)(input)
}