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

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

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

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

Variants

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

Methods

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

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

Convert a ViewMutExpression back into a Expression, stealing the contents of the sum.

Trait Implementations

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

impl<'a> From<&'a mut Expression> for ViewMutExpression<'a>[src]

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

type Output = Expression

Auto Trait Implementations

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

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

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

impl<'a> Unpin for ViewMutExpression<'a>

impl<'a> !UnwindSafe for ViewMutExpression<'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]