Struct swc_ecma_ast::NewExpr
source · [−]pub struct NewExpr {
pub span: Span,
pub callee: Box<Expr>,
pub args: Option<Vec<ExprOrSpread>>,
pub type_args: Option<Box<TsTypeParamInstantiation>>,
}
Fields
span: Span
callee: Box<Expr>
args: Option<Vec<ExprOrSpread>>
type_args: Option<Box<TsTypeParamInstantiation>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for NewExpr
impl<'de> Deserialize<'de> for NewExpr
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for NewExpr
impl EqIgnoreSpan for NewExpr
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for NewExpr
impl StructuralEq for NewExpr
impl StructuralPartialEq for NewExpr
Auto Trait Implementations
impl RefUnwindSafe for NewExpr
impl Send for NewExpr
impl Sync for NewExpr
impl Unpin for NewExpr
impl UnwindSafe for NewExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more