Enum ecmascript::ast::ObjectExpressionProperty[][src]

pub enum ObjectExpressionProperty {
    Property(Property),
    SpreadElement(SpreadElement),
}

An object expression property can be a property or a spread property.

Variants

A regular property being added to an object expression

This allows you to spread into an object literal.

Trait Implementations

impl Debug for ObjectExpressionProperty
[src]

Formats the value using the given formatter. Read more

impl Clone for ObjectExpressionProperty
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ObjectExpressionProperty
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations