index
ai-research-agent / editor/document/Line
Index
Namespaces
Classes
LineIterator
Constructors
new LineIterator()
new LineIterator(lines, lineIds?): LineIterator
Parameters
Parameter | Type |
---|---|
|
|
|
Returns
Methods
hasNext()
hasNext(): boolean
Returns
boolean
next()
next(length?): default
Parameters
Parameter | Type |
---|---|
|
|
Returns
peek()
peek(): default
Returns
peekLength()
peekLength(): number
Returns
number
rest()
rest(): default[]
Returns
default
[]
Properties
index
index: number;
lineIds
lineIds: LineIds;
lines
lines: default[];
offset
offset: number;
Interfaces
default
Properties
attributes
attributes: default;
content
content: default;
id
id: string;
length
length: number;
Type Aliases
LineIds
type LineIds: Map<string, default>;
LineRanges
type LineRanges: Map<default, any>;