Hosted by
|
with Ada.Tags; use Ada.Tags;
with Notations; use Notations;
package Notations.Simple is
type Simple_Enum is (Arpeggiate);
type Simple is new Notation with private;
Simple_Tag : constant String;
type Simple_Access is access all Simple;
function Create
(Name : in Simple_Enum)
return Simple_Access;
function Get_Name
(This : access Simple)
return Simple_Enum;
private
type Simple is
new Notation with
record
Name : Simple_Enum;
end record;
Simple_Tag : constant String := "notations.simple.simple";
end Notations.Simple;
|