MCPcopy Index your code
hub / github.com/aiscript-dev/aiscript / load

Method load

src/parser/streams/token-stream.ts:138–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 private load(): void {
139 if (this.eof) {
140 this._token = TOKEN(TokenKind.EOF, { line: -1, column: -1 });
141 } else {
142 this._token = this.source[this.index]!;
143 }
144 }
145}

Callers 2

constructorMethod · 0.95
nextMethod · 0.95

Calls 1

TOKENFunction · 0.85

Tested by

no test coverage detected