Module source

Module source 

Source
Expand description

Source text management and location tracking. Source text management and location tracking for incremental parsing.

This module provides structures for managing source code text and tracking locations within it.

Structs§

ChunkedBuffer
A mutable buffer for chunked source code, supporting efficient appending of text.
ChunkedSource
A read-only, chunked source implementation for efficient handling of streamed or large files.
RopeBuffer
A mutable buffer for rope-based source code, supporting efficient edits.
RopeSource
A read-only, rope-based source implementation for efficient handling of large files.
SimdScanner
SIMD-accelerated scanning utilities.
SourceCursor
A cursor over a source that allows for efficient navigation and scanning.
SourceText
Represents source code text with optional URL reference.
TextChunk
A chunk of text from a source, including its start offset.
TextEdit
Represents a text edit operation for incremental updates.
Url
A parsed URL record.

Traits§

Source
Trait for abstract text sources.