Sha256: a4e5c28ebb11bde27a50e166274b1d9fbb14f1c123509983da45da1b14045d87
Contents?: true
Size: 1.99 KB
Versions: 1
Compression:
Stored size: 1.99 KB
Contents
require_relative 'source' # A Scope is a named container for variables. Optionally a scope can map to a # source or a range within a source. class DAP::Scope < DAP::Base # Name of the scope such as 'Arguments', 'Locals', or 'Registers'. This string is shown in the UI as is and can be translated. property :name, as: 'string' # An optional hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI. # Values: # 'arguments': Scope contains method arguments. # 'locals': Scope contains local variables. # 'registers': Scope contains registers. Only a single 'registers' scope should be returned from a 'scopes' request. # etc. property :presentationHint, required: false, as: 'string' # The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest. property :variablesReference, as: 'number' # The number of named variables in this scope. # The client can use this optional information to present the variables in a paged UI and fetch them in chunks. property :namedVariables, required: false, as: 'number' # The number of indexed variables in this scope. # The client can use this optional information to present the variables in a paged UI and fetch them in chunks. property :indexedVariables, required: false, as: 'number' # If true, the number of variables in this scope is large or expensive to retrieve. property :expensive, as: 'boolean' # Optional source for this scope. property :source, required: false, as: DAP::Source # Optional start line of the range covered by this scope. property :line, required: false, as: 'number' # Optional start column of the range covered by this scope. property :column, required: false, as: 'number' # Optional end line of the range covered by this scope. property :endLine, required: false, as: 'number' # Optional end column of the range covered by this scope. property :endColumn, required: false, as: 'number' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-dap-0.1.3 | lib/dap/scope.rb |