C# Класс Rhino.Tools.Debugger.Dim.SourceInfo

Class to store information about a script source.
Class to store information about a script source.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BreakableLine ( int line ) : bool

Returns whether the given line number can have a breakpoint set on it.

Returns whether the given line number can have a breakpoint set on it.

Breakpoint ( int line ) : bool

Returns whether there is a breakpoint set on the given line.

Returns whether there is a breakpoint set on the given line.

Breakpoint ( int line, bool value ) : bool

Sets or clears the breakpoint flag for the given line.

Sets or clears the breakpoint flag for the given line.

FunctionSource ( int i ) : Dim.FunctionSource

Returns the FunctionSource object with the given index.

Returns the FunctionSource object with the given index.

FunctionSourcesTop ( ) : int

Returns the number of FunctionSource objects stored in this object.

Returns the number of FunctionSource objects stored in this object.

RemoveAllBreakpoints ( ) : void

Removes all breakpoints from the script.

Removes all breakpoints from the script.

Source ( ) : string

Returns the source text.

Returns the source text.

Url ( ) : string

Returns the script's origin URL.

Returns the script's origin URL.

Приватные методы

Метод Описание
CopyBreakpointsFrom ( Dim old ) : void

Copies the breakpoints from the given SourceInfo object into this one.

Copies the breakpoints from the given SourceInfo object into this one.

SourceInfo ( string source, DebuggableScript functions, string normilizedUrl ) : System

Creates a new SourceInfo object.

Creates a new SourceInfo object.

Описание методов

BreakableLine() публичный Метод

Returns whether the given line number can have a breakpoint set on it.
Returns whether the given line number can have a breakpoint set on it.
public BreakableLine ( int line ) : bool
line int
Результат bool

Breakpoint() публичный Метод

Returns whether there is a breakpoint set on the given line.
Returns whether there is a breakpoint set on the given line.
public Breakpoint ( int line ) : bool
line int
Результат bool

Breakpoint() публичный Метод

Sets or clears the breakpoint flag for the given line.
Sets or clears the breakpoint flag for the given line.
public Breakpoint ( int line, bool value ) : bool
line int
value bool
Результат bool

FunctionSource() публичный Метод

Returns the FunctionSource object with the given index.
Returns the FunctionSource object with the given index.
public FunctionSource ( int i ) : Dim.FunctionSource
i int
Результат Dim.FunctionSource

FunctionSourcesTop() публичный Метод

Returns the number of FunctionSource objects stored in this object.
Returns the number of FunctionSource objects stored in this object.
public FunctionSourcesTop ( ) : int
Результат int

RemoveAllBreakpoints() публичный Метод

Removes all breakpoints from the script.
Removes all breakpoints from the script.
public RemoveAllBreakpoints ( ) : void
Результат void

Source() публичный Метод

Returns the source text.
Returns the source text.
public Source ( ) : string
Результат string

Url() публичный Метод

Returns the script's origin URL.
Returns the script's origin URL.
public Url ( ) : string
Результат string