Enum dprint_swc_ecma_ast_view::NodeKind[][src]

pub enum NodeKind {
    ArrayLit,
    ArrayPat,
    ArrowExpr,
    AssignExpr,
    AssignPat,
    AssignPatProp,
    AssignProp,
    AwaitExpr,
    BigInt,
    BinExpr,
    BlockStmt,
    Bool,
    BreakStmt,
    CallExpr,
    CatchClause,
    Class,
    ClassDecl,
    ClassExpr,
    ClassMethod,
    ClassProp,
    ComputedPropName,
    CondExpr,
    Constructor,
    ContinueStmt,
    DebuggerStmt,
    Decorator,
    DoWhileStmt,
    EmptyStmt,
    ExportAll,
    ExportDecl,
    ExportDefaultDecl,
    ExportDefaultExpr,
    ExportDefaultSpecifier,
    ExportNamedSpecifier,
    ExportNamespaceSpecifier,
    ExprOrSpread,
    ExprStmt,
    FnDecl,
    FnExpr,
    ForInStmt,
    ForOfStmt,
    ForStmt,
    Function,
    GetterProp,
    Ident,
    IfStmt,
    ImportDecl,
    ImportDefaultSpecifier,
    ImportNamedSpecifier,
    ImportStarAsSpecifier,
    Invalid,
    JSXAttr,
    JSXClosingElement,
    JSXClosingFragment,
    JSXElement,
    JSXEmptyExpr,
    JSXExprContainer,
    JSXFragment,
    JSXMemberExpr,
    JSXNamespacedName,
    JSXOpeningElement,
    JSXOpeningFragment,
    JSXSpreadChild,
    JSXText,
    KeyValuePatProp,
    KeyValueProp,
    LabeledStmt,
    MemberExpr,
    MetaPropExpr,
    MethodProp,
    Module,
    NamedExport,
    NewExpr,
    Null,
    Number,
    ObjectLit,
    ObjectPat,
    OptChainExpr,
    Param,
    ParenExpr,
    PrivateMethod,
    PrivateName,
    PrivateProp,
    Regex,
    RestPat,
    ReturnStmt,
    Script,
    SeqExpr,
    SetterProp,
    SpreadElement,
    Str,
    Super,
    SwitchCase,
    SwitchStmt,
    TaggedTpl,
    ThisExpr,
    ThrowStmt,
    Tpl,
    TplElement,
    TryStmt,
    TsArrayType,
    TsAsExpr,
    TsCallSignatureDecl,
    TsConditionalType,
    TsConstAssertion,
    TsConstructSignatureDecl,
    TsConstructorType,
    TsEnumDecl,
    TsEnumMember,
    TsExportAssignment,
    TsExprWithTypeArgs,
    TsExternalModuleRef,
    TsFnType,
    TsImportEqualsDecl,
    TsImportType,
    TsIndexSignature,
    TsIndexedAccessType,
    TsInferType,
    TsInterfaceBody,
    TsInterfaceDecl,
    TsIntersectionType,
    TsKeywordType,
    TsLitType,
    TsMappedType,
    TsMethodSignature,
    TsModuleBlock,
    TsModuleDecl,
    TsNamespaceDecl,
    TsNamespaceExportDecl,
    TsNonNullExpr,
    TsOptionalType,
    TsParamProp,
    TsParenthesizedType,
    TsPropertySignature,
    TsQualifiedName,
    TsRestType,
    TsThisType,
    TsTplLitType,
    TsTupleElement,
    TsTupleType,
    TsTypeAliasDecl,
    TsTypeAnn,
    TsTypeAssertion,
    TsTypeCastExpr,
    TsTypeLit,
    TsTypeOperator,
    TsTypeParam,
    TsTypeParamDecl,
    TsTypeParamInstantiation,
    TsTypePredicate,
    TsTypeQuery,
    TsTypeRef,
    TsUnionType,
    UnaryExpr,
    UpdateExpr,
    VarDecl,
    VarDeclarator,
    WhileStmt,
    WithStmt,
    YieldExpr,
}

Variants

ArrayLit
ArrayPat
ArrowExpr
AssignExpr
AssignPat
AssignPatProp
AssignProp
AwaitExpr
BigInt
BinExpr
BlockStmt
Bool
BreakStmt
CallExpr
CatchClause
Class
ClassDecl
ClassExpr
ClassMethod
ClassProp
ComputedPropName
CondExpr
Constructor
ContinueStmt
DebuggerStmt
Decorator
DoWhileStmt
EmptyStmt
ExportAll
ExportDecl
ExportDefaultDecl
ExportDefaultExpr
ExportDefaultSpecifier
ExportNamedSpecifier
ExportNamespaceSpecifier
ExprOrSpread
ExprStmt
FnDecl
FnExpr
ForInStmt
ForOfStmt
ForStmt
Function
GetterProp
Ident
IfStmt
ImportDecl
ImportDefaultSpecifier
ImportNamedSpecifier
ImportStarAsSpecifier
Invalid
JSXAttr
JSXClosingElement
JSXClosingFragment
JSXElement
JSXEmptyExpr
JSXExprContainer
JSXFragment
JSXMemberExpr
JSXNamespacedName
JSXOpeningElement
JSXOpeningFragment
JSXSpreadChild
JSXText
KeyValuePatProp
KeyValueProp
LabeledStmt
MemberExpr
MetaPropExpr
MethodProp
Module
NamedExport
NewExpr
Null
Number
ObjectLit
ObjectPat
OptChainExpr
Param
ParenExpr
PrivateMethod
PrivateName
PrivateProp
Regex
RestPat
ReturnStmt
Script
SeqExpr
SetterProp
SpreadElement
Str
Super
SwitchCase
SwitchStmt
TaggedTpl
ThisExpr
ThrowStmt
Tpl
TplElement
TryStmt
TsArrayType
TsAsExpr
TsCallSignatureDecl
TsConditionalType
TsConstAssertion
TsConstructSignatureDecl
TsConstructorType
TsEnumDecl
TsEnumMember
TsExportAssignment
TsExprWithTypeArgs
TsExternalModuleRef
TsFnType
TsImportEqualsDecl
TsImportType
TsIndexSignature
TsIndexedAccessType
TsInferType
TsInterfaceBody
TsInterfaceDecl
TsIntersectionType
TsKeywordType
TsLitType
TsMappedType
TsMethodSignature
TsModuleBlock
TsModuleDecl
TsNamespaceDecl
TsNamespaceExportDecl
TsNonNullExpr
TsOptionalType
TsParamProp
TsParenthesizedType
TsPropertySignature
TsQualifiedName
TsRestType
TsThisType
TsTplLitType
TsTupleElement
TsTupleType
TsTypeAliasDecl
TsTypeAnn
TsTypeAssertion
TsTypeCastExpr
TsTypeLit
TsTypeOperator
TsTypeParam
TsTypeParamDecl
TsTypeParamInstantiation
TsTypePredicate
TsTypeQuery
TsTypeRef
TsUnionType
UnaryExpr
UpdateExpr
VarDecl
VarDeclarator
WhileStmt
WithStmt
YieldExpr

Trait Implementations

impl Clone for NodeKind[src]

impl Copy for NodeKind[src]

impl Debug for NodeKind[src]

impl Display for NodeKind[src]

impl PartialEq<NodeKind> for NodeKind[src]

impl StructuralPartialEq for NodeKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.