GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
JSON_OBJECT
+
Point of view
JSON_HANDLER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
JSON_HANDLER
All features
class JSON_OBJECT
Summary
top
Direct parents
Inherit list:
JSON_TEXT
Class invariant
top
members
/= Void
Overview
top
Creation features
make
(a_members:
MAP
[
JSON_VALUE
,
JSON_STRING
])
Exported features
accept
(visitor:
VISITOR
)
Accept to be visited by the
visitor
.
is_equal
(other: JSON_OBJECT):
BOOLEAN
Is
other
attached to an object considered equal to current object?
out_in_tagged_out_memory
Append terse printable representation of current object in
tagged_out_memory
.
item
(key:
ABSTRACT_STRING
):
JSON_VALUE
members
:
MAP
[
JSON_VALUE
,
JSON_STRING
]
line
:
INTEGER_32
optional line and column; 0 if not set
column
:
INTEGER_32
optional line and column; 0 if not set
set_position
(a_line:
INTEGER_32
, a_column:
INTEGER_32
)
accept
(visitor:
VISITOR
)
effective procedure
top
Accept to be visited by the
visitor
.
require
visitor /= Void
is_equal
(other: JSON_OBJECT):
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)
out_in_tagged_out_memory
effective procedure
top
Append terse printable representation of current object in
tagged_out_memory
.
item
(key:
ABSTRACT_STRING
):
JSON_VALUE
effective function
top
require
key /= Void
members
:
MAP
[
JSON_VALUE
,
JSON_STRING
]
writable attribute
top
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
set_position
(a_line:
INTEGER_32
, a_column:
INTEGER_32
)
effective procedure
top
ensure
line
= a_line
column
= a_column