+
Point of view
INTERNALS_HANDLER
class MINI_PARSER_BUFFER
Summary
Class invariant
Overview
Creation features
Exported features
Memo
Queries
initialize_with (string: ABSTRACT_STRING)
effective procedure
Initialize the Current buffer interning string.
next
effective procedure
Move the current_index forward by one.
skip_separators
effective procedure
Skip all separators by using is_separator of class CHARACTER.
last_error: PARSE_ERROR
writable attribute
Can be used to memorize an error message.
set_last_error (error: PARSE_ERROR)
effective procedure
set_last_error_message (error_message: STRING)
effective procedure
set_current_index (new_index: INTEGER_32)
effective procedure
To be able to move (usually back) in the buffer
print_position_on (stream: OUTPUT_STREAM)
effective procedure
set_memory (a_memory: MINI_PARSER_MEMORY)
effective procedure
memo: INTEGER_32
effective function
restore (a_memo: INTEGER_32)
effective procedure
writable attribute
lower: INTEGER_32
effective function
upper: INTEGER_32
effective function
Maximum valid index in storage.
count: INTEGER_32
effective function
The length of the Current buffer which is also the maximum valid index.
capacity: INTEGER_32
effective function
Of storage.
current_index: INTEGER_32
writable attribute
Index of the current character.
current_character: CHARACTER
effective function
The current character (the one at current_index).
end_reached: BOOLEAN
effective function
Is the end of the buffer reached?
marked: BOOLEAN
writable attribute
clear_mark
effective procedure