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

Method getPos

src/parser/streams/token-stream.ts:103–105  ·  view source on GitHub ↗

* カーソル位置にあるトークンの位置情報を取得します。

()

Source from the content-addressed store, hash-verified

101 * カーソル位置にあるトークンの位置情報を取得します。
102 */
103 public getPos(): TokenPosition {
104 return this.getToken().pos;
105 }
106
107 /**
108 * カーソル位置を次のトークンへ進めます。

Callers 1

expectMethod · 0.95

Calls 1

getTokenMethod · 0.95

Tested by

no test coverage detected