Skip to main content

index

ai-research-agent / editor/document/Line

Index

Namespaces

Classes

LineIterator

Constructors

new LineIterator()
new LineIterator(lines, lineIds?): LineIterator
Parameters
ParameterType

lines

default[]

lineIds?

LineIds

Returns

LineIterator

Methods

hasNext()
hasNext(): boolean
Returns

boolean

next()
next(length?): default
Parameters
ParameterType

length?

number

Returns

default

peek()
peek(): default
Returns

default

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>;