MCPcopy Create free account
hub / github.com/freecodexyz/free-code / constructor

Method constructor

src/utils/Cursor.ts:1109–1114  ·  view source on GitHub ↗
(
    public readonly text: string,
    public readonly startOffset: number,
    public readonly isPrecededByNewline: boolean,
    public readonly endsWithNewline: boolean = false,
  )

Source from the content-addressed store, hash-verified

1107
1108class WrappedLine {
1109 constructor(
1110 public readonly text: string,
1111 public readonly startOffset: number,
1112 public readonly isPrecededByNewline: boolean,
1113 public readonly endsWithNewline: boolean = false,
1114 ) {}
1115
1116 equals(other: WrappedLine): boolean {
1117 return this.text === other.text && this.startOffset === other.startOffset

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected