/tutorial/backtracking/expand_expression/tree/string_node.e
http://github.com/tybor/Liberty · Specman e · 25 lines · 19 code · 6 blank · 0 comment · 0 complexity · e41126a840b8db33079ae8a025bebdcd MD5 · raw file
- class STRING_NODE
- inherit
- BACKTRACKING_NODE
- creation {ANY}
- make
- feature {ANY}
- value: STRING
- make (val: STRING) is
- do
- value := val
- ensure
- definition: value = val
- end
- explore (expander: EXPAND_EXPRESSION) is
- do
- expander.stack.add_last(value)
- expander.continue
- end
- end -- class STRING_NODE