From 1b550fcd5123ff41efdb96be1f6e0dfe34f76de7 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 1 Jul 2022 11:14:47 +0200 Subject: Refactor to reorder token types --- src/construct/code_fenced.rs | 2 +- src/construct/code_text.rs | 2 +- src/construct/definition.rs | 8 ++++---- src/construct/label_end.rs | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/construct') diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs index 1602aad..d19cad0 100644 --- a/src/construct/code_fenced.rs +++ b/src/construct/code_fenced.rs @@ -79,9 +79,9 @@ //! //! * [`CodeFenced`][TokenType::CodeFenced] //! * [`CodeFencedFence`][TokenType::CodeFencedFence] -//! * [`CodeFencedFenceSequence`][TokenType::CodeFencedFenceSequence] //! * [`CodeFencedFenceInfo`][TokenType::CodeFencedFenceInfo] //! * [`CodeFencedFenceMeta`][TokenType::CodeFencedFenceMeta] +//! * [`CodeFencedFenceSequence`][TokenType::CodeFencedFenceSequence] //! * [`CodeFlowChunk`][TokenType::CodeFlowChunk] //! * [`LineEnding`][TokenType::LineEnding] //! * [`SpaceOrTab`][TokenType::SpaceOrTab] diff --git a/src/construct/code_text.rs b/src/construct/code_text.rs index 70b3805..c595c75 100644 --- a/src/construct/code_text.rs +++ b/src/construct/code_text.rs @@ -69,8 +69,8 @@ //! //! * [`CodeText`][TokenType::CodeText] //! * [`CodeTextData`][TokenType::CodeTextData] -//! * [`CodeTextSequence`][TokenType::CodeTextSequence] //! * [`CodeTextLineEnding`][TokenType::CodeTextLineEnding] +//! * [`CodeTextSequence`][TokenType::CodeTextSequence] //! //! ## References //! diff --git a/src/construct/definition.rs b/src/construct/definition.rs index 2b3e4b3..f05064a 100644 --- a/src/construct/definition.rs +++ b/src/construct/definition.rs @@ -60,15 +60,15 @@ //! ## Tokens //! //! * [`Definition`][TokenType::Definition] -//! * [`DefinitionMarker`][TokenType::DefinitionMarker] -//! * [`DefinitionLabel`][TokenType::DefinitionLabel] -//! * [`DefinitionLabelMarker`][TokenType::DefinitionLabelMarker] -//! * [`DefinitionLabelString`][TokenType::DefinitionLabelString] //! * [`DefinitionDestination`][TokenType::DefinitionDestination] //! * [`DefinitionDestinationLiteral`][TokenType::DefinitionDestinationLiteral] //! * [`DefinitionDestinationLiteralMarker`][TokenType::DefinitionDestinationLiteralMarker] //! * [`DefinitionDestinationRaw`][TokenType::DefinitionDestinationRaw] //! * [`DefinitionDestinationString`][TokenType::DefinitionDestinationString] +//! * [`DefinitionLabel`][TokenType::DefinitionLabel] +//! * [`DefinitionLabelMarker`][TokenType::DefinitionLabelMarker] +//! * [`DefinitionLabelString`][TokenType::DefinitionLabelString] +//! * [`DefinitionMarker`][TokenType::DefinitionMarker] //! * [`DefinitionTitle`][TokenType::DefinitionTitle] //! * [`DefinitionTitleMarker`][TokenType::DefinitionTitleMarker] //! * [`DefinitionTitleString`][TokenType::DefinitionTitleString] diff --git a/src/construct/label_end.rs b/src/construct/label_end.rs index 6901cb3..6f747db 100644 --- a/src/construct/label_end.rs +++ b/src/construct/label_end.rs @@ -102,28 +102,28 @@ //! //! ## Tokens //! -//! * [`Link`][TokenType::Link] +//! * [`Data`][TokenType::Data] //! * [`Image`][TokenType::Image] //! * [`Label`][TokenType::Label] -//! * [`LabelText`][TokenType::LabelText] //! * [`LabelEnd`][TokenType::LabelEnd] //! * [`LabelMarker`][TokenType::LabelMarker] +//! * [`LabelText`][TokenType::LabelText] +//! * [`LineEnding`][TokenType::LineEnding] +//! * [`Link`][TokenType::Link] +//! * [`Reference`][TokenType::Reference] +//! * [`ReferenceMarker`][TokenType::ReferenceMarker] +//! * [`ReferenceString`][TokenType::ReferenceString] //! * [`Resource`][TokenType::Resource] -//! * [`ResourceMarker`][TokenType::ResourceMarker] //! * [`ResourceDestination`][TokenType::ResourceDestination] //! * [`ResourceDestinationLiteral`][TokenType::ResourceDestinationLiteral] //! * [`ResourceDestinationLiteralMarker`][TokenType::ResourceDestinationLiteralMarker] //! * [`ResourceDestinationRaw`][TokenType::ResourceDestinationRaw] //! * [`ResourceDestinationString`][TokenType::ResourceDestinationString] +//! * [`ResourceMarker`][TokenType::ResourceMarker] //! * [`ResourceTitle`][TokenType::ResourceTitle] //! * [`ResourceTitleMarker`][TokenType::ResourceTitleMarker] //! * [`ResourceTitleString`][TokenType::ResourceTitleString] -//! * [`Reference`][TokenType::Reference] -//! * [`ReferenceMarker`][TokenType::ReferenceMarker] -//! * [`ReferenceString`][TokenType::ReferenceString] -//! * [`Data`][TokenType::Data] //! * [`SpaceOrTab`][TokenType::SpaceOrTab] -//! * [`LineEnding`][TokenType::LineEnding] //! //! ## References //! -- cgit