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

http://github.com/tybor/Liberty · Specman e · 26 lines · 11 code · 3 blank · 12 comment · 0 complexity · e0ec9be7585d5521c672a4ca0e1dbaf6 MD5 · raw file

  1. deferred class IDENTIFIED_NODE
  2. -- A Gccxml node with id attribute
  3. inherit
  4. GCCXML_NODE
  5. feature {ANY}
  6. id: UNICODE_STRING
  7. do
  8. Result := attribute_at(once U"id")
  9. ensure
  10. Result /= Void
  11. end
  12. end -- class IDENTIFIED_NODE
  13. -- Copyright (C) 2008-2017: ,2009,2010 Paolo Redaelli
  14. -- wrappers-generator is free software: you can redistribute it and/or modify it
  15. -- under the terms of the GNU General Public License as publhed by the Free
  16. -- Software Foundation, either version 2 of the License, or (at your option)
  17. -- any later version.
  18. -- wrappers-generator is distributed in the hope that it will be useful, but
  19. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  20. -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  21. -- more details.
  22. -- You should have received a copy of the GNU General Public License along with
  23. -- th program. If not, see <http://www.gnu.org/licenses/>.