immutable class SCRIPTS < $ENUMS{SCRIPTS}


Ancestors
$ENUMS{_} $BINARY $NIL $IS_NIL
$ANCHORED_FMT $FMT $STR $TEXT
$HASH $IS_EQ



Public


Readable Attributes
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.

Constants
const cardinality : CARD := val_count ; .. Included as cardinality
**** the default value!
const offset : CARD := 1 ; .. Included as offset
****
________This_is_the_offset_from_the_index_of_first_element_of_the_Names_array
___(ie_zero)_to_the_first_enumeration_value_numeric_code.

Features
Arabic : SAME
Arabic_Presentation : SAME
Armenian : SAME
Bengali : SAME
Bopomofo : SAME
CJK_Unified : SAME
**** called "Han"
Canadian_Aboriginal : SAME
Cherokee : SAME
****
Cyrillic : SAME
Devanagari : SAME
Ethiopic : SAME
Georgian : SAME
Greek : SAME
Gujarati : SAME
Gurmukhi : SAME
Hangul : SAME
Hangul_Jamo : SAME
Hebrew : SAME
Hiragana : SAME
IPA : SAME
Kannada : SAME
Katakana : SAME
Khmer : SAME
Lao : SAME
Latin : SAME
Malayalam : SAME
Mongolian : SAME
Myanmar : SAME
Numerics : SAME
Ogham : SAME
Oriya : SAME
Runic : SAME
Sinhala : SAME
Syriac : SAME
Tamil : SAME
Telugu : SAME
Thaana : SAME
Thai : SAME
Tibetan : SAME
Yi : SAME
binstr : BINSTR .. Included as binstr
build(cursor : BIN_CURSOR) : SAME .. Included as build
build( loc_cursor : STR_CURSOR ) : SAME .. Included as build
card : CARD .. Included as card
create(str : BINSTR) : SAME .. Included as create
create(num : CARD) : SAME .. Included as create
create( str : STR ) : SAME .. Included as create
****
________This_is_the_creation_routine_from_a_string_which_is_any_of_the
___abbreviations_listed_in_the_Name_table.____If_the_name_table_has_not_been
___read_in_this_is_done_first.
fmt( format : ANCHORED_DESCR ) : STR .. Included as fmt
fmt( format : ANCHORED_DESCR, lib : LIBCHARS ) : STR .. Included as fmt
hash : CARD .. Included as hash
is_enum( str : STR ) : CONVERSION_RESULTS .. Included as is_enum
is_eq(other : SAME) : BOOL .. Included as is_eq
****
________This_predicate_returns_true_if_and_only_if_self_and_other_are_the_same
___value_except_if_either_is_void_when_false_is_returned_identically.
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
is_nil : BOOL .. Included as is_nil
****
________This_predicate_returns_true_if_and_only_if_self_is_'void'.
nil : SAME .. Included as nil
****
________This_feature_returns_a_value_which_is_a_'void'_for_the_enumeration.
___The_language-defined_void_may_be_implemented_differently.
read(index : BIN_CURSOR) : SAME .. Included as read
str( lib : LIBCHARS ) : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_given
___character_repertoire_and_encoding_-_including_a_nil_value.
str : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_default
___character_repertoire_and_encoding_-_including_a_nil_value.
write(fyle : BIN_FILE) .. Included as write

Iters
elt! : SAME .. Included as elt!
****
________This_iter_yields_in_turn_all_of_the_values_in_the_domain_of_the__enumeration.


Private

const Max_Val : CARD := val_count ; .. Included as Max_Val
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
check_names( loc_lib : LIBCHARS ) .. Included as check_names
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.
equals(first_lcase,second : STR) : BOOL .. Included as equals
**** This routine tests for string equality up to the length of first! The test is case independent.
shared lib : LIBCHARS ; .. Included as lib
shared lib : LIBCHARS ; .. Included as lib
lookup(str : STR) : CARD .. Included as lookup
scan!(str : STR) : CARD .. Included as scan!
const val_count : CARD := 40 ;

The Sather Home Page