class PACKRAT_NON_TERMINAL
Summary
A non-terminal meant to be put in a PARSE_TABLE.
Direct parents
Inherit list: PACKRAT_ATOM, PARSE_NON_TERMINAL
Class invariant
Overview
Creation features
{ANY}
Features
{ANY}
{PARSER_FACET}
{PARSE_TABLE}
{ANY}
  • copy (other: PACKRAT_NON_TERMINAL)
    Update current object using fields of object attached to other, so as to yield equal objects.
  • is_equal (other: PACKRAT_NON_TERMINAL): BOOLEAN
    Is other attached to an object considered equal to current object?
{}
{PACKRAT_NON_TERMINAL, PACKRAT_VISITOR}
{PACKRAT_SEQUENCE}
{ANY}
{PARSE_TABLE}
{}
{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.
out_in_tagged_out_memory
effective procedure
{ANY}
Append terse printable representation of current object in tagged_out_memory.
accept (visitor: PACKRAT_VISITOR)
effective procedure
{ANY}
Accept to be visited by the visitor.
pretty_print_on (stream: OUTPUT_STREAM)
effective procedure
{ANY}
is_coherent: BOOLEAN
effective function
{ANY}
parse (context: PACKRAT_PARSE_CONTEXT): TRISTATE
effective 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.
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
copy (other: PACKRAT_NON_TERMINAL)
effective procedure
{ANY}
Update current object using fields of object attached to other, so as to yield equal objects.
is_equal (other: PACKRAT_NON_TERMINAL): BOOLEAN
effective function
{ANY}
Is other attached to an object considered equal to current object?
make (a_pattern: PACKRAT_PATTERN)
effective procedure
{}
sequence_count: INTEGER_32
writable attribute
{}
is_initialized: BOOLEAN
writable attribute
{}
new_sequence_number: INTEGER_32
effective function
writable attribute
{ANY}
table: PARSE_TABLE[C_]
writable attribute
{ANY}
set (a_name: ABSTRACT_STRING, a_table: PARSE_TABLE[C_])
effective procedure
set_table (a_table: PARSE_TABLE[C_])
effective procedure
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.