class EL_STRING_8_LIST

(source code)

Client examples: AMAZON_INSTANT_ACCESS_TEST_SETBENCHMARK_CONSTANTSCLASS_NOTE_EDITORCOMMAND_ARGUMENTS_TEST_SETCOMPRESS_MANIFEST_COMMANDCONDITION_ECF_LINEDIGEST_ROUTINES_TEST_SETECF_INFOEIFFEL_NAME_TRANSLATEABLE_TEST_SETENCODING_CHECK_COMMANDFILE_LOCKING_TEST_SETFILE_TREE_TRANSFORMER_SCRIPTFTP_PROTOCOL_TEST_SETGENERAL_TEST_SETGROUPED_TABLE_TEST_SETHASH_TABLE_TEST_SETHEXAGRAM_STRINGSHTTP_CONNECTION_TEST_SETJSON_PARSING_TEST_SETLIBRARY_CLASS

description

List of strings of type STRING_8

note
	description: "List of strings of type ${STRING_8}"

	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: "2024-09-11 8:08:15 GMT (Wednesday 11th September 2024)"
	revision: "23"

class
	EL_STRING_8_LIST

inherit
	EL_STRING_LIST [STRING]
		redefine
			add_to_checksum, item_indent, new_string, tab_string
		end

	EL_CHARACTER_8_CONSTANTS

	EL_SHARED_STRING_8_CURSOR

create
	make, make_empty, make_with_lines, make_filled, make_from_special,
	make_from, make_from_substrings, make_from_array, make_from_tuple, make_from_general,
	make_split, make_adjusted_split, make_word_split, make_comma_split

convert
	make_from_array ({ARRAY [STRING]}), make_comma_split ({STRING}), make_from_tuple ({TUPLE})

feature -- Access

	item_indent: INTEGER
		do
			if attached cursor_8 (item) as c8 then
				Result := c8.leading_occurrences ('%T')
			end
		end

feature {NONE} -- Implementation

	add_to_checksum (crc: like crc_generator; str: STRING_8)
		do
			crc.add_string_8 (str)
		end

	new_string (general: READABLE_STRING_GENERAL): STRING_8
		do
			Result := general.to_string_8
		end

	tab_string (a_count: INTEGER): STRING_8
		do
			Result := tab * a_count
		end

end