markdown_24.0.0_70ffe37b/source/parser/implementation/markdown-implementation-thematic_breaks.ads

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--
--  Copyright (C) 2021-2023, AdaCore
--
--  SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
--

--  Internal representation of a markdown thematic break

package Markdown.Implementation.Thematic_Breaks is
   pragma Preelaborate;

   type Thematic_Break is new Abstract_Block with private;
   --  Thematic_Break block contains annotated inline content

   procedure Detector
     (Input : Input_Position;
      Tag   : in out Ada.Tags.Tag;
      CIP   : out Can_Interrupt_Paragraph);
   --  The detector procedure to find start of a Thematic_Break

private

   type Thematic_Break is new Abstract_Block with null record;

   overriding function Create
     (Input : not null access Input_Position) return Thematic_Break;

end Markdown.Implementation.Thematic_Breaks;