+
Point of view
All features
deferred class PARSE_NON_TERMINAL [C_ -> PARSE_CONTEXT]
Summary
A non-terminal meant to be put in a PARSE_TABLE.
Direct parents
Inherit list: PARSE_ATOM
Insert list: LOGGING
Known children
Inherit list: DESCENDING_NON_TERMINAL, PACKRAT_NON_TERMINAL
Overview
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.