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

Method is

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

* カーソル位置にあるトークンの種類が指定したトークンの種類と一致するかどうかを示す値を取得します。

(kind: TokenKind)

Source from the content-addressed store, hash-verified

15 * カーソル位置にあるトークンの種類が指定したトークンの種類と一致するかどうかを示す値を取得します。
16 */
17 is(kind: TokenKind): boolean;
18
19 /**
20 * カーソル位置にあるトークンの種類を取得します。

Callers 15

parseDestFunction · 0.65
parseParamsFunction · 0.65
parseBlockFunction · 0.65
parseOptionalSeparatorFunction · 0.65
parseTopLevelFunction · 0.65
parseNamespaceFunction · 0.65
parseMetaFunction · 0.65
parseBlockOrStatementFunction · 0.65
parseVarDefFunction · 0.65
parseFnDefFunction · 0.65
parseEachFunction · 0.65
parseForFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected