StructuredChunk class

Structured chunk with header path for context inheritance.

Constructors

StructuredChunk({required int index, required String content, required String headerPath, required String chunkType, required int startPos, required int endPos, String? batchId, int? batchIndex, int? batchTotal})
const

Properties

batchId → String?
final
batchIndex → int?
final
batchTotal → int?
final
chunkType → String
final
content → String
final
endPos → int
End of content (exclusive), as a UTF-8 byte offset.
final
hashCode → int
The hash code for this object.
no setteroverride
headerPath → String
final
index → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startPos → int
Start of content in the input text, as a UTF-8 byte offset (not a Dart String index). See SemanticChunk.start_pos.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override