[][src]Trait binjs::generic::ast::Node

pub trait Node: Downcast {
    fn name(&self) -> &'static str;

    fn scoped_dictionary(&self) -> Option<&SharedString> { ... }
}
[]

The root type for nodes in the AST.

Required methods

fn name(&self) -> &'static str[]

Return the name of the current node.

Provided methods

fn scoped_dictionary(&self) -> Option<&SharedString>[]

If this node should cause a dictionary change, return the name of the new dictionary to use. Otherwise, None.

Methods

impl dyn Node + 'static[]

pub fn is<__T>(&self) -> bool where
    __T: Node
[]

Returns true if the trait object wraps an object of type __T.

pub fn downcast<__T>(
    self: Box<dyn Node + 'static>
) -> Result<Box<__T>, Box<dyn Node + 'static>> where
    __T: Node
[]

Returns a boxed object from a boxed trait object if the underlying object is of type __T. Returns the original boxed trait if it isn't.

pub fn downcast_rc<__T>(
    self: Rc<dyn Node + 'static>
) -> Result<Rc<__T>, Rc<dyn Node + 'static>> where
    __T: Node
[]

Returns an Rc-ed object from an Rc-ed trait object if the underlying object is of type __T. Returns the original Rc-ed trait if it isn't.

pub fn downcast_ref<__T>(&self) -> Option<&__T> where
    __T: Node
[]

Returns a reference to the object within the trait object if it is of type __T, or None if it isn't.

pub fn downcast_mut<__T>(&mut self) -> Option<&mut __T> where
    __T: Node
[]

Returns a mutable reference to the object within the trait object if it is of type __T, or None if it isn't.

Implementors

impl Node for ArrayAssignmentTarget[src][]

Make it possible to downcast/upcast between ArrayAssignmentTarget and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ArrayBinding[src][]

Make it possible to downcast/upcast between ArrayBinding and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ArrayExpression[src][]

Make it possible to downcast/upcast between ArrayExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ArrowExpressionContentsWithExpression[src][]

Make it possible to downcast/upcast between ArrowExpressionContentsWithExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ArrowExpressionContentsWithFunctionBody[src][]

Make it possible to downcast/upcast between ArrowExpressionContentsWithFunctionBody and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedBlockScope[src][]

Make it possible to downcast/upcast between AssertedBlockScope and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedBoundName[src][]

Make it possible to downcast/upcast between AssertedBoundName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedBoundNamesScope[src][]

Make it possible to downcast/upcast between AssertedBoundNamesScope and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedDeclaredName[src][]

Make it possible to downcast/upcast between AssertedDeclaredName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedParameterName[src][]

Make it possible to downcast/upcast between AssertedParameterName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedParameterScope[src][]

Make it possible to downcast/upcast between AssertedParameterScope and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedPositionalParameterName[src][]

Make it possible to downcast/upcast between AssertedPositionalParameterName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedRestParameterName[src][]

Make it possible to downcast/upcast between AssertedRestParameterName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedScriptGlobalScope[src][]

Make it possible to downcast/upcast between AssertedScriptGlobalScope and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssertedVarScope[src][]

Make it possible to downcast/upcast between AssertedVarScope and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssignmentExpression[src][]

Make it possible to downcast/upcast between AssignmentExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssignmentTargetIdentifier[src][]

Make it possible to downcast/upcast between AssignmentTargetIdentifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssignmentTargetPropertyIdentifier[src][]

Make it possible to downcast/upcast between AssignmentTargetPropertyIdentifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssignmentTargetPropertyProperty[src][]

Make it possible to downcast/upcast between AssignmentTargetPropertyProperty and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AssignmentTargetWithInitializer[src][]

Make it possible to downcast/upcast between AssignmentTargetWithInitializer and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for AwaitExpression[src][]

Make it possible to downcast/upcast between AwaitExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BinASTExpressionWithProbabilityTable[src][]

Make it possible to downcast/upcast between BinASTExpressionWithProbabilityTable and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BinaryExpression[src][]

Make it possible to downcast/upcast between BinaryExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BindingIdentifier[src][]

Make it possible to downcast/upcast between BindingIdentifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BindingPropertyIdentifier[src][]

Make it possible to downcast/upcast between BindingPropertyIdentifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BindingPropertyProperty[src][]

Make it possible to downcast/upcast between BindingPropertyProperty and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BindingWithInitializer[src][]

Make it possible to downcast/upcast between BindingWithInitializer and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Block[src][]

Make it possible to downcast/upcast between Block and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for BreakStatement[src][]

Make it possible to downcast/upcast between BreakStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for CallExpression[src][]

Make it possible to downcast/upcast between CallExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for CatchClause[src][]

Make it possible to downcast/upcast between CatchClause and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ClassDeclaration[src][]

Make it possible to downcast/upcast between ClassDeclaration and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ClassElement[src][]

Make it possible to downcast/upcast between ClassElement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ClassExpression[src][]

Make it possible to downcast/upcast between ClassExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for CompoundAssignmentExpression[src][]

Make it possible to downcast/upcast between CompoundAssignmentExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ComputedMemberAssignmentTarget[src][]

Make it possible to downcast/upcast between ComputedMemberAssignmentTarget and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ComputedMemberExpression[src][]

Make it possible to downcast/upcast between ComputedMemberExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ComputedPropertyName[src][]

Make it possible to downcast/upcast between ComputedPropertyName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ConditionalExpression[src][]

Make it possible to downcast/upcast between ConditionalExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ContinueStatement[src][]

Make it possible to downcast/upcast between ContinueStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for DataProperty[src][]

Make it possible to downcast/upcast between DataProperty and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for DebuggerStatement[src][]

Make it possible to downcast/upcast between DebuggerStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Directive[src][]

Make it possible to downcast/upcast between Directive and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for DoWhileStatement[src][]

Make it possible to downcast/upcast between DoWhileStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerArrowExpressionWithExpression[src][]

Make it possible to downcast/upcast between EagerArrowExpressionWithExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerArrowExpressionWithFunctionBody[src][]

Make it possible to downcast/upcast between EagerArrowExpressionWithFunctionBody and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerFunctionDeclaration[src][]

Make it possible to downcast/upcast between EagerFunctionDeclaration and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerFunctionExpression[src][]

Make it possible to downcast/upcast between EagerFunctionExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerGetter[src][]

Make it possible to downcast/upcast between EagerGetter and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerMethod[src][]

Make it possible to downcast/upcast between EagerMethod and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EagerSetter[src][]

Make it possible to downcast/upcast between EagerSetter and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for EmptyStatement[src][]

Make it possible to downcast/upcast between EmptyStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Export[src][]

Make it possible to downcast/upcast between Export and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportAllFrom[src][]

Make it possible to downcast/upcast between ExportAllFrom and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportDefault[src][]

Make it possible to downcast/upcast between ExportDefault and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportFrom[src][]

Make it possible to downcast/upcast between ExportFrom and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportFromSpecifier[src][]

Make it possible to downcast/upcast between ExportFromSpecifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportLocalSpecifier[src][]

Make it possible to downcast/upcast between ExportLocalSpecifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExportLocals[src][]

Make it possible to downcast/upcast between ExportLocals and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ExpressionStatement[src][]

Make it possible to downcast/upcast between ExpressionStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ForInOfBinding[src][]

Make it possible to downcast/upcast between ForInOfBinding and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ForInStatement[src][]

Make it possible to downcast/upcast between ForInStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ForOfStatement[src][]

Make it possible to downcast/upcast between ForOfStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ForStatement[src][]

Make it possible to downcast/upcast between ForStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for FormalParameters[src][]

Make it possible to downcast/upcast between FormalParameters and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for FunctionExpressionContents[src][]

Make it possible to downcast/upcast between FunctionExpressionContents and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for FunctionOrMethodContents[src][]

Make it possible to downcast/upcast between FunctionOrMethodContents and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for GetterContents[src][]

Make it possible to downcast/upcast between GetterContents and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for IdentifierExpression[src][]

Make it possible to downcast/upcast between IdentifierExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for IfStatement[src][]

Make it possible to downcast/upcast between IfStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Import[src][]

Make it possible to downcast/upcast between Import and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ImportNamespace[src][]

Make it possible to downcast/upcast between ImportNamespace and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ImportSpecifier[src][]

Make it possible to downcast/upcast between ImportSpecifier and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LabelledStatement[src][]

Make it possible to downcast/upcast between LabelledStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyArrowExpressionWithExpression[src][]

Make it possible to downcast/upcast between LazyArrowExpressionWithExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyArrowExpressionWithFunctionBody[src][]

Make it possible to downcast/upcast between LazyArrowExpressionWithFunctionBody and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyFunctionDeclaration[src][]

Make it possible to downcast/upcast between LazyFunctionDeclaration and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyFunctionExpression[src][]

Make it possible to downcast/upcast between LazyFunctionExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyGetter[src][]

Make it possible to downcast/upcast between LazyGetter and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazyMethod[src][]

Make it possible to downcast/upcast between LazyMethod and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LazySetter[src][]

Make it possible to downcast/upcast between LazySetter and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralBooleanExpression[src][]

Make it possible to downcast/upcast between LiteralBooleanExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralInfinityExpression[src][]

Make it possible to downcast/upcast between LiteralInfinityExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralNullExpression[src][]

Make it possible to downcast/upcast between LiteralNullExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralNumericExpression[src][]

Make it possible to downcast/upcast between LiteralNumericExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralPropertyName[src][]

Make it possible to downcast/upcast between LiteralPropertyName and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralRegExpExpression[src][]

Make it possible to downcast/upcast between LiteralRegExpExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for LiteralStringExpression[src][]

Make it possible to downcast/upcast between LiteralStringExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Module[src][]

Make it possible to downcast/upcast between Module and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for NewExpression[src][]

Make it possible to downcast/upcast between NewExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for NewTargetExpression[src][]

Make it possible to downcast/upcast between NewTargetExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Null[src][]

Make it possible to downcast/upcast between Null and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ObjectAssignmentTarget[src][]

Make it possible to downcast/upcast between ObjectAssignmentTarget and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ObjectBinding[src][]

Make it possible to downcast/upcast between ObjectBinding and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ObjectExpression[src][]

Make it possible to downcast/upcast between ObjectExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ReturnStatement[src][]

Make it possible to downcast/upcast between ReturnStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Script[src][]

Make it possible to downcast/upcast between Script and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SetterContents[src][]

Make it possible to downcast/upcast between SetterContents and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ShorthandProperty[src][]

Make it possible to downcast/upcast between ShorthandProperty and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SpreadElement[src][]

Make it possible to downcast/upcast between SpreadElement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for StaticMemberAssignmentTarget[src][]

Make it possible to downcast/upcast between StaticMemberAssignmentTarget and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for StaticMemberExpression[src][]

Make it possible to downcast/upcast between StaticMemberExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for Super[src][]

Make it possible to downcast/upcast between Super and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SwitchCase[src][]

Make it possible to downcast/upcast between SwitchCase and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SwitchDefault[src][]

Make it possible to downcast/upcast between SwitchDefault and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SwitchStatement[src][]

Make it possible to downcast/upcast between SwitchStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for SwitchStatementWithDefault[src][]

Make it possible to downcast/upcast between SwitchStatementWithDefault and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for TemplateElement[src][]

Make it possible to downcast/upcast between TemplateElement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for TemplateExpression[src][]

Make it possible to downcast/upcast between TemplateExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ThisExpression[src][]

Make it possible to downcast/upcast between ThisExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for ThrowStatement[src][]

Make it possible to downcast/upcast between ThrowStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for TryCatchStatement[src][]

Make it possible to downcast/upcast between TryCatchStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for TryFinallyStatement[src][]

Make it possible to downcast/upcast between TryFinallyStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for UnaryExpression[src][]

Make it possible to downcast/upcast between UnaryExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for UpdateExpression[src][]

Make it possible to downcast/upcast between UpdateExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for VariableDeclaration[src][]

Make it possible to downcast/upcast between VariableDeclaration and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for VariableDeclarator[src][]

Make it possible to downcast/upcast between VariableDeclarator and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for WhileStatement[src][]

Make it possible to downcast/upcast between WhileStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for WithStatement[src][]

Make it possible to downcast/upcast between WithStatement and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for YieldExpression[src][]

Make it possible to downcast/upcast between YieldExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for YieldStarExpression[src][]

Make it possible to downcast/upcast between YieldStarExpression and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src][]

The name of this node. Used mostly for debugging purposes.

impl Node for DummyNode

impl Node for Null

impl Node for ArrayAssignmentTarget

impl Node for ArrayBinding

impl Node for ArrayExpression

impl Node for ArrowExpressionContentsWithExpression

impl Node for ArrowExpressionContentsWithFunctionBody

impl Node for AssertedBlockScope

impl Node for AssertedBoundName

impl Node for AssertedBoundNamesScope

impl Node for AssertedDeclaredName

impl Node for AssertedParameterName

impl Node for AssertedParameterScope

impl Node for AssertedPositionalParameterName

impl Node for AssertedRestParameterName

impl Node for AssertedScriptGlobalScope

impl Node for AssertedVarScope

impl Node for AssignmentExpression

impl Node for AssignmentTargetIdentifier

impl Node for AssignmentTargetPropertyIdentifier

impl Node for AssignmentTargetPropertyProperty

impl Node for AssignmentTargetWithInitializer

impl Node for AwaitExpression

impl Node for BinASTExpressionWithProbabilityTable

impl Node for BinaryExpression

impl Node for BindingIdentifier

impl Node for BindingPropertyIdentifier

impl Node for BindingPropertyProperty

impl Node for BindingWithInitializer

impl Node for Block

impl Node for BreakStatement

impl Node for CallExpression

impl Node for CatchClause

impl Node for ClassDeclaration

impl Node for ClassElement

impl Node for ClassExpression

impl Node for CompoundAssignmentExpression

impl Node for ComputedMemberAssignmentTarget

impl Node for ComputedMemberExpression

impl Node for ComputedPropertyName

impl Node for ConditionalExpression

impl Node for ContinueStatement

impl Node for DataProperty

impl Node for DebuggerStatement

impl Node for Directive

impl Node for DoWhileStatement

impl Node for EagerArrowExpressionWithExpression

impl Node for EagerArrowExpressionWithFunctionBody

impl Node for EagerFunctionDeclaration

impl Node for EagerFunctionExpression

impl Node for EagerGetter

impl Node for EagerMethod

impl Node for EagerSetter

impl Node for EmptyStatement

impl Node for Export

impl Node for ExportAllFrom

impl Node for ExportDefault

impl Node for ExportFrom

impl Node for ExportFromSpecifier

impl Node for ExportLocalSpecifier

impl Node for ExportLocals

impl Node for ExpressionStatement

impl Node for ForInOfBinding

impl Node for ForInStatement

impl Node for ForOfStatement

impl Node for ForStatement

impl Node for FormalParameters

impl Node for FunctionExpressionContents

impl Node for FunctionOrMethodContents

impl Node for GetterContents

impl Node for IdentifierExpression

impl Node for IfStatement

impl Node for Import

impl Node for ImportNamespace

impl Node for ImportSpecifier

impl Node for LabelledStatement

impl Node for LazyArrowExpressionWithExpression

impl Node for LazyArrowExpressionWithFunctionBody

impl Node for LazyFunctionDeclaration

impl Node for LazyFunctionExpression

impl Node for LazyGetter

impl Node for LazyMethod

impl Node for LazySetter

impl Node for LiteralBooleanExpression

impl Node for LiteralInfinityExpression

impl Node for LiteralNullExpression

impl Node for LiteralNumericExpression

impl Node for LiteralPropertyName

impl Node for LiteralRegExpExpression

impl Node for LiteralStringExpression

impl Node for Module

impl Node for NewExpression

impl Node for NewTargetExpression

impl Node for ObjectAssignmentTarget

impl Node for ObjectBinding

impl Node for ObjectExpression

impl Node for ReturnStatement

impl Node for Script

impl Node for SetterContents

impl Node for ShorthandProperty

impl Node for SpreadElement

impl Node for StaticMemberAssignmentTarget

impl Node for StaticMemberExpression

impl Node for Super

impl Node for SwitchCase

impl Node for SwitchDefault

impl Node for SwitchStatement

impl Node for SwitchStatementWithDefault

impl Node for TemplateElement

impl Node for TemplateExpression

impl Node for ThisExpression

impl Node for ThrowStatement

impl Node for TryCatchStatement

impl Node for TryFinallyStatement

impl Node for UnaryExpression

impl Node for UpdateExpression

impl Node for VariableDeclaration

impl Node for VariableDeclarator

impl Node for WhileStatement

impl Node for WithStatement

impl Node for YieldExpression

impl Node for YieldStarExpression