MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isProceduralTypeText

Function isProceduralTypeText

src/resolution/pascal-scope.ts:1157–1159  ·  view source on GitHub ↗

* Whether a written type is a routine's: written out * (`reference to function: Integer`), or named, with the name's declaration * saying so, through an alias to another such name * (`TFormatter = TFunc ;`). A name the project doesn't * declare is a routine type when the RTL's

(text: string, context: ResolutionContext, depth: number)

Source from the content-addressed store, hash-verified

1155 * and the names Delphi gives them (`TNotifyEvent`, `TWndMethod`).
1156 */
1157function isProceduralTypeText(text: string, context: ResolutionContext, depth: number): boolean {
1158 return routineTypeVerdict(text, context, depth) === true;
1159}
1160
1161/**
1162 * Whether a written type is a routine's (see isProceduralTypeText): false

Callers 2

isProceduralDataFunction · 0.85
routineTypeVerdictFunction · 0.85

Calls 1

routineTypeVerdictFunction · 0.85

Tested by

no test coverage detected