class PACKRAT_NON_TERMINAL
Summary
Class invariant
Overview
Creation features
Features
  • parse (context: PACKRAT_PARSE_CONTEXT): 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.
  • 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?
  • 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
Append terse printable representation of current object in tagged_out_memory.
accept (visitor: PACKRAT_VISITOR)
effective procedure
Accept to be visited by the visitor.
pretty_print_on (stream: OUTPUT_STREAM)
effective procedure
is_coherent: BOOLEAN
effective function
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
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
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
pattern: PACKRAT_PATTERN
writable attribute
new_sequence_number: INTEGER_32
effective function
writable attribute
table: PARSE_TABLE[C_]
writable attribute
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
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.