Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugVariable

Hierarchy

Index

Constructors

constructor

Properties

Protected _type

_type: undefined | string

Protected _value

_value: undefined | string

Protected elements

elements: undefined | Promise<ExpressionContainer[]>

Protected indexedVariables

indexedVariables: undefined | number

Protected nameRef

nameRef: undefined | HTMLSpanElement

Protected namedVariables

namedVariables: undefined | number

Readonly parent

Protected Readonly sessionProvider

sessionProvider: DebugSessionProvider

Protected Readonly startOfVariables

startOfVariables: number

Protected valueRef

valueRef: undefined | HTMLSpanElement

Protected Readonly variable

variable: Variable

Protected variablesReference

variablesReference: number

Static booleanRegex

booleanRegex: RegExp = ...

Static stringRegex

stringRegex: RegExp = ...

Accessors

hasElements

  • get hasElements(): boolean

name

  • get name(): string

Protected session

supportCopyAsExpression

  • get supportCopyAsExpression(): boolean

supportCopyValue

  • get supportCopyValue(): boolean

supportSetVariable

  • get supportSetVariable(): boolean

type

  • get type(): undefined | string

value

  • get value(): string

Protected variableClassName

  • get variableClassName(): string

Methods

copyAsExpression

  • copyAsExpression(): void

copyValue

  • copyValue(): void

Protected doResolve

Protected fetch

  • fetch(result: ConsoleItem[], filter: "named"): Promise<void>
  • fetch(result: ConsoleItem[], filter: "indexed", start: number, count?: number): Promise<void>

getElements

open

  • open(): Promise<void>

render

  • render(): ReactNode

Protected setNameRef

  • setNameRef(nameRef: null | HTMLSpanElement): undefined | HTMLSpanElement

setValue

  • setValue(value: string): Promise<void>

Protected setValueRef

  • setValueRef(valueRef: null | HTMLSpanElement): undefined | HTMLSpanElement