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

Method selfCloseTagName

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

* A void tag's name, lowercased, without the `cf` prefix (` ` → * `include`). The grammar keeps no node for it: it is the text after `<cf`.

(tag: SyntaxNode)

Source from the content-addressed store, hash-verified

572 * `include`). The grammar keeps no node for it: it is the text after `<cf`.
573 */
574 private selfCloseTagName(tag: SyntaxNode): string | undefined {
575 const match = /^<cf([A-Za-z_]\w*)/i.exec(this.source.slice(tag.startIndex, tag.startIndex + 64));
576 return match?.[1]?.toLowerCase();
577 }
578
579 /**
580 * `<cfinclude template="formlistshared.cfm">` (#2651) includes the template

Callers 1

visitTagMethod · 0.95

Calls 1

execMethod · 0.65

Tested by

no test coverage detected