class EL_BOOLEAN_OPERAND_SETTER
Sets a BOOLEAN operand in make routine argument tuple
note
description: "Sets a `BOOLEAN' operand in `make' routine argument tuple"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2022-11-15 19:56:04 GMT (Tuesday 15th November 2022)"
revision: "7"
class
EL_BOOLEAN_OPERAND_SETTER
inherit
EL_MAKE_OPERAND_SETTER [BOOLEAN]
redefine
try_put_operand, value
end
feature {NONE} -- Implementation
try_put_operand
do
operands.put_boolean (value (Empty_string), index)
end
value (str: ZSTRING): BOOLEAN
do
Result := Args.word_option_exists (argument.word_option)
end
end