Skip to main content

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.
SourceBuffer
A buffer for building source code with intelligent spacing for minification.
SourceCursor
A cursor over a source that allows for efficient navigation and scanning.
SourceText
Represents source code text with optional source ID reference.
TextChunk
A chunk of text from a source, including its start offset.
TextEdit
Represents a text edit operation for incremental updates.

Traits§

Source
Trait for abstract text sources.
ToSource
A trait for types that can be converted to source code.

Type Aliases§

SourceId
A unique identifier for a source file.