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

Method getToken

src/parser/scanner.ts:39–41  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

37 * カーソル位置にあるトークンを取得します。
38 */
39 public getToken(): Token {
40 return this._tokens[0]!;
41 }
42
43 /**
44 * カーソル位置にあるトークンの種類が指定したトークンの種類と一致するかどうかを示す値を取得します。

Callers 3

getTokenKindMethod · 0.95
getTokenValueMethod · 0.95
getPosMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected