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
Lines
public string[] Lines { get; }
Property Value
- string[]
Name
public string Name { get; }
Property Value
OwnerScript
public Script OwnerScript { get; }
Property Value
SourceID
public int SourceID { get; }
Property Value
Methods
GetCodeSnippet(SourceRef)
public string GetCodeSnippet(SourceRef sourceCodeRef)
Parameters
sourceCodeRefSourceRef