svelte_ast library
Classes
- AnimationDirective
-
An
animate:directive. - Attribute
- AttributeNode
- AwaitBlock
-
An
{#await ...}block. - BindDirective
-
A
bind:directive. - Block
- ClassDirective
-
A
class:directive. - Comment
- An HTML comment.
- Component
- DebugTag
-
A
{@debug ...}tag. - DirectiveNode
- EachBlock
-
An
{#each ...}block. - ElementNode
- ExpressionTag
-
A (possibly reactive) template expression —
{...}. - FinalTag
-
A
{@final ...}tag. - Fragment
- HtmlTag
-
A (possibly reactive) HTML template expression —
{@html ...}. - IfBlock
-
An
{#if ...}block. - InstanceScript
- KeyBlock
-
An
{#key ...}block. - LetDirective
-
A
let:directive. - ModuleScript
- NamedAttributeNode
- Node
- OnDirective
-
A
on:directive. - Options
- RegularElement
- RenderableElement
- RenderTag
-
A
{@render foo(...)}tag. - Root
- Script
- ScriptContent
- SlotElement
- SnippetBlock
-
An
{#key ...}block. - SpreadAttribute
- Style
- StyleBody
- StyleDirective
-
A
style:directive. - SvelteBody
- SvelteBoundary
- SvelteComponent
- SvelteDocument
- SvelteElement
- SvelteFragment
- SvelteHead
- SvelteOptions
- SvelteSelf
- SvelteWindow
- TagNode
- Text
- Static text.
-
ThrowingVisitor<
C, R> - TitleElement
- TransitionDirective
-
A
transition:,in:orout:directive. - UniqueNamedAttributeNode
- UseDirective
-
A
use:directive. -
Visitor<
C, R>
Extensions
-
AstNodeToJson
on List<
AstNode> -
NodeListToJson
on List<
Node> -
TreeNodeToJson
on List<
TreeNode>
Functions
Typedefs
- JsonMapper = Object? Function(Object? object)