Sha256: dc427db8c4ecd1c88aab8f790d1f9e77a8ad1c527a3e8a2259122f15014bd21c

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

require_relative 'value_format'

class DAP::EvaluateArguments < DAP::Base
  # The expression to evaluate.
  property :expression

  # Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope.
  property :frameId, required: false

  # 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.
  property :context, required: false # 'watch' | 'repl' | 'hover' | 'clipboard' | string

  # Specifies details on how to format the Evaluate result.
  # The attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true.
  property :format, required: false, as: DAP::ValueFormat
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-dap-0.1.2 lib/dap/evaluate_arguments.rb
ruby-dap-0.1.1 lib/dap/evaluate_arguments.rb
ruby-dap-0.1.0 lib/dap/evaluate_arguments.rb