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

Method addTagExpression

src/extraction/cfml-extractor.ts:465–475  ·  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

463
464 /** Record an expression in tag markup, owned by `scopeId`, for extractTagExpressions. */
465 private addTagExpression(node: SyntaxNode, scopeId: string): void {
466 if (node.endIndex <= node.startIndex) return;
467 this.tagExpressions.push({
468 startIndex: node.startIndex,
469 endIndex: node.endIndex,
470 row: node.startPosition.row,
471 column: node.startPosition.column,
472 textColumn: 0,
473 scopeId,
474 });
475 }
476
477 /**
478 * 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