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

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

Implementation of interface sum ExpressionOrTemplateElement

Variants

LiteralBooleanExpression(Box<LiteralBooleanExpression>)
ObjectExpression(Box<ObjectExpression>)
ComputedMemberExpression(Box<ComputedMemberExpression>)
NewTargetExpression(Box<NewTargetExpression>)
AwaitExpression(Box<AwaitExpression>)
StaticMemberExpression(Box<StaticMemberExpression>)
LazyArrowExpressionWithExpression(Box<LazyArrowExpressionWithExpression>)
ThisExpression(Box<ThisExpression>)
EagerArrowExpressionWithExpression(Box<EagerArrowExpressionWithExpression>)
LazyFunctionExpression(Box<LazyFunctionExpression>)
LiteralRegExpExpression(Box<LiteralRegExpExpression>)
ConditionalExpression(Box<ConditionalExpression>)
BinaryExpression(Box<BinaryExpression>)
BinASTExpressionWithProbabilityTable(Box<BinASTExpressionWithProbabilityTable>)
YieldExpression(Box<YieldExpression>)
ArrayExpression(Box<ArrayExpression>)
ClassExpression(Box<ClassExpression>)
TemplateExpression(Box<TemplateExpression>)
EagerFunctionExpression(Box<EagerFunctionExpression>)
LiteralInfinityExpression(Box<LiteralInfinityExpression>)
LiteralStringExpression(Box<LiteralStringExpression>)
CompoundAssignmentExpression(Box<CompoundAssignmentExpression>)
TemplateElement(Box<TemplateElement>)
LiteralNullExpression(Box<LiteralNullExpression>)
LazyArrowExpressionWithFunctionBody(Box<LazyArrowExpressionWithFunctionBody>)
YieldStarExpression(Box<YieldStarExpression>)
CallExpression(Box<CallExpression>)
EagerArrowExpressionWithFunctionBody(Box<EagerArrowExpressionWithFunctionBody>)
UpdateExpression(Box<UpdateExpression>)
NewExpression(Box<NewExpression>)
IdentifierExpression(Box<IdentifierExpression>)
AssignmentExpression(Box<AssignmentExpression>)
UnaryExpression(Box<UnaryExpression>)
LiteralNumericExpression(Box<LiteralNumericExpression>)
BinASTStolen

An additional value used to mark that the node was stolen by a call to steal().

Trait Implementations

impl Clone for ExpressionOrTemplateElement[src]

impl Debug for ExpressionOrTemplateElement[src]

impl Default for ExpressionOrTemplateElement[src]

impl<R> Deserialization<ExpressionOrTemplateElement> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for ExpressionOrTemplateElement[src]

impl<'a> From<&'a mut ExpressionOrTemplateElement> for ViewMutExpressionOrTemplateElement<'a>[src]

impl From<ArrayExpression> for ExpressionOrTemplateElement[src]

impl From<AssignmentExpression> for ExpressionOrTemplateElement[src]

impl From<AwaitExpression> for ExpressionOrTemplateElement[src]

impl From<BinASTExpressionWithProbabilityTable> for ExpressionOrTemplateElement[src]

impl From<BinaryExpression> for ExpressionOrTemplateElement[src]

impl From<CallExpression> for ExpressionOrTemplateElement[src]

impl From<ClassExpression> for ExpressionOrTemplateElement[src]

impl From<CompoundAssignmentExpression> for ExpressionOrTemplateElement[src]

impl From<ComputedMemberExpression> for ExpressionOrTemplateElement[src]

impl From<ConditionalExpression> for ExpressionOrTemplateElement[src]

impl From<EagerArrowExpressionWithExpression> for ExpressionOrTemplateElement[src]

impl From<EagerArrowExpressionWithFunctionBody> for ExpressionOrTemplateElement[src]

impl From<EagerFunctionExpression> for ExpressionOrTemplateElement[src]

impl From<Expression> for ExpressionOrTemplateElement[src]

Convert an instance of an enum into an instance of a larger enum.

impl From<IdentifierExpression> for ExpressionOrTemplateElement[src]

impl From<LazyArrowExpressionWithExpression> for ExpressionOrTemplateElement[src]

impl From<LazyArrowExpressionWithFunctionBody> for ExpressionOrTemplateElement[src]

impl From<LazyFunctionExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralBooleanExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralInfinityExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralNullExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralNumericExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralRegExpExpression> for ExpressionOrTemplateElement[src]

impl From<LiteralStringExpression> for ExpressionOrTemplateElement[src]

impl From<NewExpression> for ExpressionOrTemplateElement[src]

impl From<NewTargetExpression> for ExpressionOrTemplateElement[src]

impl From<ObjectExpression> for ExpressionOrTemplateElement[src]

impl From<StaticMemberExpression> for ExpressionOrTemplateElement[src]

impl From<TemplateElement> for ExpressionOrTemplateElement[src]

impl From<TemplateExpression> for ExpressionOrTemplateElement[src]

impl From<ThisExpression> for ExpressionOrTemplateElement[src]

impl From<UnaryExpression> for ExpressionOrTemplateElement[src]

impl From<UpdateExpression> for ExpressionOrTemplateElement[src]

impl From<YieldExpression> for ExpressionOrTemplateElement[src]

impl From<YieldStarExpression> for ExpressionOrTemplateElement[src]

impl PartialEq<ExpressionOrTemplateElement> for ExpressionOrTemplateElement[src]

impl<W> Serialization<ExpressionOrTemplateElement> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for ExpressionOrTemplateElement[src]

impl StructuralPartialEq for ExpressionOrTemplateElement[src]

impl<'a> Walker<'a> for ExpressionOrTemplateElement[src]

type Output = ExpressionOrTemplateElement

Auto Trait Implementations

impl !RefUnwindSafe for ExpressionOrTemplateElement

impl !Send for ExpressionOrTemplateElement

impl !Sync for ExpressionOrTemplateElement

impl Unpin for ExpressionOrTemplateElement

impl UnwindSafe for ExpressionOrTemplateElement

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]