class EL_STRING_8_EDITOR
Client examples: BASE_AUTOTEST_APP
Edit strings of type STRING_8 by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.
See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure
note
description: "[
Edit strings of type [$source STRING_8] by applying an editing procedure to all
occurrences of substrings that begin and end with a pair of delimiters.
See `{[$source EL_STRING_EDITOR]}.delete_interior' for an example of an editing procedure
]"
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: "2023-03-08 14:31:03 GMT (Wednesday 8th March 2023)"
revision: "6"
class
EL_STRING_8_EDITOR
inherit
EL_STRING_EDITOR [STRING_8]
redefine
new_string
end
create
make, make_empty
feature {NONE} -- Implementation
modify_target (str: STRING_8)
do
target.share (str)
end
new_string (general: READABLE_STRING_GENERAL): STRING
do
Result := general.to_string_8
end
wipe_out (str: STRING_8)
do
str.wipe_out
end
end