/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v1.9.1
src/OneScript.DebugProtocol/IVariablePresentationHint.cs
49 строк
2 KB
Dmitriy Korolev
Добавил интерфейс для будущих доработок по UI дебаггера
11 окт 2019, 09:47
11 окт 2019, 09:47
fe315d6
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ namespace OneScript.DebugProtocol { public interface IVariablePresentationHint { /* 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. * 'class': Indicates that the object is a class. * 'data': Indicates that the object is data. * 'event': Indicates that the object is an event. * 'baseClass': Indicates that the object is a base class. * 'innerClass': Indicates that the object is an inner class. * 'interface': Indicates that the object is an interface. * 'mostDerivedClass': Indicates that the object is the most derived class. * 'virtual': Indicates that the object is virtual, that means it is a synthetic object introduced by 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. */ string Kind { get; set; } /* * 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. * 'readOnly': Indicates that the object is read only. * '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. */ string[] Attributes { get; set; } /** * Visibility of variable. Before introducing additional values, try to use the listed values. * Values: 'public', 'private', 'protected', 'internal', 'final', etc. */ string Visibility { get; set; } } }