Skip to content
ConsoleMonster
Struct

CodeScope

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Base
ValueType
Modifiers
sealed

A vertical scope guide in the original code source.

Inheritance

  • ValueType
  • CodeScope

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public CodeScope(CodeLineRange lines, int column, int depth) #

Defines a scope body, its zero-based display column and nesting depth.

Parameters

lines ConsoleMonster.Widgets.CodeLineRange required
column int required
depth int required

Properties

public CodeLineRange Lines { get; } #

The lines inside the scope.

public int Column { get; } #

The display column inside the code area.

public int Depth { get; } #

The zero-based nesting depth.