+
Point of view
PACKRAT_INTERNAL
class PACKRAT_CHOICE
is_equal (other: PACKRAT_CHOICE):
BOOLEAN
effective function
require
ensure
-
commutative: generating_type = other.generating_type implies Result = other.is_equal(Current)
copy (other: PACKRAT_CHOICE)
effective procedure
require
- not immutable
- same_dynamic_type(other)
- not immutable
- same_dynamic_type(other)
- not immutable
- same_dynamic_type(other)
ensure
ensure
-
good_hash_value: Result >= 0
frozen
effective function
frozen
effective function
frozen
effective function
require
ensure
- not Result.is_equal(yes) implies context.buffer.current_index = old context.buffer.current_index