summaryrefslogtreecommitdiff
path: root/src/packrat-traits.ads
blob: cf4ba8923be148912dbb769e36837c64dac94131 (plain)
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
29


with

    Packrat.Tokens;


generic

    type Label_Enum is (<>);
    type Element_Type is private;
    type Element_Array is array (Positive range <>) of Element_Type;

    with function "<" (Left, Right : in Element_Type) return Boolean is <>;

package Packrat.Traits is


    function "<"
           (Left, Right : in Element_Array)
        return Boolean;


    package Tokens is new Packrat.Tokens (Label_Enum, Element_Type, Element_Array);


end Packrat.Traits;