forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJurassicSettings.cs
More file actions
48 lines (44 loc) · 942 Bytes
/
JurassicSettings.cs
File metadata and controls
48 lines (44 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
namespace JavaScriptEngineSwitcher.Jurassic
{
/// <summary>
/// Settings of the Jurassic JS engine
/// </summary>
public sealed class JurassicSettings
{
/// <summary>
/// Gets or sets a flag for whether to enable script debugging features
/// (allows a generation of debug information)
/// </summary>
public bool EnableDebugging
{
get;
set;
}
/// <summary>
/// Gets or sets a flag for whether to disassemble any generated IL
/// and store it in the associated function
/// </summary>
public bool EnableIlAnalysis
{
get;
set;
}
/// <summary>
/// Gets or sets a flag for whether to allow run the script in strict mode
/// </summary>
public bool StrictMode
{
get;
set;
}
/// <summary>
/// Constructs instance of the Jurassic settings
/// </summary>
public JurassicSettings()
{
EnableDebugging = false;
EnableIlAnalysis = false;
StrictMode = false;
}
}
}