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

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

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

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

Variants

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

Methods

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

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

Convert a ViewMutExpressionOrSuper back into a ExpressionOrSuper, stealing the contents of the sum.

Trait Implementations

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

impl<'a> From<&'a mut ExpressionOrSuper> for ViewMutExpressionOrSuper<'a>[src]

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

type Output = ExpressionOrSuper

Auto Trait Implementations

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

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

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

impl<'a> Unpin for ViewMutExpressionOrSuper<'a>

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