FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
1script/src/ScriptEngine/Machine/LoadedModule.cs at develop · xDrivenDevelopment/1script · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
xDrivenDevelopment
/
1script
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
16
Code
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
1script
/
src
/
ScriptEngine
/
Machine
/
LoadedModule.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
44 lines (40 loc) · 1.69 KB
Breadcrumbs
1script
/
src
/
ScriptEngine
/
Machine
/
LoadedModule.cs
Copy path
File metadata and controls
44 lines (40 loc) · 1.69 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
using
ScriptEngine
.
Compiler
;
using
ScriptEngine
.
Environment
;
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Linq
;
using
System
.
Text
;
namespace
ScriptEngine
.
Machine
{
class
LoadedModule
{
internal
LoadedModule
(
ModuleImage
image
)
{
this
.
Code
=
image
.
Code
.
ToArray
(
)
;
this
.
EntryMethodIndex
=
image
.
EntryMethodIndex
;
this
.
MethodRefs
=
image
.
MethodRefs
.
ToArray
(
)
;
this
.
VariableRefs
=
image
.
VariableRefs
.
ToArray
(
)
;
this
.
Methods
=
image
.
Methods
.
ToArray
(
)
;
this
.
Constants
=
new
IValue
[
image
.
Constants
.
Count
]
;
this
.
VariableFrameSize
=
image
.
VariableFrameSize
;
this
.
ExportedProperies
=
image
.
ExportedProperties
.
ToArray
(
)
;
this
.
ExportedMethods
=
image
.
ExportedMethods
.
ToArray
(
)
;
this
.
ModuleInfo
=
image
.
ModuleInfo
;
for
(
int
i
=
0
;
i
<
image
.
Constants
.
Count
;
i
++
)
{
var
def
=
image
.
Constants
[
i
]
;
this
.
Constants
[
i
]
=
ValueFactory
.
Parse
(
def
.
Presentation
,
def
.
Type
)
;
}
}
public
int
VariableFrameSize
{
get
;
private
set
;
}
public
int
EntryMethodIndex
{
get
;
private
set
;
}
public
Command
[
]
Code
{
get
;
private
set
;
}
public
SymbolBinding
[
]
VariableRefs
{
get
;
private
set
;
}
public
SymbolBinding
[
]
MethodRefs
{
get
;
private
set
;
}
public
MethodDescriptor
[
]
Methods
{
get
;
private
set
;
}
public
IValue
[
]
Constants
{
get
;
private
set
;
}
public
ExportedSymbol
[
]
ExportedProperies
{
get
;
private
set
;
}
public
ExportedSymbol
[
]
ExportedMethods
{
get
;
private
set
;
}
public
ModuleInformation
ModuleInfo
{
get
;
private
set
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL