PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/tybor/Liberty
Specman e | 42 lines | 18 code | 8 blank | 16 comment | 0 complexity | 31accdf3065db07cbe5c5d92492b89d6 MD5 | raw file
 1class C_ARRAY_TYPE
 2   -- An "ArrayType" node of a gccxml file.
 3   -- Those nodes have min and max attributes. Most of
 4   -- the times min is not empty while often max
 5   -- empty.
 6   -- Currently mapped to POINTER.
 7
 8inherit
 9   C_TYPE
10   IDENTIFIED_NODE
11   TYPED_NODE
12   STORABLE_NODE
13
14create {GCCXML_TREE}
15   make
16
17feature {ANY}
18   store
19      do
20         types.put(Current, id)
21      end
22
23   wrapper_type: STRING "POINTER"
24
25   is_fundamental: BOOLEAN False
26
27   is_void: BOOLEAN False
28
29   has_wrapper: BOOLEAN True
30
31end -- class C_ARRAY_TYPE
32-- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
33-- wrappers-generator  is free software: you can redistribute it and/or modify it
34-- under the terms of the GNU General Public License as publhed by the Free
35-- Software Foundation, either version 2 of the License, or (at your option)
36-- any later version.
37-- wrappers-generator is distributed in the hope that it will be useful, but
38-- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
39-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
40-- more details.
41-- You should have received a copy of the GNU General Public License along with
42-- th program.  If not, see <http://www.gnu.org/licenses/>.