# ParentNode

Represents an AST node that can structurally contain template children.

## Signatures

```ts
export type ParentNode = ElementNode | SelfClosingElementNode | TextOnlyElement;
```

## Why

Renderer compilers can narrow parent-capable syntax without duplicating the
full node union.

## Ownership and lifetime

This type owns no parsed node or live DOM.

## Examples

```ts
import { ElementNode, type ParentNode } from "@typed/template/Template"

const parent: ParentNode = new ElementNode("section", [], [])
```
