PageRenderTime 45ms CodeModel.GetById 38ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/tools/wrappers-generator/grouped_nodes.e

http://github.com/tybor/Liberty
Specman e | 39 lines | 15 code | 4 blank | 20 comment | 0 complexity | 6c6a733a7ac406de1fe5d5d9b4c6c19b MD5 | raw file
 1class GROUPED_NODES[NODE -> WRAPPER_FEATURE]
 2   -- Some GCC-XML nodes - usually describing nodes or functions - grouped by the name of the file they are defined into.
 3
 4inherit
 5   HASHED_DICTIONARY[LINKED_LIST[NODE], UNICODE_STRING]
 6
 7create {ANY}
 8   make
 9
10feature {ANY}
11   store (a_node: NODE)
12         -- Store `a_node' into Current, creating the container lt if necessary.
13      require
14         a_node /= Void
15      local
16         lt: LINKED_LIST[NODE]; a_file: UNICODE_STRING
17      do
18         not_yet_implemented
19         --a_file := a_node.file_id
20         --lt := reference_at (an_id)
21         --if lt=Void then
22         --	create lt.make
23         --	add(lt, an_id)
24         --end
25         --lt.add_last(a_node)
26      end
27
28end -- class GROUPED_NODES
29-- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
30-- wrappers-generator  is free software: you can redistribute it and/or modify it
31-- under the terms of the GNU General Public License as publhed by the Free
32-- Software Foundation, either version 2 of the License, or (at your option)
33-- any later version.
34-- wrappers-generator is distributed in the hope that it will be useful, but
35-- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
36-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
37-- more details.
38-- You should have received a copy of the GNU General Public License along with
39-- th program.  If not, see <http://www.gnu.org/licenses/>.