Files
markdown/source/parser/implementation/markdown-blocks-internals.adb
2024-12-17 16:55:44 +02:00

22 lines
426 B
Ada

--
-- Copyright (C) 2021-2024, AdaCore
--
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
--
package body Markdown.Blocks.Internals is
---------
-- Set --
---------
procedure Set
(Self : in out Block;
Data : Markdown.Implementation.Abstract_Block_Access) is
begin
pragma Assert (not Is_Assigned (Self.Data));
Self.Data := Data;
end Set;
end Markdown.Blocks.Internals;