code: function isInRange(node, reference) {
      const or = node.range;
      const ir = reference.identifier.range;
  
      return or[0] <= ir[0] && ir[1] <= or[1];
  }
docs: Checks whether or not a given reference is inside of a given node.
  
  @param {ASTNode} node - A node to check.
  @param {eslint-scope.Reference} reference - A reference to check.
  @returns {boolean} `true` if the reference is inside of the node.