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

Method getPos

src/parser/scanner.ts:67–69  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

65 * カーソル位置にあるトークンの位置情報を取得します。
66 */
67 public getPos(): TokenPosition {
68 return this.getToken().pos;
69 }
70
71 /**
72 * カーソル位置を次のトークンへ進めます。

Callers 1

expectMethod · 0.95

Calls 1

getTokenMethod · 0.95

Tested by

no test coverage detected