Class EvaluateArguments

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.EvaluateArguments

public class EvaluateArguments extends JSONBase
Arguments for 'evaluate' request.
  • Method Details

    • getExpression

      public String getExpression()
      The expression to evaluate.
    • setExpression

      public EvaluateArguments setExpression(String expression)
    • getFrameId

      public Integer getFrameId()
      Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope.
    • setFrameId

      public EvaluateArguments setFrameId(Integer frameId)
    • getContext

      public String getContext()
      The context in which the evaluate request is run. Values: 'watch': evaluate is run in a watch. 'repl': evaluate is run from REPL console. 'hover': evaluate is run from a data hover. 'clipboard': evaluate is run to generate the value that will be stored in the clipboard. The attribute is only honored by a debug adapter if the capability 'supportsClipboardContext' is true. etc.
    • setContext

      public EvaluateArguments setContext(String context)
    • getFormat

      public ValueFormat getFormat()
      Specifies details on how to format the Evaluate result. The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
    • setFormat

      public EvaluateArguments setFormat(ValueFormat format)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static EvaluateArguments create(String expression)