Enum dprint_swc_ext::view::Node
source · pub enum Node<'a> {
Show 170 variants
ArrayLit(&'a ArrayLit<'a>),
ArrayPat(&'a ArrayPat<'a>),
ArrowExpr(&'a ArrowExpr<'a>),
AssignExpr(&'a AssignExpr<'a>),
AssignPat(&'a AssignPat<'a>),
AssignPatProp(&'a AssignPatProp<'a>),
AssignProp(&'a AssignProp<'a>),
AutoAccessor(&'a AutoAccessor<'a>),
AwaitExpr(&'a AwaitExpr<'a>),
BigInt(&'a BigInt<'a>),
BinExpr(&'a BinExpr<'a>),
BindingIdent(&'a BindingIdent<'a>),
BlockStmt(&'a BlockStmt<'a>),
Bool(&'a Bool<'a>),
BreakStmt(&'a BreakStmt<'a>),
CallExpr(&'a CallExpr<'a>),
CatchClause(&'a CatchClause<'a>),
Class(&'a Class<'a>),
ClassDecl(&'a ClassDecl<'a>),
ClassExpr(&'a ClassExpr<'a>),
ClassMethod(&'a ClassMethod<'a>),
ClassProp(&'a ClassProp<'a>),
ComputedPropName(&'a ComputedPropName<'a>),
CondExpr(&'a CondExpr<'a>),
Constructor(&'a Constructor<'a>),
ContinueStmt(&'a ContinueStmt<'a>),
DebuggerStmt(&'a DebuggerStmt<'a>),
Decorator(&'a Decorator<'a>),
DoWhileStmt(&'a DoWhileStmt<'a>),
EmptyStmt(&'a EmptyStmt<'a>),
ExportAll(&'a ExportAll<'a>),
ExportDecl(&'a ExportDecl<'a>),
ExportDefaultDecl(&'a ExportDefaultDecl<'a>),
ExportDefaultExpr(&'a ExportDefaultExpr<'a>),
ExportDefaultSpecifier(&'a ExportDefaultSpecifier<'a>),
ExportNamedSpecifier(&'a ExportNamedSpecifier<'a>),
ExportNamespaceSpecifier(&'a ExportNamespaceSpecifier<'a>),
ExprOrSpread(&'a ExprOrSpread<'a>),
ExprStmt(&'a ExprStmt<'a>),
FnDecl(&'a FnDecl<'a>),
FnExpr(&'a FnExpr<'a>),
ForInStmt(&'a ForInStmt<'a>),
ForOfStmt(&'a ForOfStmt<'a>),
ForStmt(&'a ForStmt<'a>),
Function(&'a Function<'a>),
GetterProp(&'a GetterProp<'a>),
Ident(&'a Ident<'a>),
IfStmt(&'a IfStmt<'a>),
Import(&'a Import<'a>),
ImportDecl(&'a ImportDecl<'a>),
ImportDefaultSpecifier(&'a ImportDefaultSpecifier<'a>),
ImportNamedSpecifier(&'a ImportNamedSpecifier<'a>),
ImportStarAsSpecifier(&'a ImportStarAsSpecifier<'a>),
Invalid(&'a Invalid<'a>),
JSXAttr(&'a JSXAttr<'a>),
JSXClosingElement(&'a JSXClosingElement<'a>),
JSXClosingFragment(&'a JSXClosingFragment<'a>),
JSXElement(&'a JSXElement<'a>),
JSXEmptyExpr(&'a JSXEmptyExpr<'a>),
JSXExprContainer(&'a JSXExprContainer<'a>),
JSXFragment(&'a JSXFragment<'a>),
JSXMemberExpr(&'a JSXMemberExpr<'a>),
JSXNamespacedName(&'a JSXNamespacedName<'a>),
JSXOpeningElement(&'a JSXOpeningElement<'a>),
JSXOpeningFragment(&'a JSXOpeningFragment<'a>),
JSXSpreadChild(&'a JSXSpreadChild<'a>),
JSXText(&'a JSXText<'a>),
KeyValuePatProp(&'a KeyValuePatProp<'a>),
KeyValueProp(&'a KeyValueProp<'a>),
LabeledStmt(&'a LabeledStmt<'a>),
MemberExpr(&'a MemberExpr<'a>),
MetaPropExpr(&'a MetaPropExpr<'a>),
MethodProp(&'a MethodProp<'a>),
Module(&'a Module<'a>),
NamedExport(&'a NamedExport<'a>),
NewExpr(&'a NewExpr<'a>),
Null(&'a Null<'a>),
Number(&'a Number<'a>),
ObjectLit(&'a ObjectLit<'a>),
ObjectPat(&'a ObjectPat<'a>),
OptCall(&'a OptCall<'a>),
OptChainExpr(&'a OptChainExpr<'a>),
Param(&'a Param<'a>),
ParenExpr(&'a ParenExpr<'a>),
PrivateMethod(&'a PrivateMethod<'a>),
PrivateName(&'a PrivateName<'a>),
PrivateProp(&'a PrivateProp<'a>),
Regex(&'a Regex<'a>),
RestPat(&'a RestPat<'a>),
ReturnStmt(&'a ReturnStmt<'a>),
Script(&'a Script<'a>),
SeqExpr(&'a SeqExpr<'a>),
SetterProp(&'a SetterProp<'a>),
SpreadElement(&'a SpreadElement<'a>),
StaticBlock(&'a StaticBlock<'a>),
Str(&'a Str<'a>),
Super(&'a Super<'a>),
SuperPropExpr(&'a SuperPropExpr<'a>),
SwitchCase(&'a SwitchCase<'a>),
SwitchStmt(&'a SwitchStmt<'a>),
TaggedTpl(&'a TaggedTpl<'a>),
ThisExpr(&'a ThisExpr<'a>),
ThrowStmt(&'a ThrowStmt<'a>),
Tpl(&'a Tpl<'a>),
TplElement(&'a TplElement<'a>),
TryStmt(&'a TryStmt<'a>),
TsArrayType(&'a TsArrayType<'a>),
TsAsExpr(&'a TsAsExpr<'a>),
TsCallSignatureDecl(&'a TsCallSignatureDecl<'a>),
TsConditionalType(&'a TsConditionalType<'a>),
TsConstAssertion(&'a TsConstAssertion<'a>),
TsConstructSignatureDecl(&'a TsConstructSignatureDecl<'a>),
TsConstructorType(&'a TsConstructorType<'a>),
TsEnumDecl(&'a TsEnumDecl<'a>),
TsEnumMember(&'a TsEnumMember<'a>),
TsExportAssignment(&'a TsExportAssignment<'a>),
TsExprWithTypeArgs(&'a TsExprWithTypeArgs<'a>),
TsExternalModuleRef(&'a TsExternalModuleRef<'a>),
TsFnType(&'a TsFnType<'a>),
TsGetterSignature(&'a TsGetterSignature<'a>),
TsImportEqualsDecl(&'a TsImportEqualsDecl<'a>),
TsImportType(&'a TsImportType<'a>),
TsIndexSignature(&'a TsIndexSignature<'a>),
TsIndexedAccessType(&'a TsIndexedAccessType<'a>),
TsInferType(&'a TsInferType<'a>),
TsInstantiation(&'a TsInstantiation<'a>),
TsInterfaceBody(&'a TsInterfaceBody<'a>),
TsInterfaceDecl(&'a TsInterfaceDecl<'a>),
TsIntersectionType(&'a TsIntersectionType<'a>),
TsKeywordType(&'a TsKeywordType<'a>),
TsLitType(&'a TsLitType<'a>),
TsMappedType(&'a TsMappedType<'a>),
TsMethodSignature(&'a TsMethodSignature<'a>),
TsModuleBlock(&'a TsModuleBlock<'a>),
TsModuleDecl(&'a TsModuleDecl<'a>),
TsNamespaceDecl(&'a TsNamespaceDecl<'a>),
TsNamespaceExportDecl(&'a TsNamespaceExportDecl<'a>),
TsNonNullExpr(&'a TsNonNullExpr<'a>),
TsOptionalType(&'a TsOptionalType<'a>),
TsParamProp(&'a TsParamProp<'a>),
TsParenthesizedType(&'a TsParenthesizedType<'a>),
TsPropertySignature(&'a TsPropertySignature<'a>),
TsQualifiedName(&'a TsQualifiedName<'a>),
TsRestType(&'a TsRestType<'a>),
TsSatisfiesExpr(&'a TsSatisfiesExpr<'a>),
TsSetterSignature(&'a TsSetterSignature<'a>),
TsThisType(&'a TsThisType<'a>),
TsTplLitType(&'a TsTplLitType<'a>),
TsTupleElement(&'a TsTupleElement<'a>),
TsTupleType(&'a TsTupleType<'a>),
TsTypeAliasDecl(&'a TsTypeAliasDecl<'a>),
TsTypeAnn(&'a TsTypeAnn<'a>),
TsTypeAssertion(&'a TsTypeAssertion<'a>),
TsTypeLit(&'a TsTypeLit<'a>),
TsTypeOperator(&'a TsTypeOperator<'a>),
TsTypeParam(&'a TsTypeParam<'a>),
TsTypeParamDecl(&'a TsTypeParamDecl<'a>),
TsTypeParamInstantiation(&'a TsTypeParamInstantiation<'a>),
TsTypePredicate(&'a TsTypePredicate<'a>),
TsTypeQuery(&'a TsTypeQuery<'a>),
TsTypeRef(&'a TsTypeRef<'a>),
TsUnionType(&'a TsUnionType<'a>),
UnaryExpr(&'a UnaryExpr<'a>),
UpdateExpr(&'a UpdateExpr<'a>),
UsingDecl(&'a UsingDecl<'a>),
VarDecl(&'a VarDecl<'a>),
VarDeclarator(&'a VarDeclarator<'a>),
WhileStmt(&'a WhileStmt<'a>),
WithStmt(&'a WithStmt<'a>),
YieldExpr(&'a YieldExpr<'a>),
}
Variants§
ArrayLit(&'a ArrayLit<'a>)
ArrayPat(&'a ArrayPat<'a>)
ArrowExpr(&'a ArrowExpr<'a>)
AssignExpr(&'a AssignExpr<'a>)
AssignPat(&'a AssignPat<'a>)
AssignPatProp(&'a AssignPatProp<'a>)
AssignProp(&'a AssignProp<'a>)
AutoAccessor(&'a AutoAccessor<'a>)
AwaitExpr(&'a AwaitExpr<'a>)
BigInt(&'a BigInt<'a>)
BinExpr(&'a BinExpr<'a>)
BindingIdent(&'a BindingIdent<'a>)
BlockStmt(&'a BlockStmt<'a>)
Bool(&'a Bool<'a>)
BreakStmt(&'a BreakStmt<'a>)
CallExpr(&'a CallExpr<'a>)
CatchClause(&'a CatchClause<'a>)
Class(&'a Class<'a>)
ClassDecl(&'a ClassDecl<'a>)
ClassExpr(&'a ClassExpr<'a>)
ClassMethod(&'a ClassMethod<'a>)
ClassProp(&'a ClassProp<'a>)
ComputedPropName(&'a ComputedPropName<'a>)
CondExpr(&'a CondExpr<'a>)
Constructor(&'a Constructor<'a>)
ContinueStmt(&'a ContinueStmt<'a>)
DebuggerStmt(&'a DebuggerStmt<'a>)
Decorator(&'a Decorator<'a>)
DoWhileStmt(&'a DoWhileStmt<'a>)
EmptyStmt(&'a EmptyStmt<'a>)
ExportAll(&'a ExportAll<'a>)
ExportDecl(&'a ExportDecl<'a>)
ExportDefaultDecl(&'a ExportDefaultDecl<'a>)
ExportDefaultExpr(&'a ExportDefaultExpr<'a>)
ExportDefaultSpecifier(&'a ExportDefaultSpecifier<'a>)
ExportNamedSpecifier(&'a ExportNamedSpecifier<'a>)
ExportNamespaceSpecifier(&'a ExportNamespaceSpecifier<'a>)
ExprOrSpread(&'a ExprOrSpread<'a>)
ExprStmt(&'a ExprStmt<'a>)
FnDecl(&'a FnDecl<'a>)
FnExpr(&'a FnExpr<'a>)
ForInStmt(&'a ForInStmt<'a>)
ForOfStmt(&'a ForOfStmt<'a>)
ForStmt(&'a ForStmt<'a>)
Function(&'a Function<'a>)
GetterProp(&'a GetterProp<'a>)
Ident(&'a Ident<'a>)
IfStmt(&'a IfStmt<'a>)
Import(&'a Import<'a>)
ImportDecl(&'a ImportDecl<'a>)
ImportDefaultSpecifier(&'a ImportDefaultSpecifier<'a>)
ImportNamedSpecifier(&'a ImportNamedSpecifier<'a>)
ImportStarAsSpecifier(&'a ImportStarAsSpecifier<'a>)
Invalid(&'a Invalid<'a>)
JSXAttr(&'a JSXAttr<'a>)
JSXClosingElement(&'a JSXClosingElement<'a>)
JSXClosingFragment(&'a JSXClosingFragment<'a>)
JSXElement(&'a JSXElement<'a>)
JSXEmptyExpr(&'a JSXEmptyExpr<'a>)
JSXExprContainer(&'a JSXExprContainer<'a>)
JSXFragment(&'a JSXFragment<'a>)
JSXMemberExpr(&'a JSXMemberExpr<'a>)
JSXNamespacedName(&'a JSXNamespacedName<'a>)
JSXOpeningElement(&'a JSXOpeningElement<'a>)
JSXOpeningFragment(&'a JSXOpeningFragment<'a>)
JSXSpreadChild(&'a JSXSpreadChild<'a>)
JSXText(&'a JSXText<'a>)
KeyValuePatProp(&'a KeyValuePatProp<'a>)
KeyValueProp(&'a KeyValueProp<'a>)
LabeledStmt(&'a LabeledStmt<'a>)
MemberExpr(&'a MemberExpr<'a>)
MetaPropExpr(&'a MetaPropExpr<'a>)
MethodProp(&'a MethodProp<'a>)
Module(&'a Module<'a>)
NamedExport(&'a NamedExport<'a>)
NewExpr(&'a NewExpr<'a>)
Null(&'a Null<'a>)
Number(&'a Number<'a>)
ObjectLit(&'a ObjectLit<'a>)
ObjectPat(&'a ObjectPat<'a>)
OptCall(&'a OptCall<'a>)
OptChainExpr(&'a OptChainExpr<'a>)
Param(&'a Param<'a>)
ParenExpr(&'a ParenExpr<'a>)
PrivateMethod(&'a PrivateMethod<'a>)
PrivateName(&'a PrivateName<'a>)
PrivateProp(&'a PrivateProp<'a>)
Regex(&'a Regex<'a>)
RestPat(&'a RestPat<'a>)
ReturnStmt(&'a ReturnStmt<'a>)
Script(&'a Script<'a>)
SeqExpr(&'a SeqExpr<'a>)
SetterProp(&'a SetterProp<'a>)
SpreadElement(&'a SpreadElement<'a>)
StaticBlock(&'a StaticBlock<'a>)
Str(&'a Str<'a>)
Super(&'a Super<'a>)
SuperPropExpr(&'a SuperPropExpr<'a>)
SwitchCase(&'a SwitchCase<'a>)
SwitchStmt(&'a SwitchStmt<'a>)
TaggedTpl(&'a TaggedTpl<'a>)
ThisExpr(&'a ThisExpr<'a>)
ThrowStmt(&'a ThrowStmt<'a>)
Tpl(&'a Tpl<'a>)
TplElement(&'a TplElement<'a>)
TryStmt(&'a TryStmt<'a>)
TsArrayType(&'a TsArrayType<'a>)
TsAsExpr(&'a TsAsExpr<'a>)
TsCallSignatureDecl(&'a TsCallSignatureDecl<'a>)
TsConditionalType(&'a TsConditionalType<'a>)
TsConstAssertion(&'a TsConstAssertion<'a>)
TsConstructSignatureDecl(&'a TsConstructSignatureDecl<'a>)
TsConstructorType(&'a TsConstructorType<'a>)
TsEnumDecl(&'a TsEnumDecl<'a>)
TsEnumMember(&'a TsEnumMember<'a>)
TsExportAssignment(&'a TsExportAssignment<'a>)
TsExprWithTypeArgs(&'a TsExprWithTypeArgs<'a>)
TsExternalModuleRef(&'a TsExternalModuleRef<'a>)
TsFnType(&'a TsFnType<'a>)
TsGetterSignature(&'a TsGetterSignature<'a>)
TsImportEqualsDecl(&'a TsImportEqualsDecl<'a>)
TsImportType(&'a TsImportType<'a>)
TsIndexSignature(&'a TsIndexSignature<'a>)
TsIndexedAccessType(&'a TsIndexedAccessType<'a>)
TsInferType(&'a TsInferType<'a>)
TsInstantiation(&'a TsInstantiation<'a>)
TsInterfaceBody(&'a TsInterfaceBody<'a>)
TsInterfaceDecl(&'a TsInterfaceDecl<'a>)
TsIntersectionType(&'a TsIntersectionType<'a>)
TsKeywordType(&'a TsKeywordType<'a>)
TsLitType(&'a TsLitType<'a>)
TsMappedType(&'a TsMappedType<'a>)
TsMethodSignature(&'a TsMethodSignature<'a>)
TsModuleBlock(&'a TsModuleBlock<'a>)
TsModuleDecl(&'a TsModuleDecl<'a>)
TsNamespaceDecl(&'a TsNamespaceDecl<'a>)
TsNamespaceExportDecl(&'a TsNamespaceExportDecl<'a>)
TsNonNullExpr(&'a TsNonNullExpr<'a>)
TsOptionalType(&'a TsOptionalType<'a>)
TsParamProp(&'a TsParamProp<'a>)
TsParenthesizedType(&'a TsParenthesizedType<'a>)
TsPropertySignature(&'a TsPropertySignature<'a>)
TsQualifiedName(&'a TsQualifiedName<'a>)
TsRestType(&'a TsRestType<'a>)
TsSatisfiesExpr(&'a TsSatisfiesExpr<'a>)
TsSetterSignature(&'a TsSetterSignature<'a>)
TsThisType(&'a TsThisType<'a>)
TsTplLitType(&'a TsTplLitType<'a>)
TsTupleElement(&'a TsTupleElement<'a>)
TsTupleType(&'a TsTupleType<'a>)
TsTypeAliasDecl(&'a TsTypeAliasDecl<'a>)
TsTypeAnn(&'a TsTypeAnn<'a>)
TsTypeAssertion(&'a TsTypeAssertion<'a>)
TsTypeLit(&'a TsTypeLit<'a>)
TsTypeOperator(&'a TsTypeOperator<'a>)
TsTypeParam(&'a TsTypeParam<'a>)
TsTypeParamDecl(&'a TsTypeParamDecl<'a>)
TsTypeParamInstantiation(&'a TsTypeParamInstantiation<'a>)
TsTypePredicate(&'a TsTypePredicate<'a>)
TsTypeQuery(&'a TsTypeQuery<'a>)
TsTypeRef(&'a TsTypeRef<'a>)
TsUnionType(&'a TsUnionType<'a>)
UnaryExpr(&'a UnaryExpr<'a>)
UpdateExpr(&'a UpdateExpr<'a>)
UsingDecl(&'a UsingDecl<'a>)
VarDecl(&'a VarDecl<'a>)
VarDeclarator(&'a VarDeclarator<'a>)
WhileStmt(&'a WhileStmt<'a>)
WithStmt(&'a WithStmt<'a>)
YieldExpr(&'a YieldExpr<'a>)
Implementations§
Trait Implementations§
source§impl<'a> From<&AssignExpr<'a>> for Node<'a>
impl<'a> From<&AssignExpr<'a>> for Node<'a>
source§fn from(node: &AssignExpr<'a>) -> Node<'a>
fn from(node: &AssignExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&AssignPatProp<'a>> for Node<'a>
impl<'a> From<&AssignPatProp<'a>> for Node<'a>
source§fn from(node: &AssignPatProp<'a>) -> Node<'a>
fn from(node: &AssignPatProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&AssignProp<'a>> for Node<'a>
impl<'a> From<&AssignProp<'a>> for Node<'a>
source§fn from(node: &AssignProp<'a>) -> Node<'a>
fn from(node: &AssignProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&AssignTarget<'a>> for Node<'a>
impl<'a> From<&AssignTarget<'a>> for Node<'a>
source§fn from(node: &AssignTarget<'a>) -> Node<'a>
fn from(node: &AssignTarget<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&AssignTargetPat<'a>> for Node<'a>
impl<'a> From<&AssignTargetPat<'a>> for Node<'a>
source§fn from(node: &AssignTargetPat<'a>) -> Node<'a>
fn from(node: &AssignTargetPat<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&AutoAccessor<'a>> for Node<'a>
impl<'a> From<&AutoAccessor<'a>> for Node<'a>
source§fn from(node: &AutoAccessor<'a>) -> Node<'a>
fn from(node: &AutoAccessor<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&BindingIdent<'a>> for Node<'a>
impl<'a> From<&BindingIdent<'a>> for Node<'a>
source§fn from(node: &BindingIdent<'a>) -> Node<'a>
fn from(node: &BindingIdent<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&BlockStmtOrExpr<'a>> for Node<'a>
impl<'a> From<&BlockStmtOrExpr<'a>> for Node<'a>
source§fn from(node: &BlockStmtOrExpr<'a>) -> Node<'a>
fn from(node: &BlockStmtOrExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&CatchClause<'a>> for Node<'a>
impl<'a> From<&CatchClause<'a>> for Node<'a>
source§fn from(node: &CatchClause<'a>) -> Node<'a>
fn from(node: &CatchClause<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ClassMember<'a>> for Node<'a>
impl<'a> From<&ClassMember<'a>> for Node<'a>
source§fn from(node: &ClassMember<'a>) -> Node<'a>
fn from(node: &ClassMember<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ClassMethod<'a>> for Node<'a>
impl<'a> From<&ClassMethod<'a>> for Node<'a>
source§fn from(node: &ClassMethod<'a>) -> Node<'a>
fn from(node: &ClassMethod<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ComputedPropName<'a>> for Node<'a>
impl<'a> From<&ComputedPropName<'a>> for Node<'a>
source§fn from(node: &ComputedPropName<'a>) -> Node<'a>
fn from(node: &ComputedPropName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&Constructor<'a>> for Node<'a>
impl<'a> From<&Constructor<'a>> for Node<'a>
source§fn from(node: &Constructor<'a>) -> Node<'a>
fn from(node: &Constructor<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ContinueStmt<'a>> for Node<'a>
impl<'a> From<&ContinueStmt<'a>> for Node<'a>
source§fn from(node: &ContinueStmt<'a>) -> Node<'a>
fn from(node: &ContinueStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&DebuggerStmt<'a>> for Node<'a>
impl<'a> From<&DebuggerStmt<'a>> for Node<'a>
source§fn from(node: &DebuggerStmt<'a>) -> Node<'a>
fn from(node: &DebuggerStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&DefaultDecl<'a>> for Node<'a>
impl<'a> From<&DefaultDecl<'a>> for Node<'a>
source§fn from(node: &DefaultDecl<'a>) -> Node<'a>
fn from(node: &DefaultDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&DoWhileStmt<'a>> for Node<'a>
impl<'a> From<&DoWhileStmt<'a>> for Node<'a>
source§fn from(node: &DoWhileStmt<'a>) -> Node<'a>
fn from(node: &DoWhileStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportDecl<'a>> for Node<'a>
impl<'a> From<&ExportDecl<'a>> for Node<'a>
source§fn from(node: &ExportDecl<'a>) -> Node<'a>
fn from(node: &ExportDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportDefaultDecl<'a>> for Node<'a>
impl<'a> From<&ExportDefaultDecl<'a>> for Node<'a>
source§fn from(node: &ExportDefaultDecl<'a>) -> Node<'a>
fn from(node: &ExportDefaultDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportDefaultExpr<'a>> for Node<'a>
impl<'a> From<&ExportDefaultExpr<'a>> for Node<'a>
source§fn from(node: &ExportDefaultExpr<'a>) -> Node<'a>
fn from(node: &ExportDefaultExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportDefaultSpecifier<'a>> for Node<'a>
impl<'a> From<&ExportDefaultSpecifier<'a>> for Node<'a>
source§fn from(node: &ExportDefaultSpecifier<'a>) -> Node<'a>
fn from(node: &ExportDefaultSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportNamedSpecifier<'a>> for Node<'a>
impl<'a> From<&ExportNamedSpecifier<'a>> for Node<'a>
source§fn from(node: &ExportNamedSpecifier<'a>) -> Node<'a>
fn from(node: &ExportNamedSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportNamespaceSpecifier<'a>> for Node<'a>
impl<'a> From<&ExportNamespaceSpecifier<'a>> for Node<'a>
source§fn from(node: &ExportNamespaceSpecifier<'a>) -> Node<'a>
fn from(node: &ExportNamespaceSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExportSpecifier<'a>> for Node<'a>
impl<'a> From<&ExportSpecifier<'a>> for Node<'a>
source§fn from(node: &ExportSpecifier<'a>) -> Node<'a>
fn from(node: &ExportSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ExprOrSpread<'a>> for Node<'a>
impl<'a> From<&ExprOrSpread<'a>> for Node<'a>
source§fn from(node: &ExprOrSpread<'a>) -> Node<'a>
fn from(node: &ExprOrSpread<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&GetterProp<'a>> for Node<'a>
impl<'a> From<&GetterProp<'a>> for Node<'a>
source§fn from(node: &GetterProp<'a>) -> Node<'a>
fn from(node: &GetterProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ImportDecl<'a>> for Node<'a>
impl<'a> From<&ImportDecl<'a>> for Node<'a>
source§fn from(node: &ImportDecl<'a>) -> Node<'a>
fn from(node: &ImportDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ImportDefaultSpecifier<'a>> for Node<'a>
impl<'a> From<&ImportDefaultSpecifier<'a>> for Node<'a>
source§fn from(node: &ImportDefaultSpecifier<'a>) -> Node<'a>
fn from(node: &ImportDefaultSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ImportNamedSpecifier<'a>> for Node<'a>
impl<'a> From<&ImportNamedSpecifier<'a>> for Node<'a>
source§fn from(node: &ImportNamedSpecifier<'a>) -> Node<'a>
fn from(node: &ImportNamedSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ImportSpecifier<'a>> for Node<'a>
impl<'a> From<&ImportSpecifier<'a>> for Node<'a>
source§fn from(node: &ImportSpecifier<'a>) -> Node<'a>
fn from(node: &ImportSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ImportStarAsSpecifier<'a>> for Node<'a>
impl<'a> From<&ImportStarAsSpecifier<'a>> for Node<'a>
source§fn from(node: &ImportStarAsSpecifier<'a>) -> Node<'a>
fn from(node: &ImportStarAsSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXAttrName<'a>> for Node<'a>
impl<'a> From<&JSXAttrName<'a>> for Node<'a>
source§fn from(node: &JSXAttrName<'a>) -> Node<'a>
fn from(node: &JSXAttrName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXAttrOrSpread<'a>> for Node<'a>
impl<'a> From<&JSXAttrOrSpread<'a>> for Node<'a>
source§fn from(node: &JSXAttrOrSpread<'a>) -> Node<'a>
fn from(node: &JSXAttrOrSpread<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXAttrValue<'a>> for Node<'a>
impl<'a> From<&JSXAttrValue<'a>> for Node<'a>
source§fn from(node: &JSXAttrValue<'a>) -> Node<'a>
fn from(node: &JSXAttrValue<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXClosingElement<'a>> for Node<'a>
impl<'a> From<&JSXClosingElement<'a>> for Node<'a>
source§fn from(node: &JSXClosingElement<'a>) -> Node<'a>
fn from(node: &JSXClosingElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXClosingFragment<'a>> for Node<'a>
impl<'a> From<&JSXClosingFragment<'a>> for Node<'a>
source§fn from(node: &JSXClosingFragment<'a>) -> Node<'a>
fn from(node: &JSXClosingFragment<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXElement<'a>> for Node<'a>
impl<'a> From<&JSXElement<'a>> for Node<'a>
source§fn from(node: &JSXElement<'a>) -> Node<'a>
fn from(node: &JSXElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXElementChild<'a>> for Node<'a>
impl<'a> From<&JSXElementChild<'a>> for Node<'a>
source§fn from(node: &JSXElementChild<'a>) -> Node<'a>
fn from(node: &JSXElementChild<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXElementName<'a>> for Node<'a>
impl<'a> From<&JSXElementName<'a>> for Node<'a>
source§fn from(node: &JSXElementName<'a>) -> Node<'a>
fn from(node: &JSXElementName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXEmptyExpr<'a>> for Node<'a>
impl<'a> From<&JSXEmptyExpr<'a>> for Node<'a>
source§fn from(node: &JSXEmptyExpr<'a>) -> Node<'a>
fn from(node: &JSXEmptyExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXExprContainer<'a>> for Node<'a>
impl<'a> From<&JSXExprContainer<'a>> for Node<'a>
source§fn from(node: &JSXExprContainer<'a>) -> Node<'a>
fn from(node: &JSXExprContainer<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXFragment<'a>> for Node<'a>
impl<'a> From<&JSXFragment<'a>> for Node<'a>
source§fn from(node: &JSXFragment<'a>) -> Node<'a>
fn from(node: &JSXFragment<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXMemberExpr<'a>> for Node<'a>
impl<'a> From<&JSXMemberExpr<'a>> for Node<'a>
source§fn from(node: &JSXMemberExpr<'a>) -> Node<'a>
fn from(node: &JSXMemberExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXNamespacedName<'a>> for Node<'a>
impl<'a> From<&JSXNamespacedName<'a>> for Node<'a>
source§fn from(node: &JSXNamespacedName<'a>) -> Node<'a>
fn from(node: &JSXNamespacedName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXOpeningElement<'a>> for Node<'a>
impl<'a> From<&JSXOpeningElement<'a>> for Node<'a>
source§fn from(node: &JSXOpeningElement<'a>) -> Node<'a>
fn from(node: &JSXOpeningElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXOpeningFragment<'a>> for Node<'a>
impl<'a> From<&JSXOpeningFragment<'a>> for Node<'a>
source§fn from(node: &JSXOpeningFragment<'a>) -> Node<'a>
fn from(node: &JSXOpeningFragment<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&JSXSpreadChild<'a>> for Node<'a>
impl<'a> From<&JSXSpreadChild<'a>> for Node<'a>
source§fn from(node: &JSXSpreadChild<'a>) -> Node<'a>
fn from(node: &JSXSpreadChild<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&KeyValuePatProp<'a>> for Node<'a>
impl<'a> From<&KeyValuePatProp<'a>> for Node<'a>
source§fn from(node: &KeyValuePatProp<'a>) -> Node<'a>
fn from(node: &KeyValuePatProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&KeyValueProp<'a>> for Node<'a>
impl<'a> From<&KeyValueProp<'a>> for Node<'a>
source§fn from(node: &KeyValueProp<'a>) -> Node<'a>
fn from(node: &KeyValueProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&LabeledStmt<'a>> for Node<'a>
impl<'a> From<&LabeledStmt<'a>> for Node<'a>
source§fn from(node: &LabeledStmt<'a>) -> Node<'a>
fn from(node: &LabeledStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&MemberExpr<'a>> for Node<'a>
impl<'a> From<&MemberExpr<'a>> for Node<'a>
source§fn from(node: &MemberExpr<'a>) -> Node<'a>
fn from(node: &MemberExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&MemberProp<'a>> for Node<'a>
impl<'a> From<&MemberProp<'a>> for Node<'a>
source§fn from(node: &MemberProp<'a>) -> Node<'a>
fn from(node: &MemberProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&MetaPropExpr<'a>> for Node<'a>
impl<'a> From<&MetaPropExpr<'a>> for Node<'a>
source§fn from(node: &MetaPropExpr<'a>) -> Node<'a>
fn from(node: &MetaPropExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&MethodProp<'a>> for Node<'a>
impl<'a> From<&MethodProp<'a>> for Node<'a>
source§fn from(node: &MethodProp<'a>) -> Node<'a>
fn from(node: &MethodProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ModuleDecl<'a>> for Node<'a>
impl<'a> From<&ModuleDecl<'a>> for Node<'a>
source§fn from(node: &ModuleDecl<'a>) -> Node<'a>
fn from(node: &ModuleDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ModuleExportName<'a>> for Node<'a>
impl<'a> From<&ModuleExportName<'a>> for Node<'a>
source§fn from(node: &ModuleExportName<'a>) -> Node<'a>
fn from(node: &ModuleExportName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ModuleItem<'a>> for Node<'a>
impl<'a> From<&ModuleItem<'a>> for Node<'a>
source§fn from(node: &ModuleItem<'a>) -> Node<'a>
fn from(node: &ModuleItem<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&NamedExport<'a>> for Node<'a>
impl<'a> From<&NamedExport<'a>> for Node<'a>
source§fn from(node: &NamedExport<'a>) -> Node<'a>
fn from(node: &NamedExport<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ObjectPatProp<'a>> for Node<'a>
impl<'a> From<&ObjectPatProp<'a>> for Node<'a>
source§fn from(node: &ObjectPatProp<'a>) -> Node<'a>
fn from(node: &ObjectPatProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&OptChainBase<'a>> for Node<'a>
impl<'a> From<&OptChainBase<'a>> for Node<'a>
source§fn from(node: &OptChainBase<'a>) -> Node<'a>
fn from(node: &OptChainBase<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&OptChainExpr<'a>> for Node<'a>
impl<'a> From<&OptChainExpr<'a>> for Node<'a>
source§fn from(node: &OptChainExpr<'a>) -> Node<'a>
fn from(node: &OptChainExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ParamOrTsParamProp<'a>> for Node<'a>
impl<'a> From<&ParamOrTsParamProp<'a>> for Node<'a>
source§fn from(node: &ParamOrTsParamProp<'a>) -> Node<'a>
fn from(node: &ParamOrTsParamProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&PrivateMethod<'a>> for Node<'a>
impl<'a> From<&PrivateMethod<'a>> for Node<'a>
source§fn from(node: &PrivateMethod<'a>) -> Node<'a>
fn from(node: &PrivateMethod<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&PrivateName<'a>> for Node<'a>
impl<'a> From<&PrivateName<'a>> for Node<'a>
source§fn from(node: &PrivateName<'a>) -> Node<'a>
fn from(node: &PrivateName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&PrivateProp<'a>> for Node<'a>
impl<'a> From<&PrivateProp<'a>> for Node<'a>
source§fn from(node: &PrivateProp<'a>) -> Node<'a>
fn from(node: &PrivateProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&PropOrSpread<'a>> for Node<'a>
impl<'a> From<&PropOrSpread<'a>> for Node<'a>
source§fn from(node: &PropOrSpread<'a>) -> Node<'a>
fn from(node: &PropOrSpread<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&ReturnStmt<'a>> for Node<'a>
impl<'a> From<&ReturnStmt<'a>> for Node<'a>
source§fn from(node: &ReturnStmt<'a>) -> Node<'a>
fn from(node: &ReturnStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SetterProp<'a>> for Node<'a>
impl<'a> From<&SetterProp<'a>> for Node<'a>
source§fn from(node: &SetterProp<'a>) -> Node<'a>
fn from(node: &SetterProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SimpleAssignTarget<'a>> for Node<'a>
impl<'a> From<&SimpleAssignTarget<'a>> for Node<'a>
source§fn from(node: &SimpleAssignTarget<'a>) -> Node<'a>
fn from(node: &SimpleAssignTarget<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SpreadElement<'a>> for Node<'a>
impl<'a> From<&SpreadElement<'a>> for Node<'a>
source§fn from(node: &SpreadElement<'a>) -> Node<'a>
fn from(node: &SpreadElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&StaticBlock<'a>> for Node<'a>
impl<'a> From<&StaticBlock<'a>> for Node<'a>
source§fn from(node: &StaticBlock<'a>) -> Node<'a>
fn from(node: &StaticBlock<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SuperPropExpr<'a>> for Node<'a>
impl<'a> From<&SuperPropExpr<'a>> for Node<'a>
source§fn from(node: &SuperPropExpr<'a>) -> Node<'a>
fn from(node: &SuperPropExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SwitchCase<'a>> for Node<'a>
impl<'a> From<&SwitchCase<'a>> for Node<'a>
source§fn from(node: &SwitchCase<'a>) -> Node<'a>
fn from(node: &SwitchCase<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&SwitchStmt<'a>> for Node<'a>
impl<'a> From<&SwitchStmt<'a>> for Node<'a>
source§fn from(node: &SwitchStmt<'a>) -> Node<'a>
fn from(node: &SwitchStmt<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TplElement<'a>> for Node<'a>
impl<'a> From<&TplElement<'a>> for Node<'a>
source§fn from(node: &TplElement<'a>) -> Node<'a>
fn from(node: &TplElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsArrayType<'a>> for Node<'a>
impl<'a> From<&TsArrayType<'a>> for Node<'a>
source§fn from(node: &TsArrayType<'a>) -> Node<'a>
fn from(node: &TsArrayType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsCallSignatureDecl<'a>> for Node<'a>
impl<'a> From<&TsCallSignatureDecl<'a>> for Node<'a>
source§fn from(node: &TsCallSignatureDecl<'a>) -> Node<'a>
fn from(node: &TsCallSignatureDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsConditionalType<'a>> for Node<'a>
impl<'a> From<&TsConditionalType<'a>> for Node<'a>
source§fn from(node: &TsConditionalType<'a>) -> Node<'a>
fn from(node: &TsConditionalType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsConstAssertion<'a>> for Node<'a>
impl<'a> From<&TsConstAssertion<'a>> for Node<'a>
source§fn from(node: &TsConstAssertion<'a>) -> Node<'a>
fn from(node: &TsConstAssertion<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsConstructSignatureDecl<'a>> for Node<'a>
impl<'a> From<&TsConstructSignatureDecl<'a>> for Node<'a>
source§fn from(node: &TsConstructSignatureDecl<'a>) -> Node<'a>
fn from(node: &TsConstructSignatureDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsConstructorType<'a>> for Node<'a>
impl<'a> From<&TsConstructorType<'a>> for Node<'a>
source§fn from(node: &TsConstructorType<'a>) -> Node<'a>
fn from(node: &TsConstructorType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsEntityName<'a>> for Node<'a>
impl<'a> From<&TsEntityName<'a>> for Node<'a>
source§fn from(node: &TsEntityName<'a>) -> Node<'a>
fn from(node: &TsEntityName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsEnumDecl<'a>> for Node<'a>
impl<'a> From<&TsEnumDecl<'a>> for Node<'a>
source§fn from(node: &TsEnumDecl<'a>) -> Node<'a>
fn from(node: &TsEnumDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsEnumMember<'a>> for Node<'a>
impl<'a> From<&TsEnumMember<'a>> for Node<'a>
source§fn from(node: &TsEnumMember<'a>) -> Node<'a>
fn from(node: &TsEnumMember<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsEnumMemberId<'a>> for Node<'a>
impl<'a> From<&TsEnumMemberId<'a>> for Node<'a>
source§fn from(node: &TsEnumMemberId<'a>) -> Node<'a>
fn from(node: &TsEnumMemberId<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsExportAssignment<'a>> for Node<'a>
impl<'a> From<&TsExportAssignment<'a>> for Node<'a>
source§fn from(node: &TsExportAssignment<'a>) -> Node<'a>
fn from(node: &TsExportAssignment<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsExprWithTypeArgs<'a>> for Node<'a>
impl<'a> From<&TsExprWithTypeArgs<'a>> for Node<'a>
source§fn from(node: &TsExprWithTypeArgs<'a>) -> Node<'a>
fn from(node: &TsExprWithTypeArgs<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsExternalModuleRef<'a>> for Node<'a>
impl<'a> From<&TsExternalModuleRef<'a>> for Node<'a>
source§fn from(node: &TsExternalModuleRef<'a>) -> Node<'a>
fn from(node: &TsExternalModuleRef<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsFnOrConstructorType<'a>> for Node<'a>
impl<'a> From<&TsFnOrConstructorType<'a>> for Node<'a>
source§fn from(node: &TsFnOrConstructorType<'a>) -> Node<'a>
fn from(node: &TsFnOrConstructorType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsGetterSignature<'a>> for Node<'a>
impl<'a> From<&TsGetterSignature<'a>> for Node<'a>
source§fn from(node: &TsGetterSignature<'a>) -> Node<'a>
fn from(node: &TsGetterSignature<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsImportEqualsDecl<'a>> for Node<'a>
impl<'a> From<&TsImportEqualsDecl<'a>> for Node<'a>
source§fn from(node: &TsImportEqualsDecl<'a>) -> Node<'a>
fn from(node: &TsImportEqualsDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsImportType<'a>> for Node<'a>
impl<'a> From<&TsImportType<'a>> for Node<'a>
source§fn from(node: &TsImportType<'a>) -> Node<'a>
fn from(node: &TsImportType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsIndexSignature<'a>> for Node<'a>
impl<'a> From<&TsIndexSignature<'a>> for Node<'a>
source§fn from(node: &TsIndexSignature<'a>) -> Node<'a>
fn from(node: &TsIndexSignature<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsIndexedAccessType<'a>> for Node<'a>
impl<'a> From<&TsIndexedAccessType<'a>> for Node<'a>
source§fn from(node: &TsIndexedAccessType<'a>) -> Node<'a>
fn from(node: &TsIndexedAccessType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsInferType<'a>> for Node<'a>
impl<'a> From<&TsInferType<'a>> for Node<'a>
source§fn from(node: &TsInferType<'a>) -> Node<'a>
fn from(node: &TsInferType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsInstantiation<'a>> for Node<'a>
impl<'a> From<&TsInstantiation<'a>> for Node<'a>
source§fn from(node: &TsInstantiation<'a>) -> Node<'a>
fn from(node: &TsInstantiation<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsInterfaceBody<'a>> for Node<'a>
impl<'a> From<&TsInterfaceBody<'a>> for Node<'a>
source§fn from(node: &TsInterfaceBody<'a>) -> Node<'a>
fn from(node: &TsInterfaceBody<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsInterfaceDecl<'a>> for Node<'a>
impl<'a> From<&TsInterfaceDecl<'a>> for Node<'a>
source§fn from(node: &TsInterfaceDecl<'a>) -> Node<'a>
fn from(node: &TsInterfaceDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsIntersectionType<'a>> for Node<'a>
impl<'a> From<&TsIntersectionType<'a>> for Node<'a>
source§fn from(node: &TsIntersectionType<'a>) -> Node<'a>
fn from(node: &TsIntersectionType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsKeywordType<'a>> for Node<'a>
impl<'a> From<&TsKeywordType<'a>> for Node<'a>
source§fn from(node: &TsKeywordType<'a>) -> Node<'a>
fn from(node: &TsKeywordType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsMappedType<'a>> for Node<'a>
impl<'a> From<&TsMappedType<'a>> for Node<'a>
source§fn from(node: &TsMappedType<'a>) -> Node<'a>
fn from(node: &TsMappedType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsMethodSignature<'a>> for Node<'a>
impl<'a> From<&TsMethodSignature<'a>> for Node<'a>
source§fn from(node: &TsMethodSignature<'a>) -> Node<'a>
fn from(node: &TsMethodSignature<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsModuleBlock<'a>> for Node<'a>
impl<'a> From<&TsModuleBlock<'a>> for Node<'a>
source§fn from(node: &TsModuleBlock<'a>) -> Node<'a>
fn from(node: &TsModuleBlock<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsModuleDecl<'a>> for Node<'a>
impl<'a> From<&TsModuleDecl<'a>> for Node<'a>
source§fn from(node: &TsModuleDecl<'a>) -> Node<'a>
fn from(node: &TsModuleDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsModuleName<'a>> for Node<'a>
impl<'a> From<&TsModuleName<'a>> for Node<'a>
source§fn from(node: &TsModuleName<'a>) -> Node<'a>
fn from(node: &TsModuleName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsModuleRef<'a>> for Node<'a>
impl<'a> From<&TsModuleRef<'a>> for Node<'a>
source§fn from(node: &TsModuleRef<'a>) -> Node<'a>
fn from(node: &TsModuleRef<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsNamespaceBody<'a>> for Node<'a>
impl<'a> From<&TsNamespaceBody<'a>> for Node<'a>
source§fn from(node: &TsNamespaceBody<'a>) -> Node<'a>
fn from(node: &TsNamespaceBody<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsNamespaceDecl<'a>> for Node<'a>
impl<'a> From<&TsNamespaceDecl<'a>> for Node<'a>
source§fn from(node: &TsNamespaceDecl<'a>) -> Node<'a>
fn from(node: &TsNamespaceDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsNamespaceExportDecl<'a>> for Node<'a>
impl<'a> From<&TsNamespaceExportDecl<'a>> for Node<'a>
source§fn from(node: &TsNamespaceExportDecl<'a>) -> Node<'a>
fn from(node: &TsNamespaceExportDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsNonNullExpr<'a>> for Node<'a>
impl<'a> From<&TsNonNullExpr<'a>> for Node<'a>
source§fn from(node: &TsNonNullExpr<'a>) -> Node<'a>
fn from(node: &TsNonNullExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsOptionalType<'a>> for Node<'a>
impl<'a> From<&TsOptionalType<'a>> for Node<'a>
source§fn from(node: &TsOptionalType<'a>) -> Node<'a>
fn from(node: &TsOptionalType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsParamProp<'a>> for Node<'a>
impl<'a> From<&TsParamProp<'a>> for Node<'a>
source§fn from(node: &TsParamProp<'a>) -> Node<'a>
fn from(node: &TsParamProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsParamPropParam<'a>> for Node<'a>
impl<'a> From<&TsParamPropParam<'a>> for Node<'a>
source§fn from(node: &TsParamPropParam<'a>) -> Node<'a>
fn from(node: &TsParamPropParam<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsParenthesizedType<'a>> for Node<'a>
impl<'a> From<&TsParenthesizedType<'a>> for Node<'a>
source§fn from(node: &TsParenthesizedType<'a>) -> Node<'a>
fn from(node: &TsParenthesizedType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsPropertySignature<'a>> for Node<'a>
impl<'a> From<&TsPropertySignature<'a>> for Node<'a>
source§fn from(node: &TsPropertySignature<'a>) -> Node<'a>
fn from(node: &TsPropertySignature<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsQualifiedName<'a>> for Node<'a>
impl<'a> From<&TsQualifiedName<'a>> for Node<'a>
source§fn from(node: &TsQualifiedName<'a>) -> Node<'a>
fn from(node: &TsQualifiedName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsRestType<'a>> for Node<'a>
impl<'a> From<&TsRestType<'a>> for Node<'a>
source§fn from(node: &TsRestType<'a>) -> Node<'a>
fn from(node: &TsRestType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsSatisfiesExpr<'a>> for Node<'a>
impl<'a> From<&TsSatisfiesExpr<'a>> for Node<'a>
source§fn from(node: &TsSatisfiesExpr<'a>) -> Node<'a>
fn from(node: &TsSatisfiesExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsSetterSignature<'a>> for Node<'a>
impl<'a> From<&TsSetterSignature<'a>> for Node<'a>
source§fn from(node: &TsSetterSignature<'a>) -> Node<'a>
fn from(node: &TsSetterSignature<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsThisType<'a>> for Node<'a>
impl<'a> From<&TsThisType<'a>> for Node<'a>
source§fn from(node: &TsThisType<'a>) -> Node<'a>
fn from(node: &TsThisType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsThisTypeOrIdent<'a>> for Node<'a>
impl<'a> From<&TsThisTypeOrIdent<'a>> for Node<'a>
source§fn from(node: &TsThisTypeOrIdent<'a>) -> Node<'a>
fn from(node: &TsThisTypeOrIdent<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTplLitType<'a>> for Node<'a>
impl<'a> From<&TsTplLitType<'a>> for Node<'a>
source§fn from(node: &TsTplLitType<'a>) -> Node<'a>
fn from(node: &TsTplLitType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTupleElement<'a>> for Node<'a>
impl<'a> From<&TsTupleElement<'a>> for Node<'a>
source§fn from(node: &TsTupleElement<'a>) -> Node<'a>
fn from(node: &TsTupleElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTupleType<'a>> for Node<'a>
impl<'a> From<&TsTupleType<'a>> for Node<'a>
source§fn from(node: &TsTupleType<'a>) -> Node<'a>
fn from(node: &TsTupleType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeAliasDecl<'a>> for Node<'a>
impl<'a> From<&TsTypeAliasDecl<'a>> for Node<'a>
source§fn from(node: &TsTypeAliasDecl<'a>) -> Node<'a>
fn from(node: &TsTypeAliasDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeAssertion<'a>> for Node<'a>
impl<'a> From<&TsTypeAssertion<'a>> for Node<'a>
source§fn from(node: &TsTypeAssertion<'a>) -> Node<'a>
fn from(node: &TsTypeAssertion<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeElement<'a>> for Node<'a>
impl<'a> From<&TsTypeElement<'a>> for Node<'a>
source§fn from(node: &TsTypeElement<'a>) -> Node<'a>
fn from(node: &TsTypeElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeOperator<'a>> for Node<'a>
impl<'a> From<&TsTypeOperator<'a>> for Node<'a>
source§fn from(node: &TsTypeOperator<'a>) -> Node<'a>
fn from(node: &TsTypeOperator<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeParam<'a>> for Node<'a>
impl<'a> From<&TsTypeParam<'a>> for Node<'a>
source§fn from(node: &TsTypeParam<'a>) -> Node<'a>
fn from(node: &TsTypeParam<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeParamDecl<'a>> for Node<'a>
impl<'a> From<&TsTypeParamDecl<'a>> for Node<'a>
source§fn from(node: &TsTypeParamDecl<'a>) -> Node<'a>
fn from(node: &TsTypeParamDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeParamInstantiation<'a>> for Node<'a>
impl<'a> From<&TsTypeParamInstantiation<'a>> for Node<'a>
source§fn from(node: &TsTypeParamInstantiation<'a>) -> Node<'a>
fn from(node: &TsTypeParamInstantiation<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypePredicate<'a>> for Node<'a>
impl<'a> From<&TsTypePredicate<'a>> for Node<'a>
source§fn from(node: &TsTypePredicate<'a>) -> Node<'a>
fn from(node: &TsTypePredicate<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeQuery<'a>> for Node<'a>
impl<'a> From<&TsTypeQuery<'a>> for Node<'a>
source§fn from(node: &TsTypeQuery<'a>) -> Node<'a>
fn from(node: &TsTypeQuery<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsTypeQueryExpr<'a>> for Node<'a>
impl<'a> From<&TsTypeQueryExpr<'a>> for Node<'a>
source§fn from(node: &TsTypeQueryExpr<'a>) -> Node<'a>
fn from(node: &TsTypeQueryExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsUnionOrIntersectionType<'a>> for Node<'a>
impl<'a> From<&TsUnionOrIntersectionType<'a>> for Node<'a>
source§fn from(node: &TsUnionOrIntersectionType<'a>) -> Node<'a>
fn from(node: &TsUnionOrIntersectionType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&TsUnionType<'a>> for Node<'a>
impl<'a> From<&TsUnionType<'a>> for Node<'a>
source§fn from(node: &TsUnionType<'a>) -> Node<'a>
fn from(node: &TsUnionType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&UpdateExpr<'a>> for Node<'a>
impl<'a> From<&UpdateExpr<'a>> for Node<'a>
source§fn from(node: &UpdateExpr<'a>) -> Node<'a>
fn from(node: &UpdateExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&VarDeclOrExpr<'a>> for Node<'a>
impl<'a> From<&VarDeclOrExpr<'a>> for Node<'a>
source§fn from(node: &VarDeclOrExpr<'a>) -> Node<'a>
fn from(node: &VarDeclOrExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<&VarDeclarator<'a>> for Node<'a>
impl<'a> From<&VarDeclarator<'a>> for Node<'a>
source§fn from(node: &VarDeclarator<'a>) -> Node<'a>
fn from(node: &VarDeclarator<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<AssignTarget<'a>> for Node<'a>
impl<'a> From<AssignTarget<'a>> for Node<'a>
source§fn from(node: AssignTarget<'a>) -> Node<'a>
fn from(node: AssignTarget<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<AssignTargetPat<'a>> for Node<'a>
impl<'a> From<AssignTargetPat<'a>> for Node<'a>
source§fn from(node: AssignTargetPat<'a>) -> Node<'a>
fn from(node: AssignTargetPat<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<BlockStmtOrExpr<'a>> for Node<'a>
impl<'a> From<BlockStmtOrExpr<'a>> for Node<'a>
source§fn from(node: BlockStmtOrExpr<'a>) -> Node<'a>
fn from(node: BlockStmtOrExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ClassMember<'a>> for Node<'a>
impl<'a> From<ClassMember<'a>> for Node<'a>
source§fn from(node: ClassMember<'a>) -> Node<'a>
fn from(node: ClassMember<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<DefaultDecl<'a>> for Node<'a>
impl<'a> From<DefaultDecl<'a>> for Node<'a>
source§fn from(node: DefaultDecl<'a>) -> Node<'a>
fn from(node: DefaultDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ExportSpecifier<'a>> for Node<'a>
impl<'a> From<ExportSpecifier<'a>> for Node<'a>
source§fn from(node: ExportSpecifier<'a>) -> Node<'a>
fn from(node: ExportSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ImportSpecifier<'a>> for Node<'a>
impl<'a> From<ImportSpecifier<'a>> for Node<'a>
source§fn from(node: ImportSpecifier<'a>) -> Node<'a>
fn from(node: ImportSpecifier<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<JSXAttrName<'a>> for Node<'a>
impl<'a> From<JSXAttrName<'a>> for Node<'a>
source§fn from(node: JSXAttrName<'a>) -> Node<'a>
fn from(node: JSXAttrName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<JSXAttrOrSpread<'a>> for Node<'a>
impl<'a> From<JSXAttrOrSpread<'a>> for Node<'a>
source§fn from(node: JSXAttrOrSpread<'a>) -> Node<'a>
fn from(node: JSXAttrOrSpread<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<JSXAttrValue<'a>> for Node<'a>
impl<'a> From<JSXAttrValue<'a>> for Node<'a>
source§fn from(node: JSXAttrValue<'a>) -> Node<'a>
fn from(node: JSXAttrValue<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<JSXElementChild<'a>> for Node<'a>
impl<'a> From<JSXElementChild<'a>> for Node<'a>
source§fn from(node: JSXElementChild<'a>) -> Node<'a>
fn from(node: JSXElementChild<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<JSXElementName<'a>> for Node<'a>
impl<'a> From<JSXElementName<'a>> for Node<'a>
source§fn from(node: JSXElementName<'a>) -> Node<'a>
fn from(node: JSXElementName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<MemberProp<'a>> for Node<'a>
impl<'a> From<MemberProp<'a>> for Node<'a>
source§fn from(node: MemberProp<'a>) -> Node<'a>
fn from(node: MemberProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ModuleDecl<'a>> for Node<'a>
impl<'a> From<ModuleDecl<'a>> for Node<'a>
source§fn from(node: ModuleDecl<'a>) -> Node<'a>
fn from(node: ModuleDecl<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ModuleExportName<'a>> for Node<'a>
impl<'a> From<ModuleExportName<'a>> for Node<'a>
source§fn from(node: ModuleExportName<'a>) -> Node<'a>
fn from(node: ModuleExportName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ModuleItem<'a>> for Node<'a>
impl<'a> From<ModuleItem<'a>> for Node<'a>
source§fn from(node: ModuleItem<'a>) -> Node<'a>
fn from(node: ModuleItem<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ObjectPatProp<'a>> for Node<'a>
impl<'a> From<ObjectPatProp<'a>> for Node<'a>
source§fn from(node: ObjectPatProp<'a>) -> Node<'a>
fn from(node: ObjectPatProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<OptChainBase<'a>> for Node<'a>
impl<'a> From<OptChainBase<'a>> for Node<'a>
source§fn from(node: OptChainBase<'a>) -> Node<'a>
fn from(node: OptChainBase<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<ParamOrTsParamProp<'a>> for Node<'a>
impl<'a> From<ParamOrTsParamProp<'a>> for Node<'a>
source§fn from(node: ParamOrTsParamProp<'a>) -> Node<'a>
fn from(node: ParamOrTsParamProp<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<PropOrSpread<'a>> for Node<'a>
impl<'a> From<PropOrSpread<'a>> for Node<'a>
source§fn from(node: PropOrSpread<'a>) -> Node<'a>
fn from(node: PropOrSpread<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<SimpleAssignTarget<'a>> for Node<'a>
impl<'a> From<SimpleAssignTarget<'a>> for Node<'a>
source§fn from(node: SimpleAssignTarget<'a>) -> Node<'a>
fn from(node: SimpleAssignTarget<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsEntityName<'a>> for Node<'a>
impl<'a> From<TsEntityName<'a>> for Node<'a>
source§fn from(node: TsEntityName<'a>) -> Node<'a>
fn from(node: TsEntityName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsEnumMemberId<'a>> for Node<'a>
impl<'a> From<TsEnumMemberId<'a>> for Node<'a>
source§fn from(node: TsEnumMemberId<'a>) -> Node<'a>
fn from(node: TsEnumMemberId<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsFnOrConstructorType<'a>> for Node<'a>
impl<'a> From<TsFnOrConstructorType<'a>> for Node<'a>
source§fn from(node: TsFnOrConstructorType<'a>) -> Node<'a>
fn from(node: TsFnOrConstructorType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsModuleName<'a>> for Node<'a>
impl<'a> From<TsModuleName<'a>> for Node<'a>
source§fn from(node: TsModuleName<'a>) -> Node<'a>
fn from(node: TsModuleName<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsModuleRef<'a>> for Node<'a>
impl<'a> From<TsModuleRef<'a>> for Node<'a>
source§fn from(node: TsModuleRef<'a>) -> Node<'a>
fn from(node: TsModuleRef<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsNamespaceBody<'a>> for Node<'a>
impl<'a> From<TsNamespaceBody<'a>> for Node<'a>
source§fn from(node: TsNamespaceBody<'a>) -> Node<'a>
fn from(node: TsNamespaceBody<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsParamPropParam<'a>> for Node<'a>
impl<'a> From<TsParamPropParam<'a>> for Node<'a>
source§fn from(node: TsParamPropParam<'a>) -> Node<'a>
fn from(node: TsParamPropParam<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsThisTypeOrIdent<'a>> for Node<'a>
impl<'a> From<TsThisTypeOrIdent<'a>> for Node<'a>
source§fn from(node: TsThisTypeOrIdent<'a>) -> Node<'a>
fn from(node: TsThisTypeOrIdent<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsTypeElement<'a>> for Node<'a>
impl<'a> From<TsTypeElement<'a>> for Node<'a>
source§fn from(node: TsTypeElement<'a>) -> Node<'a>
fn from(node: TsTypeElement<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsTypeQueryExpr<'a>> for Node<'a>
impl<'a> From<TsTypeQueryExpr<'a>> for Node<'a>
source§fn from(node: TsTypeQueryExpr<'a>) -> Node<'a>
fn from(node: TsTypeQueryExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<TsUnionOrIntersectionType<'a>> for Node<'a>
impl<'a> From<TsUnionOrIntersectionType<'a>> for Node<'a>
source§fn from(node: TsUnionOrIntersectionType<'a>) -> Node<'a>
fn from(node: TsUnionOrIntersectionType<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> From<VarDeclOrExpr<'a>> for Node<'a>
impl<'a> From<VarDeclOrExpr<'a>> for Node<'a>
source§fn from(node: VarDeclOrExpr<'a>) -> Node<'a>
fn from(node: VarDeclOrExpr<'a>) -> Node<'a>
Converts to this type from the input type.
source§impl<'a> NodeTrait<'a> for Node<'a>
impl<'a> NodeTrait<'a> for Node<'a>
fn parent(&self) -> Option<Node<'a>>
fn children(&self) -> Vec<Node<'a>>
fn as_node(&self) -> Node<'a>
fn kind(&self) -> NodeKind
fn ancestors(&self) -> AncestorIterator<'a> ⓘ
fn start_line(&self) -> usize
fn end_line(&self) -> usize
fn start_column(&self) -> usize
fn end_column(&self) -> usize
fn char_width(&self) -> usize
fn child_index(&self) -> usize
fn previous_sibling(&self) -> Option<Node<'a>>
source§fn previous_siblings(&self) -> Vec<Node<'a>>
fn previous_siblings(&self) -> Vec<Node<'a>>
Gets the previous siblings in the order they appear in the file.
source§fn next_sibling(&self) -> Option<Node<'a>>
fn next_sibling(&self) -> Option<Node<'a>>
Gets the next siblings in the order they appear in the file.
fn next_siblings(&self) -> Vec<Node<'a>>
fn tokens(&self) -> &'a [TokenAndSpan]
fn children_with_tokens(&self) -> Vec<NodeOrToken<'a>>
fn children_with_tokens_fast( &self, program: impl RootNode<'a>, ) -> Vec<NodeOrToken<'a>>
fn leading_comments(&self) -> CommentsIterator<'a> ⓘ
fn trailing_comments(&self) -> CommentsIterator<'a> ⓘ
source§fn module(&self) -> &Module<'a>
fn module(&self) -> &Module<'a>
Gets the root node if the view was created from a Module; otherwise panics.
source§fn script(&self) -> &Script<'a>
fn script(&self) -> &Script<'a>
Gets the root node if the view was created from a Script; otherwise panics.
fn text(&self) -> &'a str
fn previous_token(&self) -> Option<&'a TokenAndSpan>
fn next_token(&self) -> Option<&'a TokenAndSpan>
source§fn previous_tokens(&self) -> &'a [TokenAndSpan]
fn previous_tokens(&self) -> &'a [TokenAndSpan]
Gets the previous tokens in the order they appear in the file.
source§fn next_tokens(&self) -> &'a [TokenAndSpan]
fn next_tokens(&self) -> &'a [TokenAndSpan]
Gets the next tokens in the order they appear in the file.
source§impl<'a> SourceRanged for Node<'a>
impl<'a> SourceRanged for Node<'a>
fn start(&self) -> SourcePos
fn end(&self) -> SourcePos
fn range(&self) -> SourceRange
fn byte_width(&self) -> usize
fn start_line_fast<'a, P: SourceTextInfoProvider<'a>>(&self, source: P) -> usize
fn end_line_fast<'a, P: SourceTextInfoProvider<'a>>(&self, source: P) -> usize
fn start_column_fast<'a, P: SourceTextInfoProvider<'a>>( &self, source: P, ) -> usize
fn end_column_fast<'a, P: SourceTextInfoProvider<'a>>(&self, source: P) -> usize
fn column_at_pos<'a, P: SourceTextInfoProvider<'a>>( &self, source: P, pos: SourcePos, ) -> usize
fn char_width_fast<'a, P: SourceTextInfoProvider<'a>>(&self, source: P) -> usize
fn text_fast<'a, P: SourceTextInfoProvider<'a>>(&self, source: P) -> &'a str
fn tokens_fast<'a>(&self, program: impl RootNode<'a>) -> &'a [TokenAndSpan]
fn leading_comments_fast<'a>( &self, program: impl RootNode<'a>, ) -> CommentsIterator<'a> ⓘ
fn trailing_comments_fast<'a>( &self, program: impl RootNode<'a>, ) -> CommentsIterator<'a> ⓘ
fn previous_token_fast<'a>( &self, program: impl RootNode<'a>, ) -> Option<&'a TokenAndSpan>
fn next_token_fast<'a>( &self, program: impl RootNode<'a>, ) -> Option<&'a TokenAndSpan>
fn previous_tokens_fast<'a>( &self, program: impl RootNode<'a>, ) -> &'a [TokenAndSpan]
fn next_tokens_fast<'a>(&self, program: impl RootNode<'a>) -> &'a [TokenAndSpan]
impl<'a> Copy for Node<'a>
Auto Trait Implementations§
impl<'a> Freeze for Node<'a>
impl<'a> !RefUnwindSafe for Node<'a>
impl<'a> !Send for Node<'a>
impl<'a> !Sync for Node<'a>
impl<'a> Unpin for Node<'a>
impl<'a> !UnwindSafe for Node<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.