/tutorial/backtracking/expand_expression/abstract/expression_item_globals.e

http://github.com/tybor/Liberty · Specman e · 36 lines · 13 code · 5 blank · 18 comment · 0 complexity · 46c427eb8a3f76cd351becf099faecb4 MD5 · raw file

  1. -- See the Copyright notice at the end of this file.
  2. --
  3. class EXPRESSION_ITEM_GLOBALS
  4. feature {}
  5. Failure_item, Value_item, Or_item, And_item, Empty_item, Success_item: INTEGER is unique
  6. Iterate: BOOLEAN is True
  7. alternative_pool: POOL_ALTERNATIVE is
  8. once
  9. create Result.make
  10. end
  11. sequence_pool: POOL_SEQUENCE is
  12. once
  13. create Result.make
  14. end
  15. end -- class EXPRESSION_ITEM_GLOBALS
  16. --
  17. -- ------------------------------------------------------------------------------------------------------------------------------
  18. -- Copyright notice below. Please read.
  19. --
  20. -- This file is free software, which comes along with SmartEiffel. This software is distributed in the hope that it will be
  21. -- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  22. -- You can modify it as you want, provided this footer is kept unaltered, and a notification of the changes is added.
  23. -- You are allowed to redistribute it and sell it, alone or as a part of another product.
  24. --
  25. -- Copyright(C) 1994-2002: INRIA - LORIA (INRIA Lorraine) - ESIAL U.H.P. - University of Nancy 1 - FRANCE
  26. -- Copyright(C) 2003-2005: INRIA - LORIA (INRIA Lorraine) - I.U.T. Charlemagne - University of Nancy 2 - FRANCE
  27. --
  28. -- Authors: Dominique COLNET, Philippe RIBET, Cyril ADRIAN, Vincent CROIZIER, Frederic MERIZEN
  29. --
  30. -- http://SmartEiffel.loria.fr - SmartEiffel@loria.fr
  31. -- ------------------------------------------------------------------------------------------------------------------------------