GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
JSON_STRING
+
Point of view
ANY
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
JSON_HANDLER
All features
class JSON_STRING
Summary
top
Direct parents
Inherit list:
JSON_VALUE
Insert list:
HASHABLE
,
UNICODE_STRING_HELPER
Overview
top
Creation features
Exported features
accept
(visitor:
VISITOR
)
Accept to be visited by the
visitor
.
hash_code
:
INTEGER_32
The hash-code value of
Current
.
is_equal
(other: JSON_STRING):
BOOLEAN
Is
other
attached to an object considered equal to current object?
append_in
(str:
STRING
, raw:
BOOLEAN
)
Append the
JSON
string into
str
If
raw
is True, append raw UTF-8 codes; otherwise, use '\u' sequences
write_to
(str:
OUTPUT_STREAM
, raw:
BOOLEAN
)
Write the
JSON
string to
str
If
raw
is True, write raw UTF-8 codes; otherwise, use '\u' sequences
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
utf8_character_in
(character:
INTEGER_32
, s:
STRING
)
accept
(visitor:
VISITOR
)
effective procedure
top
Accept to be visited by the
visitor
.
require
visitor /= Void
hash_code
:
INTEGER_32
writable attribute
top
The hash-code value of
Current
.
ensure
good_hash_value:
Result >= 0
is_equal
(other: JSON_STRING):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
other /= Void
ensure
Result implies hash_code = other.hash_code
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
append_in
(str:
STRING
, raw:
BOOLEAN
)
effective procedure
top
Append the
JSON
string into
str
If
raw
is True, append raw UTF-8 codes; otherwise, use '\u' sequences
require
str /= Void
write_to
(str:
OUTPUT_STREAM
, raw:
BOOLEAN
)
effective procedure
top
Write the
JSON
string to
str
If
raw
is True, write raw UTF-8 codes; otherwise, use '\u' sequences
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
utf8_character_in
(character:
INTEGER_32
, s:
STRING
)
effective procedure
top
require
character >= 0
s /= Void