Enum dprint_swc_ecma_ast_view::NodeKind [−][src]
pub enum NodeKind {
Show 163 variants
ArrayLit,
ArrayPat,
ArrowExpr,
AssignExpr,
AssignPat,
AssignPatProp,
AssignProp,
AwaitExpr,
BigInt,
BinExpr,
BindingIdent,
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,
StaticBlock,
Str,
Super,
SwitchCase,
SwitchStmt,
TaggedTpl,
ThisExpr,
ThrowStmt,
Tpl,
TplElement,
TryStmt,
TsArrayType,
TsAsExpr,
TsCallSignatureDecl,
TsConditionalType,
TsConstAssertion,
TsConstructSignatureDecl,
TsConstructorType,
TsEnumDecl,
TsEnumMember,
TsExportAssignment,
TsExprWithTypeArgs,
TsExternalModuleRef,
TsFnType,
TsGetterSignature,
TsImportEqualsDecl,
TsImportType,
TsIndexSignature,
TsIndexedAccessType,
TsInferType,
TsInterfaceBody,
TsInterfaceDecl,
TsIntersectionType,
TsKeywordType,
TsLitType,
TsMappedType,
TsMethodSignature,
TsModuleBlock,
TsModuleDecl,
TsNamespaceDecl,
TsNamespaceExportDecl,
TsNonNullExpr,
TsOptionalType,
TsParamProp,
TsParenthesizedType,
TsPropertySignature,
TsQualifiedName,
TsRestType,
TsSetterSignature,
TsThisType,
TsTplLitType,
TsTupleElement,
TsTupleType,
TsTypeAliasDecl,
TsTypeAnn,
TsTypeAssertion,
TsTypeLit,
TsTypeOperator,
TsTypeParam,
TsTypeParamDecl,
TsTypeParamInstantiation,
TsTypePredicate,
TsTypeQuery,
TsTypeRef,
TsUnionType,
UnaryExpr,
UpdateExpr,
VarDecl,
VarDeclarator,
WhileStmt,
WithStmt,
YieldExpr,
}
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NodeKind
impl UnwindSafe for NodeKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more