A generic `cf_tag`'s start tag — where its name and attributes live.
(tag: SyntaxNode)
| 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 { |
no outgoing calls
no test coverage detected