+
Point of view
All features
deferred class PACKRAT_ATOM
Summary
Direct parents
Inherit list: PARSE_ATOM
Insert list: PACKRAT_INTERNAL, VISITABLE
Known children
Inherit list: PACKRAT_NON_TERMINAL, PACKRAT_TERMINAL
Overview
Features
{ANY}
{ANY}
{PARSE_TABLE}
{PARSER_FACET}
  • parse (context: C_): TRISTATE
    The Result is yes if the parsing succeeded, no if there was a syntax error, or maybe if the parse could complete with some more text.
{}
{ANY}
{}
  • 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.
accept (visitor: PACKRAT_VISITOR)
deferred procedure
{ANY}
Accept to be visited by the visitor.
writable attribute
{ANY}
table: PARSE_TABLE[C_]
writable attribute
{ANY}
is_coherent: BOOLEAN
deferred function
{ANY}
pretty_print_on (stream: OUTPUT_STREAM)
deferred procedure
{ANY}
set (a_name: ABSTRACT_STRING, a_table: PARSE_TABLE[C_])
effective procedure
set_table (a_table: PARSE_TABLE[C_])
effective procedure
set_default_tree_builders (non_terminal_builder: PROCEDURE[TUPLE 2[FIXED_STRING, TRAVERSABLE[FIXED_STRING]]], terminal_builder: PROCEDURE[TUPLE 2[FIXED_STRING, PARSER_IMAGE]])
deferred procedure
parse (context: C_): TRISTATE
deferred function
The Result is yes if the parsing succeeded, no if there was a syntax error, or maybe if the parse could complete with some more text.
add_error_position (error: STRING, buffer: MINI_PARSER_BUFFER)
effective procedure
{}
print_error_position (o: OUTPUT_STREAM, buffer: MINI_PARSER_BUFFER)
effective procedure
{}
yes: TRISTATE
effective function
{ANY}
effective function
{ANY}
maybe: TRISTATE
effective function
{ANY}
log: LOGGER
effective function
{}
There is one logger per concrete type; for performance reasons it is cached in each instance.
log_memory__0_: LOGGER
writable attribute
{}
The cached logger.