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

Method cfStartTag

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

A generic `cf_tag`'s start tag — where its name and attributes live.

(tag: SyntaxNode)

Source from the content-addressed store, hash-verified

553
554 /** A generic `cf_tag`'s start tag — where its name and attributes live. */
555 private cfStartTag(tag: SyntaxNode): SyntaxNode | undefined {
556 return tag.namedChildren.find(
557 (c: SyntaxNode) => c.type === 'cf_start_tag' || c.type === 'cf_start_tag_with_selfclose'
558 );
559 }
560
561 /** A generic `cf_tag`'s name, lowercased, without the `cf` prefix (`<cfLoop>` → `loop`). */
562 private cfTagName(tag: SyntaxNode): string | undefined {

Callers 3

extractInterfaceTagMethod · 0.95
visitTagMethod · 0.95
cfTagNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected