svelte-ast-print - v0.6.0
svelte-ast-print/template/root
printRoot
Function printRoot
printRoot
(
n
:
Root
,
opts
?:
Partial
<
PrintOptions
>
)
:
Result
<
Root
>
Parameters
n
:
Root
opts
:
Partial
<
PrintOptions
>
= {}
Returns
Result
<
Root
>
Since
1.0.0 @
NO_SIDE_EFFECTS
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
svelte-ast-print - v0.6.0
_internal
char
ASSIGN
AT
COLON
COMMA
NL
PIPE
SEMI
SPACE
fragment
has_frag_text_or_exp_tag_only
html
HTMLClosingTag
HTMLComment
HTMLSelfClosingTag
HTMLOpeningTag
js
print_js
option
<internal>
FormatOptions
RootOptions
Extract
RootNode
RootOrder
Options
PrintOptions
shared
<internal>
Break
Line
Result
State
Wrapper
isSvelteOnlyNode
template
attribute-like
is_attr_exp_shorthand
print_directive
block
<internal>
Collector
ArrayIterator
Iterable
IteratorReturnResult
IteratorYieldResult
BuiltinIteratorReturn
Falsy
Falsyable
IteratorResult
Piece
RawPiece
WrapperType
ClosingBlock
MidBlock
OpeningBlock
get_if_block_alternate
isBlock
element-like
<internal>
Partial
isElementLike
print_maybe_self_closing_el
print_non_self_closing_el
print_self_closing_el
type
<internal>
NodeMap
Class
Function
ModuleSpecifier
Node
Node
Node
SvelteOnlyNode
wrapper
AngleBrackets
CurlyBrackets
DoubleQuotes
RoundBrackets
SquareBrackets
svelte-ast-print
print
printSvelte
css
printCSSNode
rule
printCSSAtrule
printCSSBlock
printCSSDeclaration
printCSSRule
selector
printCSSAttributeSelector
printCSSClassSelector
printCSSCombinator
printCSSComplexSelector
printCSSIdSelector
printCSSNestingSelector
printCSSNth
printCSSPercentage
printCSSPseudoClassSelector
printCSSPseudoElementSelector
printCSSRelativeSelector
printCSSSelectorList
printCSSSimpleSelector
printCSSTypeSelector
fragment
printFragment
template
<internal>
AnimateDirective
ArrayExpression
ArrayPattern
ArrowFunctionExpression
AssignmentExpression
AssignmentPattern
AssignmentProperty
Atrule
Attribute
AttributeSelector
AwaitBlock
AwaitExpression
BaseCallExpression
BaseClass
BaseDeclaration
BaseElement
BaseExpression
BaseForXStatement
BaseFunction
BaseModuleDeclaration
BaseModuleSpecifier
BaseNode
BaseNode
BaseNodeWithoutComments
BasePattern
BaseStatement
BigIntLiteral
BinaryExpression
BindDirective
Block
BlockStatement
BreakStatement
CatchClause
ChainExpression
ClassBody
ClassDeclaration
ClassDirective
ClassExpression
ClassSelector
Combinator
Comment
Comment
ComplexSelector
Component
ConditionalExpression
ConstTag
ContinueStatement
DebuggerStatement
DebugTag
Declaration
Directive
DoWhileStatement
EachBlock
EmptyStatement
ExportAllDeclaration
ExportDefaultDeclaration
ExportNamedDeclaration
ExportSpecifier
ExpressionMap
ExpressionStatement
ExpressionTag
ForInStatement
ForOfStatement
ForStatement
Fragment
FunctionDeclaration
FunctionExpression
HtmlTag
Identifier
IdSelector
IfBlock
IfStatement
ImportAttribute
ImportDeclaration
ImportDefaultSpecifier
ImportExpression
ImportNamespaceSpecifier
ImportSpecifier
KeyBlock
LabeledStatement
LetDirective
LogicalExpression
MaybeNamedClassDeclaration
MaybeNamedFunctionDeclaration
MemberExpression
MetaProperty
MethodDefinition
NestingSelector
NewExpression
Nth
ObjectExpression
ObjectPattern
OnDirective
Percentage
Position
PrivateIdentifier
Program
Property
PropertyDefinition
PseudoClassSelector
PseudoElementSelector
RegExpLiteral
RegularElement
RelativeSelector
RenderTag
RestElement
ReturnStatement
Root
Rule
Script
SelectorList
SequenceExpression
SimpleCallExpression
SimpleLiteral
SlotElement
SnippetBlock
SourceLocation
SpreadAttribute
SpreadElement
StaticBlock
StyleDirective
StyleSheet
Super
SvelteBody
SvelteBoundary
SvelteComponent
SvelteDocument
SvelteElement
SvelteFragment
SvelteHead
SvelteOptions
SvelteOptionsRaw
SvelteSelf
SvelteWindow
SwitchCase
SwitchStatement
TaggedTemplateExpression
TemplateElement
TemplateLiteral
Text
ThisExpression
ThrowStatement
TitleElement
TransitionDirective
TryStatement
TypeSelector
UnaryExpression
UpdateExpression
UseDirective
VariableDeclaration
VariableDeclarator
WhileStatement
WithStatement
YieldExpression
AssignmentOperator
BinaryOperator
Block
CallExpression
ChainElement
Declaration
Directive
ElementLike
Exclude
Expression
Literal
LogicalOperator
ModuleDeclaration
Namespace
Omit
Pattern
Pick
Record
SimpleSelector
Statement
Tag
TemplateNode
UnaryOperator
UpdateOperator
printTemplateNode
attribute-like
<internal>
AttributeLike
printAnimateDirective
printAttribute
printAttributeLike
printBindDirective
printClassDirective
printLetDirective
printOnDirective
printSpreadAttribute
printStyleDirective
printTransitionDirective
printUseDirective
block
printAwaitBlock
printBlock
printEachBlock
printIfBlock
printKeyBlock
printSnippetBlock
element-like
<internal>
FixedSvelteOptions
printComponent
printElementLike
printRegularElement
printSlotElement
printSvelteBody
printSvelteBoundary
printSvelteComponent
printSvelteDocument
printSvelteElement
printSvelteFragment
printSvelteHead
printSvelteOptions
printSvelteSelf
printSvelteWindow
printTitleElement
html
<internal>
HTMLNode
printComment
printHTMLNode
printText
root
printCSSStyleSheet
printRoot
printScript
tag
printConstTag
printDebugTag
printExpressionTag
printHtmlTag
printRenderTag
printTag
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Since
1.0.0 @NO_SIDE_EFFECTS