summaryrefslogtreecommitdiff
path: root/src/packrat-text.ads
blob: c3a5c51dea81194b83cd13d794ddf6980a2133a0 (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
30
31
32
33
34
35
36
37


with

    Packrat.Standard;


generic

    type Lexer_Labels is (<>);
    type Parser_Labels is (<>);

package Packrat.Text is


    package Standard is new Packrat.Standard
       (Lexer_Labels  => Lexer_Labels,
        Parser_Labels => Parser_Labels,
        Element_Type  => Character,
        Element_Array => String);

    package Wide is new Packrat.Standard
       (Lexer_Labels  => Lexer_Labels,
        Parser_Labels => Parser_Labels,
        Element_Type  => Wide_Character,
        Element_Array => Wide_String);

    package Wide_Wide is new Packrat.Standard
       (Lexer_Labels  => Lexer_Labels,
        Parser_Labels => Parser_Labels,
        Element_Type  => Wide_Wide_Character,
        Element_Array => Wide_Wide_String);


end Packrat.Text;