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

Method getTokenKind

src/parser/scanner.ts:53–55  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

51 * カーソル位置にあるトークンの種類を取得します。
52 */
53 public getTokenKind(): TokenKind {
54 return this.getToken().kind;
55 }
56
57 /**
58 * カーソル位置にあるトークンに含まれる値を取得します。

Callers 2

isMethod · 0.95
expectMethod · 0.95

Calls 1

getTokenMethod · 0.95

Tested by

no test coverage detected