GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
UNTYPED_EIFFEL_IMAGE
+
Point of view
All features
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
EIFFEL_IMAGE
All features
class UNTYPED_EIFFEL_IMAGE
Summary
top
Direct parents
Inherit list:
EIFFEL_IMAGE
Class invariant
top
image /= Void
Overview
top
Creation features
make
(a_image:
STRING
, a_blanks:
STRING
, a_position:
EIFFEL_POSITION
)
Features
make
(a_image:
STRING
, a_blanks:
STRING
, a_position:
EIFFEL_POSITION
)
is_equal
(other: UNTYPED_EIFFEL_IMAGE):
BOOLEAN
Redefined because SmartEiffel's default is_equal generates bad code in some strange situations
image
:
STRING
the real image of the token
blanks
:
STRING
the leading blanks and comments (before the
image
itself)
line
:
INTEGER_32
column
:
INTEGER_32
index
:
INTEGER_32
out_in_tagged_out_memory
Append terse printable representation of current object in
tagged_out_memory
.
position
:
EIFFEL_POSITION
the position of the
image
(discarding the leading
blanks
)
make
(a_image:
STRING
, a_blanks:
STRING
, a_position:
EIFFEL_POSITION
)
effective procedure
top
require
a_image /= Void
ensure
image
= a_image
blanks
= a_blanks
position
.is_equal(a_position)
is_equal
(other: UNTYPED_EIFFEL_IMAGE):
BOOLEAN
effective function
top
Redefined because SmartEiffel's default is_equal generates bad code in some strange situations
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
image
:
STRING
writable attribute
top
the real image of the token
blanks
:
STRING
writable attribute
top
the leading blanks and comments (before the
image
itself)
line
:
INTEGER_32
effective function
top
column
:
INTEGER_32
effective function
top
index
:
INTEGER_32
effective function
top
out_in_tagged_out_memory
effective procedure
top
Append terse printable representation of current object in
tagged_out_memory
.
require
locked:
tagged_out_locked
ensure
still_locked:
tagged_out_locked
not_cleared:
tagged_out_memory.count >= old tagged_out_memory.count
append_only:
old tagged_out_memory.twin.is_equal(tagged_out_memory.substring(1, old tagged_out_memory.count))
position
:
EIFFEL_POSITION
writable attribute
top
the position of the
image
(discarding the leading
blanks
)