pub enum NodeRef<'a> {
Show 102 variants
Script(&'a Script),
Module(&'a Module),
FunctionBody(&'a FunctionBody),
StatementList(&'a StatementList),
StatementListItem(&'a StatementListItem),
Statement(&'a Statement),
Declaration(&'a Declaration),
FunctionExpression(&'a FunctionExpression),
FunctionDeclaration(&'a FunctionDeclaration),
GeneratorExpression(&'a GeneratorExpression),
GeneratorDeclaration(&'a GeneratorDeclaration),
AsyncFunctionExpression(&'a AsyncFunctionExpression),
AsyncFunctionDeclaration(&'a AsyncFunctionDeclaration),
AsyncGeneratorExpression(&'a AsyncGeneratorExpression),
AsyncGeneratorDeclaration(&'a AsyncGeneratorDeclaration),
ClassExpression(&'a ClassExpression),
ClassDeclaration(&'a ClassDeclaration),
LexicalDeclaration(&'a LexicalDeclaration),
Block(&'a Block),
VarDeclaration(&'a VarDeclaration),
Expression(&'a Expression),
If(&'a If),
DoWhileLoop(&'a DoWhileLoop),
WhileLoop(&'a WhileLoop),
ForLoop(&'a ForLoop),
ForInLoop(&'a ForInLoop),
ForOfLoop(&'a ForOfLoop),
Switch(&'a Switch),
Continue(&'a Continue),
Break(&'a Break),
Return(&'a Return),
Labelled(&'a Labelled),
With(&'a With),
Throw(&'a Throw),
Try(&'a Try),
This(&'a This),
NewTarget(&'a NewTarget),
ImportMeta(&'a ImportMeta),
Identifier(&'a Identifier),
FormalParameterList(&'a FormalParameterList),
ClassElement(&'a ClassElement),
PrivateName(&'a PrivateName),
VariableList(&'a VariableList),
Variable(&'a Variable),
Binding(&'a Binding),
Pattern(&'a Pattern),
Literal(&'a Literal),
RegExpLiteral(&'a RegExpLiteral),
ArrayLiteral(&'a ArrayLiteral),
ObjectLiteral(&'a ObjectLiteral),
Spread(&'a Spread),
ArrowFunction(&'a ArrowFunction),
AsyncArrowFunction(&'a AsyncArrowFunction),
TemplateLiteral(&'a TemplateLiteral),
PropertyAccess(&'a PropertyAccess),
New(&'a New),
Call(&'a Call),
SuperCall(&'a SuperCall),
ImportCall(&'a ImportCall),
Optional(&'a Optional),
TaggedTemplate(&'a TaggedTemplate),
Assign(&'a Assign),
Unary(&'a Unary),
Update(&'a Update),
Binary(&'a Binary),
BinaryInPrivate(&'a BinaryInPrivate),
Conditional(&'a Conditional),
Await(&'a Await),
Yield(&'a Yield),
Parenthesized(&'a Parenthesized),
ForLoopInitializer(&'a ForLoopInitializer),
IterableLoopInitializer(&'a IterableLoopInitializer),
Case(&'a Case),
Sym(&'a Sym),
LabelledItem(&'a LabelledItem),
Catch(&'a Catch),
Finally(&'a Finally),
FormalParameter(&'a FormalParameter),
PropertyName(&'a PropertyName),
ObjectMethodDefinition(&'a ObjectMethodDefinition),
ObjectPattern(&'a ObjectPattern),
ArrayPattern(&'a ArrayPattern),
PropertyDefinition(&'a PropertyDefinition),
TemplateElement(&'a TemplateElement),
SimplePropertyAccess(&'a SimplePropertyAccess),
PrivatePropertyAccess(&'a PrivatePropertyAccess),
SuperPropertyAccess(&'a SuperPropertyAccess),
OptionalOperation(&'a OptionalOperation),
AssignTarget(&'a AssignTarget),
ObjectPatternElement(&'a ObjectPatternElement),
ArrayPatternElement(&'a ArrayPatternElement),
PropertyAccessField(&'a PropertyAccessField),
OptionalOperationKind(&'a OptionalOperationKind),
ModuleItemList(&'a ModuleItemList),
ModuleItem(&'a ModuleItem),
ModuleSpecifier(&'a ModuleSpecifier),
ImportKind(&'a ImportKind),
ImportDeclaration(&'a ImportDeclaration),
ImportSpecifier(&'a ImportSpecifier),
ReExportKind(&'a ReExportKind),
ExportDeclaration(&'a ExportDeclaration),
ExportSpecifier(&'a ExportSpecifier),
}Expand description
A reference to a node visitable by a Visitor.
Variants§
Script(&'a Script)
Module(&'a Module)
FunctionBody(&'a FunctionBody)
StatementList(&'a StatementList)
StatementListItem(&'a StatementListItem)
Statement(&'a Statement)
Declaration(&'a Declaration)
FunctionExpression(&'a FunctionExpression)
FunctionDeclaration(&'a FunctionDeclaration)
GeneratorExpression(&'a GeneratorExpression)
GeneratorDeclaration(&'a GeneratorDeclaration)
AsyncFunctionExpression(&'a AsyncFunctionExpression)
AsyncFunctionDeclaration(&'a AsyncFunctionDeclaration)
AsyncGeneratorExpression(&'a AsyncGeneratorExpression)
AsyncGeneratorDeclaration(&'a AsyncGeneratorDeclaration)
ClassExpression(&'a ClassExpression)
ClassDeclaration(&'a ClassDeclaration)
LexicalDeclaration(&'a LexicalDeclaration)
Block(&'a Block)
VarDeclaration(&'a VarDeclaration)
Expression(&'a Expression)
If(&'a If)
DoWhileLoop(&'a DoWhileLoop)
WhileLoop(&'a WhileLoop)
ForLoop(&'a ForLoop)
ForInLoop(&'a ForInLoop)
ForOfLoop(&'a ForOfLoop)
Switch(&'a Switch)
Continue(&'a Continue)
Break(&'a Break)
Return(&'a Return)
Labelled(&'a Labelled)
With(&'a With)
Throw(&'a Throw)
Try(&'a Try)
This(&'a This)
NewTarget(&'a NewTarget)
ImportMeta(&'a ImportMeta)
Identifier(&'a Identifier)
FormalParameterList(&'a FormalParameterList)
ClassElement(&'a ClassElement)
PrivateName(&'a PrivateName)
VariableList(&'a VariableList)
Variable(&'a Variable)
Binding(&'a Binding)
Pattern(&'a Pattern)
Literal(&'a Literal)
RegExpLiteral(&'a RegExpLiteral)
ArrayLiteral(&'a ArrayLiteral)
ObjectLiteral(&'a ObjectLiteral)
Spread(&'a Spread)
ArrowFunction(&'a ArrowFunction)
AsyncArrowFunction(&'a AsyncArrowFunction)
TemplateLiteral(&'a TemplateLiteral)
PropertyAccess(&'a PropertyAccess)
New(&'a New)
Call(&'a Call)
SuperCall(&'a SuperCall)
ImportCall(&'a ImportCall)
Optional(&'a Optional)
TaggedTemplate(&'a TaggedTemplate)
Assign(&'a Assign)
Unary(&'a Unary)
Update(&'a Update)
Binary(&'a Binary)
BinaryInPrivate(&'a BinaryInPrivate)
Conditional(&'a Conditional)
Await(&'a Await)
Yield(&'a Yield)
Parenthesized(&'a Parenthesized)
ForLoopInitializer(&'a ForLoopInitializer)
IterableLoopInitializer(&'a IterableLoopInitializer)
Case(&'a Case)
Sym(&'a Sym)
LabelledItem(&'a LabelledItem)
Catch(&'a Catch)
Finally(&'a Finally)
FormalParameter(&'a FormalParameter)
PropertyName(&'a PropertyName)
ObjectMethodDefinition(&'a ObjectMethodDefinition)
ObjectPattern(&'a ObjectPattern)
ArrayPattern(&'a ArrayPattern)
PropertyDefinition(&'a PropertyDefinition)
TemplateElement(&'a TemplateElement)
SimplePropertyAccess(&'a SimplePropertyAccess)
PrivatePropertyAccess(&'a PrivatePropertyAccess)
SuperPropertyAccess(&'a SuperPropertyAccess)
OptionalOperation(&'a OptionalOperation)
AssignTarget(&'a AssignTarget)
ObjectPatternElement(&'a ObjectPatternElement)
ArrayPatternElement(&'a ArrayPatternElement)
PropertyAccessField(&'a PropertyAccessField)
OptionalOperationKind(&'a OptionalOperationKind)
ModuleItemList(&'a ModuleItemList)
ModuleItem(&'a ModuleItem)
ModuleSpecifier(&'a ModuleSpecifier)
ImportKind(&'a ImportKind)
ImportDeclaration(&'a ImportDeclaration)
ImportSpecifier(&'a ImportSpecifier)
ReExportKind(&'a ReExportKind)
ExportDeclaration(&'a ExportDeclaration)
ExportSpecifier(&'a ExportSpecifier)
Trait Implementations§
Source§impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>
impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>
Source§fn from(node: &'a ArrayLiteral) -> NodeRef<'a>
fn from(node: &'a ArrayLiteral) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ArrayPattern> for NodeRef<'a>
impl<'a> From<&'a ArrayPattern> for NodeRef<'a>
Source§fn from(node: &'a ArrayPattern) -> NodeRef<'a>
fn from(node: &'a ArrayPattern) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>
impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>
Source§fn from(node: &'a ArrayPatternElement) -> NodeRef<'a>
fn from(node: &'a ArrayPatternElement) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ArrowFunction> for NodeRef<'a>
impl<'a> From<&'a ArrowFunction> for NodeRef<'a>
Source§fn from(node: &'a ArrowFunction) -> NodeRef<'a>
fn from(node: &'a ArrowFunction) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AssignTarget> for NodeRef<'a>
impl<'a> From<&'a AssignTarget> for NodeRef<'a>
Source§fn from(node: &'a AssignTarget) -> NodeRef<'a>
fn from(node: &'a AssignTarget) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>
impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>
Source§fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>
fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AsyncFunctionDeclaration> for NodeRef<'a>
impl<'a> From<&'a AsyncFunctionDeclaration> for NodeRef<'a>
Source§fn from(node: &'a AsyncFunctionDeclaration) -> NodeRef<'a>
fn from(node: &'a AsyncFunctionDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AsyncFunctionExpression> for NodeRef<'a>
impl<'a> From<&'a AsyncFunctionExpression> for NodeRef<'a>
Source§fn from(node: &'a AsyncFunctionExpression) -> NodeRef<'a>
fn from(node: &'a AsyncFunctionExpression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AsyncGeneratorDeclaration> for NodeRef<'a>
impl<'a> From<&'a AsyncGeneratorDeclaration> for NodeRef<'a>
Source§fn from(node: &'a AsyncGeneratorDeclaration) -> NodeRef<'a>
fn from(node: &'a AsyncGeneratorDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a AsyncGeneratorExpression> for NodeRef<'a>
impl<'a> From<&'a AsyncGeneratorExpression> for NodeRef<'a>
Source§fn from(node: &'a AsyncGeneratorExpression) -> NodeRef<'a>
fn from(node: &'a AsyncGeneratorExpression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>
impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>
Source§fn from(node: &'a BinaryInPrivate) -> NodeRef<'a>
fn from(node: &'a BinaryInPrivate) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ClassDeclaration> for NodeRef<'a>
impl<'a> From<&'a ClassDeclaration> for NodeRef<'a>
Source§fn from(node: &'a ClassDeclaration) -> NodeRef<'a>
fn from(node: &'a ClassDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ClassElement> for NodeRef<'a>
impl<'a> From<&'a ClassElement> for NodeRef<'a>
Source§fn from(node: &'a ClassElement) -> NodeRef<'a>
fn from(node: &'a ClassElement) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ClassExpression> for NodeRef<'a>
impl<'a> From<&'a ClassExpression> for NodeRef<'a>
Source§fn from(node: &'a ClassExpression) -> NodeRef<'a>
fn from(node: &'a ClassExpression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a Conditional> for NodeRef<'a>
impl<'a> From<&'a Conditional> for NodeRef<'a>
Source§fn from(node: &'a Conditional) -> NodeRef<'a>
fn from(node: &'a Conditional) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a Declaration> for NodeRef<'a>
impl<'a> From<&'a Declaration> for NodeRef<'a>
Source§fn from(node: &'a Declaration) -> NodeRef<'a>
fn from(node: &'a Declaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>
impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>
Source§fn from(node: &'a DoWhileLoop) -> NodeRef<'a>
fn from(node: &'a DoWhileLoop) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
Source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>
Source§fn from(node: &'a ExportSpecifier) -> NodeRef<'a>
fn from(node: &'a ExportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a Expression> for NodeRef<'a>
impl<'a> From<&'a Expression> for NodeRef<'a>
Source§fn from(node: &'a Expression) -> NodeRef<'a>
fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>
impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>
Source§fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>
fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a FormalParameter> for NodeRef<'a>
impl<'a> From<&'a FormalParameter> for NodeRef<'a>
Source§fn from(node: &'a FormalParameter) -> NodeRef<'a>
fn from(node: &'a FormalParameter) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a FormalParameterList> for NodeRef<'a>
impl<'a> From<&'a FormalParameterList> for NodeRef<'a>
Source§fn from(node: &'a FormalParameterList) -> NodeRef<'a>
fn from(node: &'a FormalParameterList) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a FunctionBody> for NodeRef<'a>
impl<'a> From<&'a FunctionBody> for NodeRef<'a>
Source§fn from(node: &'a FunctionBody) -> NodeRef<'a>
fn from(node: &'a FunctionBody) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a FunctionDeclaration> for NodeRef<'a>
impl<'a> From<&'a FunctionDeclaration> for NodeRef<'a>
Source§fn from(node: &'a FunctionDeclaration) -> NodeRef<'a>
fn from(node: &'a FunctionDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a FunctionExpression> for NodeRef<'a>
impl<'a> From<&'a FunctionExpression> for NodeRef<'a>
Source§fn from(node: &'a FunctionExpression) -> NodeRef<'a>
fn from(node: &'a FunctionExpression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a GeneratorDeclaration> for NodeRef<'a>
impl<'a> From<&'a GeneratorDeclaration> for NodeRef<'a>
Source§fn from(node: &'a GeneratorDeclaration) -> NodeRef<'a>
fn from(node: &'a GeneratorDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a GeneratorExpression> for NodeRef<'a>
impl<'a> From<&'a GeneratorExpression> for NodeRef<'a>
Source§fn from(node: &'a GeneratorExpression) -> NodeRef<'a>
fn from(node: &'a GeneratorExpression) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a Identifier> for NodeRef<'a>
impl<'a> From<&'a Identifier> for NodeRef<'a>
Source§fn from(node: &'a Identifier) -> NodeRef<'a>
fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ImportCall> for NodeRef<'a>
impl<'a> From<&'a ImportCall> for NodeRef<'a>
Source§fn from(node: &'a ImportCall) -> NodeRef<'a>
fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
Source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ImportKind> for NodeRef<'a>
impl<'a> From<&'a ImportKind> for NodeRef<'a>
Source§fn from(node: &'a ImportKind) -> NodeRef<'a>
fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ImportMeta> for NodeRef<'a>
impl<'a> From<&'a ImportMeta> for NodeRef<'a>
Source§fn from(node: &'a ImportMeta) -> NodeRef<'a>
fn from(node: &'a ImportMeta) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
Source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>
impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>
Source§fn from(node: &'a IterableLoopInitializer) -> NodeRef<'a>
fn from(node: &'a IterableLoopInitializer) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a LabelledItem> for NodeRef<'a>
impl<'a> From<&'a LabelledItem> for NodeRef<'a>
Source§fn from(node: &'a LabelledItem) -> NodeRef<'a>
fn from(node: &'a LabelledItem) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
Source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ModuleItem> for NodeRef<'a>
impl<'a> From<&'a ModuleItem> for NodeRef<'a>
Source§fn from(node: &'a ModuleItem) -> NodeRef<'a>
fn from(node: &'a ModuleItem) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ModuleItemList> for NodeRef<'a>
impl<'a> From<&'a ModuleItemList> for NodeRef<'a>
Source§fn from(node: &'a ModuleItemList) -> NodeRef<'a>
fn from(node: &'a ModuleItemList) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
Source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>
impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>
Source§fn from(node: &'a ObjectLiteral) -> NodeRef<'a>
fn from(node: &'a ObjectLiteral) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ObjectMethodDefinition> for NodeRef<'a>
impl<'a> From<&'a ObjectMethodDefinition> for NodeRef<'a>
Source§fn from(node: &'a ObjectMethodDefinition) -> NodeRef<'a>
fn from(node: &'a ObjectMethodDefinition) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ObjectPattern> for NodeRef<'a>
impl<'a> From<&'a ObjectPattern> for NodeRef<'a>
Source§fn from(node: &'a ObjectPattern) -> NodeRef<'a>
fn from(node: &'a ObjectPattern) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>
impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>
Source§fn from(node: &'a ObjectPatternElement) -> NodeRef<'a>
fn from(node: &'a ObjectPatternElement) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a OptionalOperation> for NodeRef<'a>
impl<'a> From<&'a OptionalOperation> for NodeRef<'a>
Source§fn from(node: &'a OptionalOperation) -> NodeRef<'a>
fn from(node: &'a OptionalOperation) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>
impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>
Source§fn from(node: &'a OptionalOperationKind) -> NodeRef<'a>
fn from(node: &'a OptionalOperationKind) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a Parenthesized> for NodeRef<'a>
impl<'a> From<&'a Parenthesized> for NodeRef<'a>
Source§fn from(node: &'a Parenthesized) -> NodeRef<'a>
fn from(node: &'a Parenthesized) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PrivateName> for NodeRef<'a>
impl<'a> From<&'a PrivateName> for NodeRef<'a>
Source§fn from(node: &'a PrivateName) -> NodeRef<'a>
fn from(node: &'a PrivateName) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
Source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
Source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>
impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>
Source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PropertyDefinition> for NodeRef<'a>
impl<'a> From<&'a PropertyDefinition> for NodeRef<'a>
Source§fn from(node: &'a PropertyDefinition) -> NodeRef<'a>
fn from(node: &'a PropertyDefinition) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a PropertyName> for NodeRef<'a>
impl<'a> From<&'a PropertyName> for NodeRef<'a>
Source§fn from(node: &'a PropertyName) -> NodeRef<'a>
fn from(node: &'a PropertyName) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ReExportKind> for NodeRef<'a>
impl<'a> From<&'a ReExportKind> for NodeRef<'a>
Source§fn from(node: &'a ReExportKind) -> NodeRef<'a>
fn from(node: &'a ReExportKind) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>
impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>
Source§fn from(node: &'a RegExpLiteral) -> NodeRef<'a>
fn from(node: &'a RegExpLiteral) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
Source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a StatementList> for NodeRef<'a>
impl<'a> From<&'a StatementList> for NodeRef<'a>
Source§fn from(node: &'a StatementList) -> NodeRef<'a>
fn from(node: &'a StatementList) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
impl<'a> From<&'a StatementListItem> for NodeRef<'a>
Source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
Source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>
impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>
Source§fn from(node: &'a TaggedTemplate) -> NodeRef<'a>
fn from(node: &'a TaggedTemplate) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a TemplateElement> for NodeRef<'a>
impl<'a> From<&'a TemplateElement> for NodeRef<'a>
Source§fn from(node: &'a TemplateElement) -> NodeRef<'a>
fn from(node: &'a TemplateElement) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>
impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>
Source§fn from(node: &'a TemplateLiteral) -> NodeRef<'a>
fn from(node: &'a TemplateLiteral) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
Source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a VariableList> for NodeRef<'a>
impl<'a> From<&'a VariableList> for NodeRef<'a>
Source§fn from(node: &'a VariableList) -> NodeRef<'a>
fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.
impl<'a> Copy for NodeRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeRef<'a>
impl<'a> !RefUnwindSafe for NodeRef<'a>
impl<'a> !Send for NodeRef<'a>
impl<'a> !Sync for NodeRef<'a>
impl<'a> Unpin for NodeRef<'a>
impl<'a> !UnwindSafe for NodeRef<'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