A weight function method for mixed modes hole‐edge cracks