Function swc_ecma_utils::contains_this_expr

source ยท
pub fn contains_this_expr<N>(body: &N) -> bool
Expand description

This does not recurse into a function if this is changed by it.

e.g.

  • The body of an arrow expression is visited.
  • The body of a function expression is not visited.