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

Method cfStartTag

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

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