Table of Contents

Class SourceCode

Namespace
MoonSharp.Interpreter.Debugging
Assembly
Assembly-CSharp.dll
public class SourceCode : IScriptPrivateResource
Inheritance
SourceCode
Implements
Inherited Members
Extension Methods

Properties

Code

public string Code { get; }

Property Value

string

Lines

public string[] Lines { get; }

Property Value

string[]

Name

public string Name { get; }

Property Value

string

OwnerScript

public Script OwnerScript { get; }

Property Value

Script

SourceID

public int SourceID { get; }

Property Value

int

Methods

GetCodeSnippet(SourceRef)

public string GetCodeSnippet(SourceRef sourceCodeRef)

Parameters

sourceCodeRef SourceRef

Returns

string