MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / movePrev

Method movePrev

src/parser/streams/char-stream.ts:129–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 private movePrev(): void {
130 this.loadPrevChar();
131 while (!this.startOfFile && this._char === '\r') {
132 this.decAddr();
133 this.loadPrevChar();
134 }
135 }
136
137 private decAddr(): void {
138 if (this.address > 0) {

Callers 1

prevMethod · 0.95

Calls 2

loadPrevCharMethod · 0.95
decAddrMethod · 0.95

Tested by

no test coverage detected