/src/tools/interpreter/liberty_interpreter_object_boolean.e
http://github.com/tybor/Liberty · Specman e · 42 lines · 22 code · 6 blank · 14 comment · 1 complexity · b544115e349e719e21068537f7f42425 MD5 · raw file
- -- This file is part of Liberty Eiffel.
- --
- -- Liberty Eiffel is free software: you can redistribute it and/or modify
- -- it under the terms of the GNU General Public License as published by
- -- the Free Software Foundation, version 3 of the License.
- --
- -- Liberty Eiffel is distributed in the hope that it will be useful,
- -- but WITHOUT ANY WARRANTY; without even the implied warranty of
- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- -- GNU General Public License for more details.
- --
- -- You should have received a copy of the GNU General Public License
- -- along with Liberty Eiffel. If not, see <http://www.gnu.org/licenses/>.
- --
- class LIBERTY_INTERPRETER_OBJECT_BOOLEAN
- inherit
- LIBERTY_INTERPRETER_OBJECT_NATIVE[BOOLEAN]
- creation {LIBERTY_INTERPRETER_OBJECT_CREATOR, LIBERTY_INTERPRETER_OBJECT_NATIVE, LIBERTY_INTERPRETER_NATIVE_ARRAY_ACCESSOR_FACTORY, LIBERTY_INTERPRETER}
- make, with_item
- feature {ANY}
- hash_code: INTEGER is
- do
- if item then
- Result := 97
- end
- end
- converted_to (target_type: LIBERTY_ACTUAL_TYPE): LIBERTY_INTERPRETER_OBJECT is
- do
- not_yet_implemented
- end
- feature {}
- expanded_twin: like Current is
- do
- create Result.with_item(interpreter, type, item, position)
- end
- end -- class LIBERTY_INTERPRETER_OBJECT_BOOLEAN