Skip to content

Home > vue-metamorph > AST

AST namespace

Functions

Function

Description

traverseNodes(node, visitor)

Interfaces

Interface

Description

HasParent

VAttribute

Static attribute nodes.

VDirective

Directive nodes.

VDirectiveKey

Attribute name nodes.

VDocumentFragment

Root nodes.

VElement

Element nodes.

VEndTag

End tag nodes.

VExpressionContainer

The node of JavaScript expression in text. e.g.

VFilter

The node of a filter sequence which is separated by |.

VFilterSequenceExpression

The node of a filter sequence which is separated by |.

VForExpression

The node of v-for directives.

VGenericExpression

The generic expression on a <script setup lang="ts" generic="..."> node

VIdentifier

Attribute name nodes.

VLiteral

Attribute value nodes.

VOnExpression

The node of v-on directives.

VSlotScopeExpression

The node of slot-scope directives.

VStartTag

Start tag nodes.

VStyleElement

Style element nodes.

VText

Text nodes.

Variables

Variable

Description

NS

Type Aliases

Type Alias

Description

Namespace

Type of namespaces.

Node

The union type for all nodes.

VNode

The union type of any nodes.