/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

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