lib/dap/variable_presentation_hint.rb in ruby-dap-0.1.2 vs lib/dap/variable_presentation_hint.rb in ruby-dap-0.1.3

- old
+ new

@@ -1,5 +1,7 @@ +# Optional properties of a variable that can be used to determine how to render +# the variable in the UI. class DAP::VariablePresentationHint < DAP::Base # The kind of variable. Before introducing additional values, try to use the listed values. # Values: # 'property': Indicates that the object is a property. # 'method': Indicates that the object is a method. @@ -12,11 +14,11 @@ # 'mostDerivedClass': Indicates that the object is the most derived class. # 'virtual': Indicates that the object is virtual, that means it is a synthetic object introducedby the # adapter for rendering purposes, e.g. an index range for large arrays. # 'dataBreakpoint': Indicates that a data breakpoint is registered for the object. # etc. - property :kind, required: false # 'property' | 'method' | 'class' | 'data' | 'event' | 'baseClass' | 'innerClass' | 'interface' | 'mostDerivedClass' | 'virtual' | 'dataBreakpoint' | string + property :kind, required: false, as: 'string' # Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values. # Values: # 'static': Indicates that the object is static. # 'constant': Indicates that the object is a constant. @@ -24,11 +26,11 @@ # 'rawString': Indicates that the object is a raw string. # 'hasObjectId': Indicates that the object can have an Object ID created for it. # 'canHaveObjectId': Indicates that the object has an Object ID associated with it. # 'hasSideEffects': Indicates that the evaluation had side effects. # etc. - property :attributes, required: false # ('static' | 'constant' | 'readOnly' | 'rawString' | 'hasObjectId' | 'canHaveObjectId' | 'hasSideEffects' | string)[] + property :attributes, required: false, as: 'string' # Visibility of variable. Before introducing additional values, try to use the listed values. # Values: 'public', 'private', 'protected', 'internal', 'final', etc. - property :visibility, required: false # 'public' | 'private' | 'protected' | 'internal' | 'final' | string + property :visibility, required: false, as: 'string' end