PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/lib/backtracking/node/backtracking_node_false.e

http://github.com/tybor/Liberty
Specman e | 51 lines | 19 code | 5 blank | 27 comment | 0 complexity | 542c296f9a3e3ebdf47bad17d4a29383 MD5 | raw file
 1-- This file is part of a Liberty Eiffel library.
 2-- See the full copyright at the end.
 3--
 4class BACKTRACKING_NODE_FALSE
 5   --
 6   -- Node that stops the current exploration.
 7   --
 8
 9inherit
10   BACKTRACKING_NODE
11      undefine
12         fill_tagged_out_memory
13      end
14
15insert
16   BACKTRACKING_NODE_FILL
17
18feature {ANY}
19   explore (explorer: BACKTRACKING)
20      do
21         -- Stops the exploration
22         explorer.backtrack
23      end
24
25feature {}
26   do_fill_tagged_out_memory
27      do
28         tagged_out_memory.append(once "<false>")
29      end
30
31end -- class BACKTRACKING_NODE_FALSE
32--
33-- Copyright (C) 2009-2017: by all the people cited in the AUTHORS file.
34--
35-- Permission is hereby granted, free of charge, to any person obtaining a copy
36-- of this software and associated documentation files (the "Software"), to deal
37-- in the Software without restriction, including without limitation the rights
38-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
39-- copies of the Software, and to permit persons to whom the Software is
40-- furnished to do so, subject to the following conditions:
41--
42-- The above copyright notice and this permission notice shall be included in
43-- all copies or substantial portions of the Software.
44--
45-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
47-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
49-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
51-- THE SOFTWARE.