haskell-dap-0.0.2.0: haskell-dap is a GHCi having DAP interface.

Copyright2017-2018 phoityne_hs
LicenseBSD3
Safe HaskellSafe
LanguageHaskell2010

GHCi.DAP.IFData

Description

Synopsis

Documentation

data Variable Source #

A Variable is a name/value pair. If the value is structured (has children), a handle is provided to retrieve the children with the VariablesRequest.

Constructors

Variable 

Fields

data VariablePresentationHint Source #

Optional properties of a variable that can be used to determine how to render the variable in the UI.

Constructors

VariablePresentationHint 

Fields

  • kindVariablePresentationHint :: String

    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.

  • attributesVariablePresentationHint :: [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.

    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.

  • visibilityVariablePresentationHint :: String

    Visibility of variable. Before introducing additional values, try to use the listed values. Values: public, private, protected, internal, final, etc.

data EvaluateBody Source #

Response to "evaluate" request.

Constructors

EvaluateBody 

Fields

data ScopesBody Source #

SResponse to scopes request.

Constructors

ScopesBody 

Fields

  • scopesScopesBody :: [Scope]

    The scopes of the stackframe. If the array has length zero, there are no scopes available.

data Scope Source #

A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.

Constructors

Scope 

Fields

  • nameScope :: String

    Name of the scope such as Arguments, Locals.

  • variablesReferenceScope :: Int

    The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest.

  • namedVariablesScope :: Maybe Int

    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.

  • indexedVariablesScope :: Maybe Int

    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.

  • expensiveScope :: Bool

    If true, the number of variables in this scope is large or expensive to retrieve.