source: trunk/ada-2012/src/semantic/gela-int-placeholders.adb@ 552

Last change on this file since 552 was 415, checked in by Maxim Reznik, 7 years ago

Set svn:keywords

  • Property svn:keywords set to Author Date Revision
File size: 970 bytes
Line 
1with Gela.Int.Visiters;
2
3package body Gela.Int.Placeholders is
4
5 ------------
6 -- Create --
7 ------------
8
9 function Create
10 (Down : Gela.Interpretations.Interpretation_Index_Array;
11 Kind : Gela.Interpretations.Placeholder_Kind)
12 return Placeholder is
13 begin
14 return (Index => 0,
15 Length => Down'Length,
16 Placeholder_Kind => Kind,
17 Down => Down);
18 end Create;
19
20 ---------------------
21 -- Placeholder_Kind --
22 ---------------------
23
24 function Placeholder_Kind
25 (Self : Placeholder)
26 return Gela.Interpretations.Placeholder_Kind is
27 begin
28 return Self.Placeholder_Kind;
29 end Placeholder_Kind;
30
31 -----------
32 -- Visit --
33 -----------
34
35 overriding procedure Visit
36 (Self : Placeholder;
37 Visiter : access Gela.Int.Visiters.Visiter'Class) is
38 begin
39 Visiter.Placeholder (Self);
40 end Visit;
41
42end Gela.Int.Placeholders;
Note: See TracBrowser for help on using the repository browser.