GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
JSON_PARSE_CONTEXT
+
Point of view
All features
ANY
JSON_PARSER
All features
class JSON_PARSE_CONTEXT
Summary
top
Direct parents
Insert list:
LOGGING
Class invariant
top
data
.is_connected
Overview
top
Creation features
{
JSON_PARSER
}
make
(a_data:
INPUT_STREAM
, a_on_error:
PROCEDURE
[
TUPLE 3
[
ABSTRACT_STRING
,
INTEGER_32
,
INTEGER_32
]])
Features
{
JSON_PARSER
}
line
:
INTEGER_32
column
:
INTEGER_32
item
:
CHARACTER
is_valid
:
BOOLEAN
next
skip_blanks
skip
(word:
STRING
):
BOOLEAN
error
(str:
ABSTRACT_STRING
)
debug_position
:
ABSTRACT_STRING
{}
data
:
INPUT_STREAM
index
:
INTEGER_32
on_error
:
PROCEDURE
[
TUPLE 3
[
ABSTRACT_STRING
,
INTEGER_32
,
INTEGER_32
]]
make
(a_data:
INPUT_STREAM
, a_on_error:
PROCEDURE
[
TUPLE 3
[
ABSTRACT_STRING
,
INTEGER_32
,
INTEGER_32
]])
item_or_invalid
:
ABSTRACT_STRING
delay_fix_position
:
BOOLEAN
fix_position
{}
_inline_agent6
:
ABSTRACT_STRING
{}
log
:
LOGGER
There is one logger per concrete type; for performance reasons it is cached in each instance.
log_memory__0_
:
LOGGER
The cached logger.
line
:
INTEGER_32
writable attribute
{
JSON_PARSER
}
top
column
:
INTEGER_32
writable attribute
{
JSON_PARSER
}
top
item
:
CHARACTER
effective function
{
JSON_PARSER
}
top
require
is_valid
is_valid
:
BOOLEAN
effective function
{
JSON_PARSER
}
top
next
effective procedure
{
JSON_PARSER
}
top
require
is_valid
skip_blanks
effective procedure
{
JSON_PARSER
}
top
ensure
index
>= old
index
skip
(word:
STRING
):
BOOLEAN
effective function
{
JSON_PARSER
}
top
require
not word.is_empty
error
(str:
ABSTRACT_STRING
)
effective procedure
{
JSON_PARSER
}
top
require
str /= Void
debug_position
:
ABSTRACT_STRING
effective function
{
JSON_PARSER
}
top
ensure
Result /= Void
data
:
INPUT_STREAM
writable attribute
{}
top
index
:
INTEGER_32
writable attribute
{}
top
on_error
:
PROCEDURE
[
TUPLE 3
[
ABSTRACT_STRING
,
INTEGER_32
,
INTEGER_32
]]
writable attribute
{}
top
make
(a_data:
INPUT_STREAM
, a_on_error:
PROCEDURE
[
TUPLE 3
[
ABSTRACT_STRING
,
INTEGER_32
,
INTEGER_32
]])
effective procedure
{}
top
require
a_data.is_connected
ensure
data
= a_data
on_error
= a_on_error
index = 1
line
= 1
item_or_invalid
:
ABSTRACT_STRING
effective function
{}
top
delay_fix_position
:
BOOLEAN
writable attribute
{}
top
fix_position
effective procedure
{}
top
require
is_valid
delay_fix_position
ensure
not
delay_fix_position
_inline_agent6
:
ABSTRACT_STRING
frozen
effective function
{}
top
log
:
LOGGER
effective function
{}
top
There is one logger per concrete type; for performance reasons it is cached in each instance.
ensure
Result /= Void
log_memory__0_
:
LOGGER
writable attribute
{}
top
The cached logger.
The ugly name is intentional. Don't use directly.