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

Function isPascalParenlessRef

src/resolution/pascal-scope.ts:77–79  ·  view source on GitHub ↗
(ref: UnresolvedRef)

Source from the content-addressed store, hash-verified

75
76/** Whether `ref` is a paren-less Pascal name (see the file comment), which only this module resolves. */
77export function isPascalParenlessRef(ref: UnresolvedRef): boolean {
78 return ref.language === 'pascal' && ref.referenceKind === 'references' && PARENLESS.test(ref.referenceName);
79}
80
81/** The routine a paren-less Pascal name reaches in its scope, or null (see the file comment). */
82export function matchPascalParenlessRef(ref: UnresolvedRef, context: ResolutionContext): ResolvedRef | null {

Callers 1

resolveOneInnerMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected