GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
PACKRAT_FEATURES
+
Point of view
All features
ANY
All features
class PACKRAT_FEATURES
Summary
top
Direct parents
Insert list:
PACKRAT
,
PACKRAT_INTERNAL
Known children
Insert list:
PACKRAT_DEFAULT_REDUCER
,
PACKRAT_GRAMMAR
Overview
top
Features
{}
reset_features
{}
parse_any
(buffer:
MINI_PARSER_BUFFER
):
PACKRAT_IMAGE
parse_regex
(buffer:
MINI_PARSER_BUFFER
, regex:
REGULAR_EXPRESSION
):
PACKRAT_IMAGE
the regex must parse exactly one character
parse_string
(buffer:
MINI_PARSER_BUFFER
, string:
STRING
):
PACKRAT_IMAGE
low-level image memory
{}
flyweight
:
AVL_DICTIONARY
[
STRING
,
CHARACTER
]
buffer moves
{}
next_character
(buffer:
MINI_PARSER_BUFFER
)
restore
(buffer:
MINI_PARSER_BUFFER
, a_position:
PACKRAT_POSITION
)
position
:
PACKRAT_POSITION
new_image
(char:
CHARACTER
):
PACKRAT_IMAGE
Tune exports to your liking if need be
{}
one
:
INTEGER_8
zero_or_one
:
INTEGER_8
zero_or_more
:
INTEGER_8
one_or_more
:
INTEGER_8
seq
(a_primaries:
TRAVERSABLE
[
PACKRAT_PRIMARY
], a_how_many:
INTEGER_8
, a_tag:
ABSTRACT_STRING
, a_action:
PROCEDURE
[
TUPLE
]):
PACKRAT_ALTERNATIVE
ref
(a_atom_name:
ABSTRACT_STRING
):
PACKRAT_PRIMARY
{}
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.
reset_features
effective procedure
{}
top
parse_any
(buffer:
MINI_PARSER_BUFFER
):
PACKRAT_IMAGE
effective function
{}
top
parse_regex
(buffer:
MINI_PARSER_BUFFER
, regex:
REGULAR_EXPRESSION
):
PACKRAT_IMAGE
effective function
{}
top
the regex must parse exactly one character
parse_string
(buffer:
MINI_PARSER_BUFFER
, string:
STRING
):
PACKRAT_IMAGE
effective function
{}
top
flyweight
:
AVL_DICTIONARY
[
STRING
,
CHARACTER
]
once function
{}
top
next_character
(buffer:
MINI_PARSER_BUFFER
)
effective procedure
{}
top
restore
(buffer:
MINI_PARSER_BUFFER
, a_position:
PACKRAT_POSITION
)
effective procedure
{}
top
position
:
PACKRAT_POSITION
writable attribute
{}
top
new_image
(char:
CHARACTER
):
PACKRAT_IMAGE
effective function
{}
top
one
:
INTEGER_8
is 0
constant attribute
{}
top
zero_or_one
:
INTEGER_8
is 1
constant attribute
{}
top
zero_or_more
:
INTEGER_8
is 2
constant attribute
{}
top
one_or_more
:
INTEGER_8
is 3
constant attribute
{}
top
seq
(a_primaries:
TRAVERSABLE
[
PACKRAT_PRIMARY
], a_how_many:
INTEGER_8
, a_tag:
ABSTRACT_STRING
, a_action:
PROCEDURE
[
TUPLE
]):
PACKRAT_ALTERNATIVE
effective function
{}
top
require
a_primaries /= Void
a_how_many.in_range(
one
,
one_or_more
)
ref
(a_atom_name:
ABSTRACT_STRING
):
PACKRAT_PRIMARY
effective function
{}
top
require
a_atom_name /= Void
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.