/src/tools/wrappers-generator/unicode/unicode_parser_position.e

http://github.com/tybor/Liberty · Specman e · 42 lines · 10 code · 3 blank · 29 comment · 0 complexity · 155d1abba9fb4b4711fe76b7e5b74cb9 MD5 · raw file

  1. -- See the Copyright notice at the end of this file.
  2. --
  3. expanded class UNICODE_PARSER_POSITION
  4. feature {UNICODE_PARSER_BUFFER}
  5. index, line, column: INTEGER
  6. set (i, l, c: INTEGER) is
  7. do
  8. index := i
  9. line := l
  10. column := c
  11. end
  12. end -- class UNICODE_PARSER_POSITION
  13. --
  14. -- ------------------------------------------------------------------------------------------------------------
  15. -- Copyright notice below. Please read.
  16. --
  17. -- This file is part of the SmartEiffel standard library.
  18. -- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P. - University of Nancy 1 - FRANCE
  19. -- Copyright(C) 2003-2006: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE
  20. --
  21. -- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN
  22. --
  23. -- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
  24. -- documentation files (the "Software"), to deal in the Software without restriction, including without
  25. -- limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  26. -- the Software, and to permit persons to whom the Software is furnished to do so, subject to the following
  27. -- conditions:
  28. --
  29. -- The above copyright notice and this permission notice shall be included in all copies or substantial
  30. -- portions of the Software.
  31. --
  32. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
  33. -- LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
  34. -- EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  35. -- AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
  36. -- OR OTHER DEALINGS IN THE SOFTWARE.
  37. --
  38. -- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr
  39. -- ------------------------------------------------------------------------------------------------------------