~ubuntu-branches/ubuntu/oneiric/gnat-gps/oneiric

« back to all changes in this revision

Viewing changes to completion/src/completion-ada.ads

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-08-18 12:35:49 UTC
  • mfrom: (10.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080818123549-dp25qi8lg9f0x14t
Tags: 4.3~2008.08.09ubuntu1
Add lpia to supported architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-----------------------------------------------------------------------
2
2
--                               G P S                               --
3
3
--                                                                   --
 
4
--                  Copyright (C) 2006-2007, AdaCore                 --
4
5
--                                                                   --
5
6
-- GPS is free  software;  you can redistribute it and/or modify  it --
6
7
-- under the terms of the GNU General Public License as published by --
20
19
 
21
20
--  This package provides an Ada-specific completer
22
21
 
 
22
with Ada_Semantic_Tree.Expression_Parser;
 
23
use Ada_Semantic_Tree.Expression_Parser;
 
24
 
23
25
package Completion.Ada is
24
26
 
25
27
   type Ada_Completion_Manager is new Completion_Manager with private;
26
28
 
27
29
   function Get_Initial_Completion_List
28
 
     (Manager        : Ada_Completion_Manager;
29
 
      Start_Offset   : Natural;
30
 
      End_Is_Partial : Boolean := True) return Completion_List;
 
30
     (Manager : access Ada_Completion_Manager; Context : Completion_Context)
 
31
      return Completion_List;
31
32
   --  See inherited documentation
32
33
 
33
34
private
36
37
      null;
37
38
   end record;
38
39
 
 
40
   type Ada_Completion_Context is new Completion_Context_Record with
 
41
      record
 
42
         Expression : Parsed_Expression;
 
43
      end record;
 
44
 
39
45
end Completion.Ada;