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

Method constructor

src/parser/streams/token-stream.ts:59–63  ·  view source on GitHub ↗
(source: TokenStream['source'])

Source from the content-addressed store, hash-verified

57 private _token: Token;
58
59 constructor(source: TokenStream['source']) {
60 this.source = source;
61 this.index = 0;
62 this.load();
63 }
64
65 private get eof(): boolean {
66 return (this.index >= this.source.length);

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected