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

http://github.com/tybor/Liberty · Specman e · 111 lines · 77 code · 17 blank · 17 comment · 0 complexity · 8b988982d31de93ae1f408ff938fa529 MD5 · raw file

  1. deferred class SHARED_COLLECTIONS
  2. -- Shared collections of various kinds of XML nodes
  3. insert
  4. ANY
  5. undefine
  6. copy,
  7. default_create,
  8. is_equal,
  9. out_in_tagged_out_memory
  10. end
  11. feature {}
  12. files: HASHED_DICTIONARY[C_FILE, UNICODE_STRING]
  13. once
  14. create Result.make
  15. end
  16. files_by_name: HASHED_DICTIONARY[C_FILE, ABSTRACT_STRING]
  17. once
  18. create Result.make
  19. end
  20. headers: HASHED_SET[ABSTRACT_STRING]
  21. once
  22. create Result.make
  23. end
  24. functions: LINKED_LIST[C_FUNCTION]
  25. once
  26. create Result.make
  27. end
  28. namespaces: HASHED_DICTIONARY[C_NAMESPACE, UNICODE_STRING]
  29. once
  30. create Result.make
  31. end
  32. symbols: HASHED_DICTIONARY[NAMED_NODE, ABSTRACT_STRING]
  33. once
  34. create Result.make
  35. end
  36. typedefs: TYPEDEFS
  37. once
  38. create Result.make
  39. end
  40. types: HASHED_DICTIONARY[C_TYPE, UNICODE_STRING]
  41. -- perhaps its a dictionary of WRAPPER_FEATURE or WRAPPABLE_NODE
  42. once
  43. create Result.make
  44. end
  45. variables: LINKED_LIST[C_VARIABLE]
  46. once
  47. create Result.make
  48. end
  49. composed_types: HASHED_DICTIONARY[COMPOSED_NODE, UNICODE_STRING]
  50. once
  51. create Result.make
  52. end
  53. feature {}
  54. flag_enums: WORDS
  55. -- Enumerations that will be forcefully wrapped as a flag.
  56. once
  57. create Result.make
  58. end
  59. avoided_symbols: WORDS
  60. -- Symbols that will not be wrapped.
  61. once
  62. create Result.make
  63. end
  64. feature {}
  65. -- Buffers
  66. -- Temporary buffers used to build enumerations and structures external classes
  67. queries: FORMATTER
  68. once
  69. create Result
  70. end
  71. setters: FORMATTER
  72. once
  73. create Result
  74. end
  75. low_level_values: FORMATTER
  76. once
  77. create Result
  78. end
  79. validity_query: FORMATTER
  80. once
  81. create Result
  82. end
  83. end -- class SHARED_COLLECTIONS
  84. -- Copyright (C) 2008-2017: Paolo Redaelli
  85. -- wrappers-generator is free software: you can redistribute it and/or modify it
  86. -- under the terms of the GNU General Public License as publhed by the Free
  87. -- Software Foundation, either version 2 of the License, or (at your option)
  88. -- any later version.
  89. -- wrappers-generator is distributed in the hope that it will be useful, but
  90. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  91. -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  92. -- more details.
  93. -- You should have received a copy of the GNU General Public License along with
  94. -- th program. If not, see <http://www.gnu.org/licenses/>.