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

Method getToken

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

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

()

Source from the content-addressed store, hash-verified

10 * カーソル位置にあるトークンを取得します。
11 */
12 getToken(): Token;
13
14 /**
15 * カーソル位置にあるトークンの種類が指定したトークンの種類と一致するかどうかを示す値を取得します。

Callers 5

nextFunction · 0.65
parseLabelFunction · 0.65
parseAtomFunction · 0.65
parseReferenceFunction · 0.65
parsePrattFunction · 0.65

Implementers 2

Scannersrc/parser/scanner.ts
TokenStreamsrc/parser/streams/token-stream.ts

Calls

no outgoing calls

Tested by

no test coverage detected