Files
markdown/source/parser/implementation/markdown-implementation-documents.ads

27 lines
723 B
Ada
Raw Permalink Normal View History

2022-06-04 10:56:37 +03:00
--
-- Copyright (C) 2021-2023, AdaCore
2022-06-04 10:56:37 +03:00
--
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2022-06-04 10:56:37 +03:00
--
-- Internal representation of a markdown document
package Markdown.Implementation.Documents is
pragma Preelaborate;
type Document is new Abstract_Container_Block with private;
-- The document is a root node of markdown document representation
private
type Document is new Abstract_Container_Block with null record;
overriding function Create (Input : not null access Input_Position)
return Document;
overriding procedure Consume_Continuation_Markers
(Self : in out Document;
Line : in out Input_Position;
Match : out Boolean);
end Markdown.Implementation.Documents;