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

Method getTokenKind

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

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

()

Source from the content-addressed store, hash-verified

20 * カーソル位置にあるトークンの種類を取得します。
21 */
22 getTokenKind(): TokenKind;
23
24 /**
25 * カーソル位置にあるトークンに含まれる値を取得します。

Callers 15

parseParamsFunction · 0.65
parseBlockFunction · 0.65
parseOptionalSeparatorFunction · 0.65
parseTopLevelFunction · 0.65
parseNamespaceFunction · 0.65
parseStatementFunction · 0.65
parseDefStatementFunction · 0.65
parseVarDefFunction · 0.65
tryParseAssignFunction · 0.65
isStatementTerminatorFunction · 0.65
parseAiSonTopLevelFunction · 0.65
parsePrefixFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected