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

Method addTagExpression

src/extraction/cfml-extractor.ts:468–478  ·  view source on GitHub ↗

Record an expression in tag markup, owned by `scopeId`, for extractTagExpressions.

(node: SyntaxNode, scopeId: string)

Source from the content-addressed store, hash-verified

466
467 /** Record an expression in tag markup, owned by `scopeId`, for extractTagExpressions. */
468 private addTagExpression(node: SyntaxNode, scopeId: string): void {
469 if (node.endIndex <= node.startIndex) return;
470 this.tagExpressions.push({
471 startIndex: node.startIndex,
472 endIndex: node.endIndex,
473 row: node.startPosition.row,
474 column: node.startPosition.column,
475 textColumn: 0,
476 scopeId,
477 });
478 }
479
480 /**
481 * Extract calls from the expressions visitTag recorded, through the same

Callers 1

visitTagMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected