/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

  1. class 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. inherit
  8. C_TYPE
  9. IDENTIFIED_NODE
  10. TYPED_NODE
  11. STORABLE_NODE
  12. create {GCCXML_TREE}
  13. make
  14. feature {ANY}
  15. store
  16. do
  17. types.put(Current, id)
  18. end
  19. wrapper_type: STRING "POINTER"
  20. is_fundamental: BOOLEAN False
  21. is_void: BOOLEAN False
  22. has_wrapper: BOOLEAN True
  23. end -- class C_ARRAY_TYPE
  24. -- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
  25. -- wrappers-generator is free software: you can redistribute it and/or modify it
  26. -- under the terms of the GNU General Public License as publhed by the Free
  27. -- Software Foundation, either version 2 of the License, or (at your option)
  28. -- any later version.
  29. -- wrappers-generator is distributed in the hope that it will be useful, but
  30. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  31. -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  32. -- more details.
  33. -- You should have received a copy of the GNU General Public License along with
  34. -- th program. If not, see <http://www.gnu.org/licenses/>.