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