MCPcopy Index your code
hub / github.com/aiscript-dev/aiscript / parseType

Function parseType

src/parser/syntaxes/types.ts:15–17  ·  view source on GitHub ↗
(s: ITokenStream)

Source from the content-addressed store, hash-verified

13 * ```
14*/
15export function parseType(s: ITokenStream): Ast.TypeSource {
16 return parseUnionType(s);
17}
18
19/**
20 * ```abnf

Callers 6

parseParamsFunction · 0.85
parseVarDefFunction · 0.85
parseFnDefFunction · 0.85
parseFnExprFunction · 0.85
parseFnTypeFunction · 0.85
parseNamedTypeFunction · 0.85

Calls 1

parseUnionTypeFunction · 0.85

Tested by

no test coverage detected