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

Method flushPascalReads

src/extraction/tree-sitter.ts:9706–9711  ·  view source on GitHub ↗

The bare names read in an expression, less those the file shows are variables of their class.

()

Source from the content-addressed store, hash-verified

9704
9705 /** The bare names read in an expression, less those the file shows are variables of their class. */
9706 private flushPascalReads(): void {
9707 for (const { ref, scope, name } of this.pascalReads) {
9708 if (!this.pascalAssigned.get(scope)?.has(name)) this.unresolvedReferences.push(ref);
9709 }
9710 this.pascalReads = [];
9711 }
9712
9713 /**
9714 * Whether a node is the name a routine's header declares (`TFoo.Bar` in

Callers 1

extractMethod · 0.95

Calls 3

hasMethod · 0.80
pushMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected