aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL
diff options
context:
space:
mode:
authorTedd Hansen2007-12-30 16:32:29 +0000
committerTedd Hansen2007-12-30 16:32:29 +0000
commit7ef09a12020f1665bcd4e99fd420d411d5f4d95d (patch)
tree6953b5ce873ee73d96bd9b4a404f15d151f61865 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL
parent* re-applied AddNewPrim refactoring... third time now... (diff)
downloadopensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.zip
opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.gz
opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.bz2
opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.xz
Added comments to ScriptEngine classes that explains what their purpose is
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs8
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
index 0623cc5..441c952 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
@@ -36,6 +36,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
36{ 36{
37 public class Compiler 37 public class Compiler
38 { 38 {
39
40 // * Uses "LSL2Converter" to convert LSL to C# if necessary.
41 // * Compiles C#-code into an assembly
42 // * Returns assembly name ready for AppDomain load.
43 //
44 // Assembly is compiled using LSL_BaseClass as base. Look at debug C# code file created when LSL script is compiled for full details.
45 //
46
39 private LSL2CSConverter LSL_Converter = new LSL2CSConverter(); 47 private LSL2CSConverter LSL_Converter = new LSL2CSConverter();
40 private CSharpCodeProvider codeProvider = new CSharpCodeProvider(); 48 private CSharpCodeProvider codeProvider = new CSharpCodeProvider();
41 private static UInt64 scriptCompileCounter = 0; 49 private static UInt64 scriptCompileCounter = 0;
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
index 2796b64..65db510 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
@@ -41,6 +41,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
41 //[Serializable] 41 //[Serializable]
42 public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript 42 public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript
43 { 43 {
44
45 //
46 // Included as base for any LSL-script that is compiled.
47 // Any function added here will be accessible to the LSL script. But it must also be added to "LSL_BuiltIn_Commands_Interface" in "OpenSim.Region.ScriptEngine.Common" class.
48 //
49 // Security note: This script will be running inside an restricted AppDomain. Currently AppDomain is not very restricted.zxs
50 //
51
44 // Object never expires 52 // Object never expires
45 public override Object InitializeLifetimeService() 53 public override Object InitializeLifetimeService()
46 { 54 {