Table of Contents

Class SourceRef

Namespace
MoonSharp.Interpreter.Debugging
Assembly
Assembly-CSharp.dll
public class SourceRef
Inheritance
SourceRef
Inherited Members
Extension Methods

Constructors

SourceRef(SourceRef, bool)

public SourceRef(SourceRef src, bool isStepStop)

Parameters

src SourceRef
isStepStop bool

SourceRef(int, int, int, int, int, bool)

public SourceRef(int sourceIdx, int from, int to, int fromline, int toline, bool isStepStop)

Parameters

sourceIdx int
from int
to int
fromline int
toline int
isStepStop bool

Fields

Breakpoint

public bool Breakpoint

Field Value

bool

Properties

CannotBreakpoint

public bool CannotBreakpoint { get; }

Property Value

bool

FromChar

public int FromChar { get; }

Property Value

int

FromLine

public int FromLine { get; }

Property Value

int

IsClrLocation

public bool IsClrLocation { get; }

Property Value

bool

IsStepStop

public bool IsStepStop { get; }

Property Value

bool

SourceIdx

public int SourceIdx { get; }

Property Value

int

ToChar

public int ToChar { get; }

Property Value

int

ToLine

public int ToLine { get; }

Property Value

int

Methods

FormatLocation(Script, bool)

public string FormatLocation(Script script, bool forceClassicFormat = false)

Parameters

script Script
forceClassicFormat bool

Returns

string

IncludesLocation(int, int, int)

public bool IncludesLocation(int sourceIdx, int line, int col)

Parameters

sourceIdx int
line int
col int

Returns

bool

SetNoBreakPoint()

public SourceRef SetNoBreakPoint()

Returns

SourceRef

ToString()

public override string ToString()

Returns

string