[][src]Enum binjs::specialized::es6::ast::ViewMutClassDeclarationOrExpressionOrFunctionDeclaration

pub enum ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a> {
    LazyFunctionExpression(&'a mut LazyFunctionExpression),
    ThisExpression(&'a mut ThisExpression),
    UnaryExpression(&'a mut UnaryExpression),
    ClassExpression(&'a mut ClassExpression),
    BinaryExpression(&'a mut BinaryExpression),
    ConditionalExpression(&'a mut ConditionalExpression),
    LazyFunctionDeclaration(&'a mut LazyFunctionDeclaration),
    ClassDeclaration(&'a mut ClassDeclaration),
    LiteralNullExpression(&'a mut LiteralNullExpression),
    EagerArrowExpressionWithFunctionBody(&'a mut EagerArrowExpressionWithFunctionBody),
    NewTargetExpression(&'a mut NewTargetExpression),
    LiteralInfinityExpression(&'a mut LiteralInfinityExpression),
    EagerArrowExpressionWithExpression(&'a mut EagerArrowExpressionWithExpression),
    AssignmentExpression(&'a mut AssignmentExpression),
    ComputedMemberExpression(&'a mut ComputedMemberExpression),
    ObjectExpression(&'a mut ObjectExpression),
    StaticMemberExpression(&'a mut StaticMemberExpression),
    AwaitExpression(&'a mut AwaitExpression),
    NewExpression(&'a mut NewExpression),
    UpdateExpression(&'a mut UpdateExpression),
    EagerFunctionExpression(&'a mut EagerFunctionExpression),
    LiteralRegExpExpression(&'a mut LiteralRegExpExpression),
    TemplateExpression(&'a mut TemplateExpression),
    CallExpression(&'a mut CallExpression),
    LiteralNumericExpression(&'a mut LiteralNumericExpression),
    YieldStarExpression(&'a mut YieldStarExpression),
    IdentifierExpression(&'a mut IdentifierExpression),
    EagerFunctionDeclaration(&'a mut EagerFunctionDeclaration),
    LazyArrowExpressionWithFunctionBody(&'a mut LazyArrowExpressionWithFunctionBody),
    LiteralBooleanExpression(&'a mut LiteralBooleanExpression),
    ArrayExpression(&'a mut ArrayExpression),
    BinASTExpressionWithProbabilityTable(&'a mut BinASTExpressionWithProbabilityTable),
    YieldExpression(&'a mut YieldExpression),
    LazyArrowExpressionWithExpression(&'a mut LazyArrowExpressionWithExpression),
    LiteralStringExpression(&'a mut LiteralStringExpression),
    CompoundAssignmentExpression(&'a mut CompoundAssignmentExpression),
}

A mechanism to view value as an instance of interface sum ClassDeclarationOrExpressionOrFunctionDeclaration

Used to perform shallow cast between larger sums and smaller sums.

Variants

LazyFunctionExpression(&'a mut LazyFunctionExpression)
ThisExpression(&'a mut ThisExpression)
UnaryExpression(&'a mut UnaryExpression)
ClassExpression(&'a mut ClassExpression)
BinaryExpression(&'a mut BinaryExpression)
ConditionalExpression(&'a mut ConditionalExpression)
LazyFunctionDeclaration(&'a mut LazyFunctionDeclaration)
ClassDeclaration(&'a mut ClassDeclaration)
LiteralNullExpression(&'a mut LiteralNullExpression)
EagerArrowExpressionWithFunctionBody(&'a mut EagerArrowExpressionWithFunctionBody)
NewTargetExpression(&'a mut NewTargetExpression)
LiteralInfinityExpression(&'a mut LiteralInfinityExpression)
EagerArrowExpressionWithExpression(&'a mut EagerArrowExpressionWithExpression)
AssignmentExpression(&'a mut AssignmentExpression)
ComputedMemberExpression(&'a mut ComputedMemberExpression)
ObjectExpression(&'a mut ObjectExpression)
StaticMemberExpression(&'a mut StaticMemberExpression)
AwaitExpression(&'a mut AwaitExpression)
NewExpression(&'a mut NewExpression)
UpdateExpression(&'a mut UpdateExpression)
EagerFunctionExpression(&'a mut EagerFunctionExpression)
LiteralRegExpExpression(&'a mut LiteralRegExpExpression)
TemplateExpression(&'a mut TemplateExpression)
CallExpression(&'a mut CallExpression)
LiteralNumericExpression(&'a mut LiteralNumericExpression)
YieldStarExpression(&'a mut YieldStarExpression)
IdentifierExpression(&'a mut IdentifierExpression)
EagerFunctionDeclaration(&'a mut EagerFunctionDeclaration)
LazyArrowExpressionWithFunctionBody(&'a mut LazyArrowExpressionWithFunctionBody)
LiteralBooleanExpression(&'a mut LiteralBooleanExpression)
ArrayExpression(&'a mut ArrayExpression)
BinASTExpressionWithProbabilityTable(&'a mut BinASTExpressionWithProbabilityTable)
YieldExpression(&'a mut YieldExpression)
LazyArrowExpressionWithExpression(&'a mut LazyArrowExpressionWithExpression)
LiteralStringExpression(&'a mut LiteralStringExpression)
CompoundAssignmentExpression(&'a mut CompoundAssignmentExpression)

Methods

impl<'a> ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>[src]

pub fn steal(&mut self) -> ClassDeclarationOrExpressionOrFunctionDeclaration[src]

Convert a ViewMutClassDeclarationOrExpressionOrFunctionDeclaration back into a ClassDeclarationOrExpressionOrFunctionDeclaration, stealing the contents of the sum.

Trait Implementations

impl<'a> Debug for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>[src]

impl<'a> From<&'a mut ClassDeclarationOrExpressionOrFunctionDeclaration> for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>[src]

impl<'a> Walker<'a> for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a> where
    ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>: 'a, 
[src]

type Output = ClassDeclarationOrExpressionOrFunctionDeclaration

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>

impl<'a> !Send for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>

impl<'a> !Sync for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>

impl<'a> Unpin for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>

impl<'a> !UnwindSafe for ViewMutClassDeclarationOrExpressionOrFunctionDeclaration<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]