[][src]Enum dprint_swc_ecma_ast_view::NodeKind

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

Variants

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

Trait Implementations

impl Clone 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.