// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.jetbrains.debugger;

import com.intellij.openapi.util.AsyncResult;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public interface CallFrame {
  /**
   * @return the scopes known in this frame
   */
  @NotNull
  List<Scope> getVariableScopes();

  /**
   * @return the receiver variable known in this frame
   */
  AsyncResult<Variable> getReceiverVariable();

  int getLine();

  int getColumn();

  /**
   * @return the name of the current function of this frame
   */
  @Nullable
  String getFunctionName();

  /**
   * @return context for evaluating expressions in scope of this frame
   */
  EvaluateContext getEvaluateContext();
}
@@ -544,22 +544,51 @@
 is frame
-%0A   */
+ (%22this%22 variable)%0A   */%0A  @NotNull
 %0A  Async

introduce isMemberVisible/normalizeMemberName to avoid dependency on V8DebugProcess