From 6e20c3e79d4270fafb13a63af51eaffaa45c11e1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 15 Aug 2022 11:24:06 +0200 Subject: Refactor to rename list construct to list item --- src/state.rs | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 006ffe1..344a31e 100644 --- a/src/state.rs +++ b/src/state.rs @@ -240,21 +240,21 @@ pub enum Name { LabelStartLinkStart, - ListStart, - ListBefore, - ListBeforeOrdered, - ListBeforeUnordered, - ListValue, - ListMarker, - ListMarkerAfter, - ListAfter, - ListMarkerAfterFilled, - ListWhitespace, - ListPrefixOther, - ListWhitespaceAfter, - ListContStart, - ListContBlank, - ListContFilled, + ListItemStart, + ListItemBefore, + ListItemBeforeOrdered, + ListItemBeforeUnordered, + ListItemValue, + ListItemMarker, + ListItemMarkerAfter, + ListItemAfter, + ListItemMarkerAfterFilled, + ListItemWhitespace, + ListItemPrefixOther, + ListItemWhitespaceAfter, + ListItemContStart, + ListItemContBlank, + ListItemContFilled, NonLazyContinuationStart, NonLazyContinuationAfter, @@ -552,21 +552,21 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::LabelStartImageOpen => construct::label_start_image::open, Name::LabelStartLinkStart => construct::label_start_link::start, - Name::ListStart => construct::list::start, - Name::ListBefore => construct::list::before, - Name::ListBeforeOrdered => construct::list::before_ordered, - Name::ListBeforeUnordered => construct::list::before_unordered, - Name::ListValue => construct::list::value, - Name::ListMarker => construct::list::marker, - Name::ListMarkerAfter => construct::list::marker_after, - Name::ListAfter => construct::list::after, - Name::ListMarkerAfterFilled => construct::list::marker_after_filled, - Name::ListWhitespace => construct::list::whitespace, - Name::ListWhitespaceAfter => construct::list::whitespace_after, - Name::ListPrefixOther => construct::list::prefix_other, - Name::ListContStart => construct::list::cont_start, - Name::ListContBlank => construct::list::cont_blank, - Name::ListContFilled => construct::list::cont_filled, + Name::ListItemStart => construct::list_item::start, + Name::ListItemBefore => construct::list_item::before, + Name::ListItemBeforeOrdered => construct::list_item::before_ordered, + Name::ListItemBeforeUnordered => construct::list_item::before_unordered, + Name::ListItemValue => construct::list_item::value, + Name::ListItemMarker => construct::list_item::marker, + Name::ListItemMarkerAfter => construct::list_item::marker_after, + Name::ListItemAfter => construct::list_item::after, + Name::ListItemMarkerAfterFilled => construct::list_item::marker_after_filled, + Name::ListItemWhitespace => construct::list_item::whitespace, + Name::ListItemWhitespaceAfter => construct::list_item::whitespace_after, + Name::ListItemPrefixOther => construct::list_item::prefix_other, + Name::ListItemContStart => construct::list_item::cont_start, + Name::ListItemContBlank => construct::list_item::cont_blank, + Name::ListItemContFilled => construct::list_item::cont_filled, Name::NonLazyContinuationStart => construct::partial_non_lazy_continuation::start, Name::NonLazyContinuationAfter => construct::partial_non_lazy_continuation::after, -- cgit