GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
PARSE_TERMINAL
+
Point of view
PARSE_TABLE
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
PARSE_TABLE
PARSER_FACET
All features
deferred class PARSE_TERMINAL [C_ ->
PARSE_CONTEXT
]
Summary
top
A terminal meant to be put in a
PARSE_TABLE
.
Direct parents
Inherit list:
PARSE_ATOM
Insert list:
LOGGING
Known children
Inherit list:
DESCENDING_TERMINAL
,
PACKRAT_TERMINAL
Overview
top
Exported features
out_in_tagged_out_memory
Append terse printable representation of current object in
tagged_out_memory
.
is_coherent
:
BOOLEAN
set_default_tree_builders
(non_terminal_builder:
PROCEDURE
[
TUPLE 2
[
FIXED_STRING
,
TRAVERSABLE
[
FIXED_STRING
]]], terminal_builder:
PROCEDURE
[
TUPLE 2
[
FIXED_STRING
,
PARSER_IMAGE
]])
name
:
FIXED_STRING
table
: PARSE_TABLE[C_]
pretty_print_on
(stream:
OUTPUT_STREAM
)
set
(a_name:
ABSTRACT_STRING
, a_table: PARSE_TABLE[C_])
set_table
(a_table: PARSE_TABLE[C_])
yes
:
TRISTATE
no
:
TRISTATE
maybe
:
TRISTATE
out_in_tagged_out_memory
effective procedure
top
Append terse printable representation of current object in
tagged_out_memory
.
is_coherent
:
BOOLEAN
is True
constant attribute
top
require
table /= Void
ensure
must_be_coherent:
Result
set_default_tree_builders
(non_terminal_builder:
PROCEDURE
[
TUPLE 2
[
FIXED_STRING
,
TRAVERSABLE
[
FIXED_STRING
]]], terminal_builder:
PROCEDURE
[
TUPLE 2
[
FIXED_STRING
,
PARSER_IMAGE
]])
effective procedure
top
require
is_coherent
name
:
FIXED_STRING
writable attribute
top
table
: PARSE_TABLE[C_]
writable attribute
top
pretty_print_on
(stream:
OUTPUT_STREAM
)
deferred procedure
top
require
stream.is_connected
set
(a_name:
ABSTRACT_STRING
, a_table: PARSE_TABLE[C_])
effective procedure
top
require
name
= Void
table
= Void
not a_name.is_empty
a_table /= Void
ensure
name
= a_name.intern
table
= a_table
set_table
(a_table: PARSE_TABLE[C_])
effective procedure
top
require
a_table /= Void
ensure
table
= a_table
yes
:
TRISTATE
effective function
top
no
:
TRISTATE
effective function
top
maybe
:
TRISTATE
effective function
top