C# Class Rhino.Tools.Debugger.Dim.SourceInfo

Class to store information about a script source.
Class to store information about a script source.
Datei anzeigen Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

BreakableLine() public method

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
return bool

Breakpoint() public method

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
return bool

Breakpoint() public method

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
return bool

FunctionSource() public method

Returns the FunctionSource object with the given index.
Returns the FunctionSource object with the given index.
public FunctionSource ( int i ) : Dim.FunctionSource
i int
return Dim.FunctionSource

FunctionSourcesTop() public method

Returns the number of FunctionSource objects stored in this object.
Returns the number of FunctionSource objects stored in this object.
public FunctionSourcesTop ( ) : int
return int

RemoveAllBreakpoints() public method

Removes all breakpoints from the script.
Removes all breakpoints from the script.
public RemoveAllBreakpoints ( ) : void
return void

Source() public method

Returns the source text.
Returns the source text.
public Source ( ) : string
return string

Url() public method

Returns the script's origin URL.
Returns the script's origin URL.
public Url ( ) : string
return string