Module scribe::buffer
[−]
[src]
Types related to in-memory buffers.
Structs
Buffer |
A feature-rich wrapper around an underlying gap buffer. |
Cursor |
Read-only wrapper for a |
Distance |
A vector value representing a span in a buffer. Unlike the Range type, whose two positions are absolutes, a Distance is meant to be used relative to a Position. |
GapBuffer |
A UTF-8 string buffer designed to minimize reallocations, maintaining performance amid frequent modifications. |
Lexeme | |
LineRange |
A more concise expression for ranges spanning complete lines. |
Position |
A two (zero-based) coordinate value representing a location in a buffer.
The |
Range |
A two-position type, representing a span of characters. |
ScopeStack |
A stack/sequence of scopes. This is used both to represent hierarchies for a given
token of text, as well as in |
TokenSet |
Enums
Token |