For TYPE_MARKs for which the is_static predicate is True, the Result is obviously Current
(e.g. "STRING" is the declaration_type of "STRING" and, as another example, "ARRAY[INTEGER]"
the declaration_type of "ARRAY[INTEGER]").
The POSITION of the first character of the Current type mark where it is originally
written.
Note that, even if has_been_specialized is True, the Result is the POSITION of the
originally written type mark (and not the position of the resolved type mark (when internally
memorized). Finally, In some very rare cases, the Result can be an is_unknownPOSITION.
An is_static type mark is a completely frozen one that cannot change because of inheritance or
because of some different generic derivation.
Here are some examples of is_static type marks: "STRING", "ARRAY[STRING]", "COLLECTION[INTEGER]",
"ANY", INTEGER_8, etc.
Assuming that E_ is a formal generic argument, here are some examples of non static
(i.e.is_static yields False) type marks: "E_", "ARRAY[E_]", "DICTIONARY[STRING,E_]". Also, are
non-static the following marks: "like Current", "like foo", etc.
For TYPE_MARKs for which the is_static predicate is True, the Result is obviously Current
(e.g. "STRING" is the declaration_type of "STRING" and, as another example, "ARRAY[INTEGER]"
the declaration_type of "ARRAY[INTEGER]").
For "like Current" the declaration_type is "STRING" only and only if "like Current" is written
in the "string.e" file. When there is no generic constraint, formal generic arguments are replaced
with "ANY" (as an example, "ANY" is the declaration_type of "E_" when "E_" is written in class
"array.e"). In case of a generic constraint, this generic constraint is used in place of "ANY" for
formal generic argument (as an example, the declaration_type of a "HASHED_DICTIONARY[V_,K_]" type
mark written inside class "hashed_dictionary.e" is "HASHED_DICTIONARY[ANY,HASHABLE]").
Append in str the Eiffel coding of the character (Table in chapter 25 of ETL, page 423).%%%%%%%%
When the % letter notation exists, it is returned in priority: '%N' gives "%N", '%T'
gives "%T", etc.
When % letter notation does not exists (not in the ETL table), numbered coding
used ("%/1/", "%/2/" etc).