    indexing
    	description: "[
    		Access to internal object properties.
    		This class may be used as ancestor by classes needing its facilities.
    	]"
    	legal: "See notice at end of class."
    	status: "See notice at end of class."
    	date: "$Date: 2006-07-23 22:41:16 -0700 (Sun, 23 Jul 2006) $"
    	revision: "$Revision: 61569 $"

    class interface
    	INTERNAL

    create
    	default_create
    			-- Process instances of classes with no creation clause.
    			-- (Default: do nothing.)
    			-- (from ANY)

    feature -- Access

    	bit_type: INTEGER_32 is 8

    	boolean_field (i: INTEGER_32; object: ANY): BOOLEAN
    			-- Boolean value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			boolean_field: field_type (i, object) = boolean_type

    	boolean_type: INTEGER_32 is 3

    	character_32_type: INTEGER_32 is 12
    			-- Was declared in INTERNAL as synonym of Wide_character_type.

    	character_8_type: INTEGER_32 is 2
    			-- Was declared in INTERNAL as synonym of Character_type.

    	character_field (i: INTEGER_32; object: ANY): CHARACTER_8
    			-- Character value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			character_field: field_type (i, object) = character_type

    	character_type: INTEGER_32 is 2
    			-- Was declared in INTERNAL as synonym of Character_8_type.

    	class_name (object: ANY): STRING_8
    			-- Name of the class associated with `object'
    		require
    			object_not_void: object /= Void

    	class_name_of_type (type_id: INTEGER_32): STRING_8
    			-- Name of class associated with dynamic type `type_id'.
    		require
    			type_id_nonnegative: type_id >= 0

    	double_field (i: INTEGER_32; object: ANY): REAL_64
    			-- Double precision value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of real_64_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_64_field: field_type (i, object) = real_64_type

    	double_type: INTEGER_32 is 6
    			-- Was declared in INTERNAL as synonym of Real_64_type.

    	dynamic_type (object: ANY): INTEGER_32
    			-- Dynamic type of `object'
    		require
    			object_not_void: object /= Void
    		ensure
    			dynamic_type_nonnegative: Result >= 0

    	expanded_field_type (i: INTEGER_32; object: ANY): STRING_8
    			-- Class name associated with the `i'-th
    			-- expanded field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			is_expanded: field_type (i, object) = expanded_type
    		ensure
    			result_exists: Result /= Void

    	expanded_type: INTEGER_32 is 7

    	field (i: INTEGER_32; object: ANY): ANY
    			-- Object attached to the `i'-th field of `object'
    			-- (directly or through a reference)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			not_special: not is_special (object)

    	field_name (i: INTEGER_32; object: ANY): STRING_8
    			-- Name of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			not_special: not is_special (object)
    		ensure
    			result_exists: Result /= Void

    	field_name_of_type (i: INTEGER_32; type_id: INTEGER_32): STRING_8
    			-- Name of `i'-th field of dynamic type `type_id'.
    		require
    			type_id_nonnegative: type_id >= 0
    			index_large_enough: i >= 1
    			index_small_enought: i <= field_count_of_type (type_id)

    	field_offset (i: INTEGER_32; object: ANY): INTEGER_32
    			-- Offset of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			not_special: not is_special (object)

    	field_static_type_of_type (i: INTEGER_32; type_id: INTEGER_32): INTEGER_32
    			-- Static type of declared `i'-th field of dynamic type `type_id'
    		require
    			type_id_nonnegative: type_id >= 0
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count_of_type (type_id)
    		ensure
    			field_type_nonnegative: Result >= 0

    	field_type (i: INTEGER_32; object: ANY): INTEGER_32
    			-- Abstract type of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    		ensure
    			field_type_nonnegative: Result >= 0

    	field_type_of_type (i: INTEGER_32; type_id: INTEGER_32): INTEGER_32
    			-- Abstract type of `i'-th field of dynamic type `type_id'
    		require
    			type_id_nonnegative: type_id >= 0
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count_of_type (type_id)
    		ensure
    			field_type_nonnegative: Result >= 0

    	generating_type: STRING_8
    			-- Name of current object's generating type
    			-- (type of which it is a direct instance)
    			-- (from ANY)

    	generator: STRING_8
    			-- Name of current object's generating class
    			-- (base class of the type of which it is a direct instance)
    			-- (from ANY)

    	generic_count (obj: ANY): INTEGER_32
    			-- Number of generic parameter in `obj'.
    		require
    			obj_not_void: obj /= Void

    	generic_count_of_type (type_id: INTEGER_32): INTEGER_32
    			-- Number of generic parameter in `type_id'.
    		require
    			type_id_nonnegative: type_id >= 0

    	generic_dynamic_type (object: ANY; i: INTEGER_32): INTEGER_32
    			-- Dynamic type of generic parameter of `object' at
    			-- position `i'.
    		require
    			object_not_void: object /= Void
    			object_generic: generic_count (object) > 0
    			i_valid: i > 0 and i <= generic_count (object)
    		ensure
    			dynamic_type_nonnegative: Result >= 0

    	generic_dynamic_type_of_type (type_id: INTEGER_32; i: INTEGER_32): INTEGER_32
    			-- Dynamic type of generic parameter of `type_id' at position `i'.
    		require
    			type_id_nonnegative: type_id >= 0
    			type_id_generic: generic_count_of_type (type_id) > 0
    			i_valid: i > 0 and i <= generic_count_of_type (type_id)
    		ensure
    			dynamic_type_nonnegative: Result >= 0

    	integer_16_field (i: INTEGER_32; object: ANY): INTEGER_16
    			-- INTEGER_16 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_16_field: field_type (i, object) = integer_16_type

    	integer_16_type: INTEGER_32 is 10

    	integer_32_field (i: INTEGER_32; object: ANY): INTEGER_32
    			-- INTEGER_32 value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of integer_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_32_field: field_type (i, object) = integer_32_type

    	integer_32_type: INTEGER_32 is 4
    			-- Was declared in INTERNAL as synonym of Integer_type.

    	integer_64_field (i: INTEGER_32; object: ANY): INTEGER_64
    			-- INTEGER_64 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_64_field: field_type (i, object) = integer_64_type

    	integer_64_type: INTEGER_32 is 11

    	integer_8_field (i: INTEGER_32; object: ANY): INTEGER_8
    			-- INTEGER_8 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_8_field: field_type (i, object) = integer_8_type

    	integer_8_type: INTEGER_32 is 9

    	integer_field (i: INTEGER_32; object: ANY): INTEGER_32
    			-- INTEGER_32 value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of integer_32_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_32_field: field_type (i, object) = integer_32_type

    	integer_type: INTEGER_32 is 4
    			-- Was declared in INTERNAL as synonym of Integer_32_type.

    	max_predefined_type: INTEGER_32 is 16

    	natural_16_field (i: INTEGER_32; object: ANY): NATURAL_16
    			-- NATURAL_16 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_16_field: field_type (i, object) = natural_16_type

    	natural_16_type: INTEGER_32 is 14

    	natural_32_field (i: INTEGER_32; object: ANY): NATURAL_32
    			-- NATURAL_32 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_32_field: field_type (i, object) = natural_32_type

    	natural_32_type: INTEGER_32 is 15

    	natural_64_field (i: INTEGER_32; object: ANY): NATURAL_64
    			-- NATURAL_64 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_64_field: field_type (i, object) = natural_64_type

    	natural_64_type: INTEGER_32 is 16

    	natural_8_field (i: INTEGER_32; object: ANY): NATURAL_8
    			-- NATURAL_8 value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_8_field: field_type (i, object) = natural_8_type

    	natural_8_type: INTEGER_32 is 13

    	none_type: INTEGER_32 is -2
    			-- Type ID representation for NONE.

    	pointer_field (i: INTEGER_32; object: ANY): POINTER
    			-- Pointer value of `i'-th field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			pointer_field: field_type (i, object) = pointer_type

    	pointer_type: INTEGER_32 is 0

    	real_32_field (i: INTEGER_32; object: ANY): REAL_32
    			-- Real value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of real_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_32_field: field_type (i, object) = real_32_type

    	real_32_type: INTEGER_32 is 5
    			-- Was declared in INTERNAL as synonym of Real_type.

    	real_64_field (i: INTEGER_32; object: ANY): REAL_64
    			-- Double precision value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of double_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_64_field: field_type (i, object) = real_64_type

    	real_64_type: INTEGER_32 is 6
    			-- Was declared in INTERNAL as synonym of Double_type.

    	real_field (i: INTEGER_32; object: ANY): REAL_32
    			-- Real value of `i'-th field of `object'
    			-- Was declared in INTERNAL as synonym of real_32_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_32_field: field_type (i, object) = real_32_type

    	real_type: INTEGER_32 is 5
    			-- Was declared in INTERNAL as synonym of Real_32_type.

    	reference_type: INTEGER_32 is 1

    	type_name (object: ANY): STRING_8
    			-- Name of `object''s generating type (type of which `object'
    			-- is a direct instance).
    		require
    			object_not_void: object /= Void

    	type_name_of_type (type_id: INTEGER_32): STRING_8
    			-- Name of `type_id''s generating type (type of which `type_id'
    			-- is a direct instance).
    		require
    			type_id_nonnegative: type_id >= 0

    	wide_character_type: INTEGER_32 is 12
    			-- Was declared in INTERNAL as synonym of Character_32_type.

    feature -- Measurement

    	bit_size (i: INTEGER_32; object: ANY): INTEGER_32
    			-- Size (in bit) of the `i'-th bit field of `object'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			is_bit: field_type (i, object) = bit_type
    		ensure
    			positive_result: Result > 0

    	field_count (object: ANY): INTEGER_32
    			-- Number of logical fields in `object'
    		require
    			object_not_void: object /= Void

    	field_count_of_type (type_id: INTEGER_32): INTEGER_32
    			-- Number of logical fields in dynamic type `type_id'.
    		require
    			type_id_nonnegative: type_id >= 0

    	physical_size (object: ANY): INTEGER_32
    			-- Space occupied by `object' in bytes
    		require
    			object_not_void: object /= Void

    feature -- Comparison

    	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void
    			-- or attached to isomorphic object structures?
    			-- (from ANY)
    		ensure -- from ANY
    			shallow_implies_deep: standard_equal (some, other) implies Result
    			both_or_none_void: (some = Void) implies (Result = (other = Void))
    			same_type: (Result and (some /= Void)) implies some.same_type (other)
    			symmetric: Result implies deep_equal (other, some)

    	frozen equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void or attached
    			-- to objects considered equal?
    			-- (from ANY)
    		ensure -- from ANY
    			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))

    	is_equal (other: like Current): BOOLEAN
    			-- Is `other' attached to an object considered
    			-- equal to current object?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			symmetric: Result implies other.is_equal (Current)
    			consistent: standard_is_equal (other) implies Result

    	frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
    			-- Are `some' and `other' either both void or attached to
    			-- field-by-field identical objects of the same type?
    			-- Always uses default object comparison criterion.
    			-- (from ANY)
    		ensure -- from ANY
    			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))

    	frozen standard_is_equal (other: like Current): BOOLEAN
    			-- Is `other' attached to an object of the same type
    			-- as current object, and field-by-field identical to it?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			same_type: Result implies same_type (other)
    			symmetric: Result implies other.standard_is_equal (Current)

    feature -- Status report

    	conforms_to (other: ANY): BOOLEAN
    			-- Does type of current object conform to type
    			-- of `other' (as per Eiffel: The Language, chapter 13)?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void

    	is_marked (obj: ANY): BOOLEAN
    			-- Is `obj' marked?
    		require
    			object_exists: obj /= Void

    	is_pre_ecma_mapping_disabled: BOOLEAN
    			-- Are we mapping old names to new ECMA names?
    			-- False means. mapping STRING to STRING_8, INTEGER to INTEGER_32,...
    			-- (from INTERNAL_HELPER)

    	is_special (object: ANY): BOOLEAN
    			-- Is `object' a special object?
    		require
    			object_not_void: object /= Void

    	is_special_any_type (type_id: INTEGER_32): BOOLEAN
    			-- Is type represented by `type_id' represent
    			-- a SPECIAL [XX] where XX is a reference type.
    		require
    			type_id_nonnegative: type_id >= 0

    	is_special_type (type_id: INTEGER_32): BOOLEAN
    			-- Is type represented by `type_id' represent
    			-- a SPECIAL [XX] where XX is a reference type
    			-- or a basic type.
    		require
    			type_id_nonnegative: type_id >= 0

    	is_tuple (object: ANY): BOOLEAN
    			-- Is `object' a TUPLE object?
    		require
    			object_not_void: object /= Void

    	is_tuple_type (type_id: INTEGER_32): BOOLEAN
    			-- Is type represented by `type_id' represent a TUPLE?
    		require
    			type_id_nonnegative: type_id >= 0

    	is_valid_type_string (s: STRING_8): BOOLEAN
    			-- Is `s' a valid string representation for a TYPE.
    			-- (from INTERNAL_HELPER)
    		require -- from INTERNAL_HELPER
    			s_not_void: s /= Void
    			s_not_empty: not s.is_empty

    	mapped_type (a_type: STRING_8): STRING_8
    			-- If is_pre_ecma_mapping_disabled `a_type', otherwise
    			-- the mapped typed.
    			-- (from INTERNAL_HELPER)
    		require -- from INTERNAL_HELPER
    			a_type_not_void: a_type /= Void
    		ensure -- from INTERNAL_HELPER
    			mapped_type_not_void: Result /= Void

    	same_type (other: ANY): BOOLEAN
    			-- Is type of current object identical to type of `other'?
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			definition: Result = (conforms_to (other) and other.conforms_to (Current))

    feature -- Status setting

    	disable_pre_ecma_mapping
    			-- Set is_pre_ecma_mapping_disabled to True.
    			-- (from INTERNAL_HELPER)
    		ensure -- from INTERNAL_HELPER
    			is_pre_ecma_mapping_disabled_set: is_pre_ecma_mapping_disabled

    	enable_pre_ecma_mapping
    			-- Set is_pre_ecma_mapping_disabled to False.
    			-- (from INTERNAL_HELPER)
    		ensure -- from INTERNAL_HELPER
    			is_pre_ecma_mapping_disabled_set: not is_pre_ecma_mapping_disabled

    feature -- Element change

    	set_boolean_field (i: INTEGER_32; object: ANY; value: BOOLEAN)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			boolean_field: field_type (i, object) = boolean_type

    	set_character_field (i: INTEGER_32; object: ANY; value: CHARACTER_8)
    			-- Set character value of `i'-th field of `object' to `value'
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			character_field: field_type (i, object) = character_type

    	set_double_field (i: INTEGER_32; object: ANY; value: REAL_64)
    			-- Was declared in INTERNAL as synonym of set_real_64_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_64_field: field_type (i, object) = real_64_type

    	set_integer_16_field (i: INTEGER_32; object: ANY; value: INTEGER_16)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_16_field: field_type (i, object) = integer_16_type

    	set_integer_32_field (i: INTEGER_32; object: ANY; value: INTEGER_32)
    			-- Was declared in INTERNAL as synonym of set_integer_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_32_field: field_type (i, object) = integer_32_type

    	set_integer_64_field (i: INTEGER_32; object: ANY; value: INTEGER_64)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_64_field: field_type (i, object) = integer_64_type

    	set_integer_8_field (i: INTEGER_32; object: ANY; value: INTEGER_8)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_8_field: field_type (i, object) = integer_8_type

    	set_integer_field (i: INTEGER_32; object: ANY; value: INTEGER_32)
    			-- Was declared in INTERNAL as synonym of set_integer_32_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			integer_32_field: field_type (i, object) = integer_32_type

    	set_natural_16_field (i: INTEGER_32; object: ANY; value: NATURAL_16)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_16_field: field_type (i, object) = natural_16_type

    	set_natural_32_field (i: INTEGER_32; object: ANY; value: NATURAL_32)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_32_field: field_type (i, object) = natural_32_type

    	set_natural_64_field (i: INTEGER_32; object: ANY; value: NATURAL_64)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_64_field: field_type (i, object) = natural_64_type

    	set_natural_8_field (i: INTEGER_32; object: ANY; value: NATURAL_8)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			natural_8_field: field_type (i, object) = natural_8_type

    	set_pointer_field (i: INTEGER_32; object: ANY; value: POINTER)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			pointer_field: field_type (i, object) = pointer_type

    	set_real_32_field (i: INTEGER_32; object: ANY; value: REAL_32)
    			-- Was declared in INTERNAL as synonym of set_real_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_32_field: field_type (i, object) = real_32_type

    	set_real_64_field (i: INTEGER_32; object: ANY; value: REAL_64)
    			-- Was declared in INTERNAL as synonym of set_double_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_64_field: field_type (i, object) = real_64_type

    	set_real_field (i: INTEGER_32; object: ANY; value: REAL_32)
    			-- Was declared in INTERNAL as synonym of set_real_32_field.
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			real_32_field: field_type (i, object) = real_32_type

    	set_reference_field (i: INTEGER_32; object: ANY; value: ANY)
    		require
    			object_not_void: object /= Void
    			index_large_enough: i >= 1
    			index_small_enough: i <= field_count (object)
    			reference_field: field_type (i, object) = reference_type
    			value_conforms_to_field_static_type: value /= Void implies type_conforms_to (dynamic_type (value), field_static_type_of_type (i, dynamic_type (object)))

    feature -- Duplication

    	copy (other: like Current)
    			-- Update current object using fields of object attached
    			-- to `other', so as to yield equal objects.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_equal: is_equal (other)

    	frozen deep_copy (other: like Current)
    			-- Effect equivalent to that of:
    			--		copy (`other' . deep_twin)
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, other)

    	frozen deep_twin: like Current
    			-- New object structure recursively duplicated from Current.
    			-- (from ANY)
    		ensure -- from ANY
    			deep_equal: deep_equal (Current, Result)

    	frozen standard_copy (other: like Current)
    			-- Copy every field of `other' onto corresponding field
    			-- of current object.
    			-- (from ANY)
    		require -- from ANY
    			other_not_void: other /= Void
    			type_identity: same_type (other)
    		ensure -- from ANY
    			is_standard_equal: standard_is_equal (other)

    	frozen standard_twin: like Current
    			-- New object field-by-field identical to `other'.
    			-- Always uses default copying semantics.
    			-- (from ANY)
    		ensure -- from ANY
    			standard_twin_not_void: Result /= Void
    			equal: standard_equal (Result, Current)

    	frozen twin: like Current
    			-- New object equal to `Current'
    			-- twin calls copy; to change copying/twining semantics, redefine copy.
    			-- (from ANY)
    		ensure -- from ANY
    			twin_not_void: Result /= Void
    			is_equal: Result.is_equal (Current)

    feature -- Basic operations

    	frozen default: like Current
    			-- Default value of object's type
    			-- (from ANY)

    	frozen default_pointer: POINTER
    			-- Default value of type `POINTER'
    			-- (Avoid the need to write `p'.default for
    			-- some `p' of type `POINTER'.)
    			-- (from ANY)

    	default_rescue
    			-- Process exception for routines with no Rescue clause.
    			-- (Default: do nothing.)
    			-- (from ANY)

    	frozen do_nothing
    			-- Execute a null action.
    			-- (from ANY)

    feature -- Conformance

    	is_instance_of (object: ANY; type_id: INTEGER_32): BOOLEAN
    			-- Is `object' an instance of type `type_id'?
    		require
    			object_not_void: object /= Void
    			type_id_nonnegative: type_id >= 0

    	type_conforms_to (type1, type2: INTEGER_32): BOOLEAN
    			-- Does `type1' conform to `type2'?
    		require
    			type1_nonnegative: type1 >= 0
    			type2_nonnegative: type2 >= 0

    feature -- Creation

    	dynamic_type_from_string (class_type: STRING_8): INTEGER_32
    			-- Dynamic type corresponding to `class_type'.
    			-- If no dynamic type available, returns -1.
    		require
    			class_type_not_void: class_type /= Void
    			class_type_not_empty: not class_type.is_empty
    			is_valid_type_string: is_valid_type_string (class_type)
    		ensure
    			dynamic_type_from_string_valid: Result = -1 or Result = none_type or Result >= 0

    	new_instance_of (type_id: INTEGER_32): ANY
    			-- New instance of dynamic `type_id'.
    			-- Note: returned object is not initialized and may
    			-- hence violate its invariant.
    			-- `type_id' cannot represent a SPECIAL type, use
    			-- new_special_any_instance instead.
    		require
    			type_id_nonnegative: type_id >= 0
    			not_special_type: not is_special_type (type_id)
    		ensure
    			not_special_type: not is_special (Result)
    			dynamic_type_set: dynamic_type (Result) = type_id

    	new_special_any_instance (type_id, count: INTEGER_32): SPECIAL [ANY]
    			-- New instance of dynamic `type_id' that represents
    			-- a SPECIAL with `count' element. To create a SPECIAL of
    			-- basic type, use `SPECIAL'.
    		require
    			count_valid: count >= 0
    			type_id_nonnegative: type_id >= 0
    			special_type: is_special_any_type (type_id)
    		ensure
    			special_type: is_special (Result)
    			dynamic_type_set: dynamic_type (Result) = type_id
    			count_set: Result.count = count

    feature -- Marking

    	lock_marking
    			-- Get a lock on mark and unmark routine so that 2 threads cannot mark and
    			-- unmark at the same time.

    	mark (obj: ANY)
    			-- Mark object `obj'.
    			-- To be thread safe, make sure to call this feature when you
    			-- have the marking lock that you acquire using lock_marking.
    		require
    			object_not_void: obj /= Void
    			object_not_marked: not is_marked (obj)
    		ensure
    			is_marked: is_marked (obj)

    	unlock_marking
    			-- Release a lock on mark and unmark, so that another thread can
    			-- use mark and unmark.

    	unmark (obj: ANY)
    			-- Unmark object `obj'.
    			-- To be thread safe, make sure to call this feature when you
    			-- have the marking lock that you acquire using lock_marking.
    		require
    			object_not_void: obj /= Void
    			object_marked: is_marked (obj)
    		ensure
    			is_not_marked: not is_marked (obj)

    feature -- Output

    	io: STD_FILES
    			-- Handle to standard file setup
    			-- (from ANY)

    	out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of tagged_out.
    			-- (from ANY)

    	print (some: ANY)
    			-- Write terse external representation of `some'
    			-- on standard output.
    			-- (from ANY)

    	frozen tagged_out: STRING_8
    			-- New string containing terse printable representation
    			-- of current object
    			-- Was declared in ANY as synonym of out.
    			-- (from ANY)

    feature -- Platform

    	operating_environment: OPERATING_ENVIRONMENT
    			-- Objects available from the operating system
    			-- (from ANY)

    feature -- Version

    	compiler_version: INTEGER_32

    invariant
    		-- from ANY
    	reflexive_equality: standard_is_equal (Current)
    	reflexive_conformance: conforms_to (Current)

    indexing
    	library: "EiffelBase: Library of reusable components for Eiffel."
    	copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
    	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
    	source: "[
    		Eiffel Software
    		356 Storke Road, Goleta, CA 93117 USA
    		Telephone 805-685-1006, Fax 805-685-6869
    		Website http://www.eiffel.com
    		Customer support http://support.eiffel.com
    	]"

    end -- class INTERNAL