swc_ecma_utils

Macro member_expr

source
macro_rules! member_expr {
    ($ctxt:expr, $span:expr, $first:ident) => { ... };
    ($ctxt:expr, $span:expr, $first:ident . $($rest:tt)+) => { ... };
    (@EXT, $span:expr, $obj:expr, $first:ident . $($rest:tt)* ) => { ... };
    (@EXT, $span:expr, $obj:expr,  $first:ident) => { ... };
}
Expand description

Creates a member expression.

§Usage

member_expr!(span, Function.bind.apply);

Returns Box<Expr>.