/tutorial/backtracking/logigram/exprs/expr_binary.e

http://github.com/tybor/Liberty · Specman e · 39 lines · 16 code · 5 blank · 18 comment · 0 complexity · b380aac1714302365ef09638ada75e5b MD5 · raw file

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