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

Function isProceduralTypeText

src/resolution/pascal-scope.ts:2693–2695  ·  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

2691 * and the names Delphi gives them (`TNotifyEvent`, `TWndMethod`).
2692 */
2693function isProceduralTypeText(text: string, context: ResolutionContext, depth: number): boolean {
2694 return routineTypeVerdict(text, context, depth) === true;
2695}
2696
2697/**
2698 * 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