deferred class PACKRAT_ATOM
Summary
Overview
Exported features
  • 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.
  • 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
Accept to be visited by the visitor.
writable attribute
table: PARSE_TABLE[C_]
writable attribute
is_coherent: BOOLEAN
deferred function
pretty_print_on (stream: OUTPUT_STREAM)
deferred procedure
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
effective function
maybe: TRISTATE
effective function
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.