GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
JSON_NUMBER
+
Point of view
ANY
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
JSON_HANDLER
All features
class JSON_NUMBER
Summary
top
Direct parents
Inherit list:
JSON_VALUE
Overview
top
Creation features
Exported features
accept
(visitor:
VISITOR
)
Accept to be visited by the
visitor
.
is_equal
(other: JSON_NUMBER):
BOOLEAN
Is
other
attached to an object considered equal to current object?
is_integer
:
BOOLEAN
to_integer
:
INTEGER_64
to_real
:
REAL_64
append_in
(str:
STRING
)
write_to
(str:
OUTPUT_STREAM
)
out_in_tagged_out_memory
Append terse printable representation of current object in
tagged_out_memory
.
line
:
INTEGER_32
optional line and column; 0 if not set
column
:
INTEGER_32
optional line and column; 0 if not set
accept
(visitor:
VISITOR
)
effective procedure
top
Accept to be visited by the
visitor
.
require
visitor /= Void
is_equal
(other: JSON_NUMBER):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
is_integer
:
BOOLEAN
effective function
top
to_integer
:
INTEGER_64
effective function
top
require
is_integer
to_real
:
REAL_64
effective function
top
append_in
(str:
STRING
)
effective procedure
top
write_to
(str:
OUTPUT_STREAM
)
effective procedure
top
require
str.is_connected
out_in_tagged_out_memory
effective procedure
top
Append terse printable representation of current object in
tagged_out_memory
.
line
:
INTEGER_32
writable attribute
top
optional line and column; 0 if not set
column
:
INTEGER_32
writable attribute
top
optional line and column; 0 if not set