Definition at line 14 of file Executable.cs.
◆ Executable()
| ScriptStack.Runtime.Executable.Executable |
( |
Script | script | ) |
|
◆ FunctionExists()
| bool ScriptStack.Runtime.Executable.FunctionExists |
( |
string | function | ) |
|
Definition at line 115 of file Executable.cs.
116 {
117
118 return functions.ContainsKey(function);
119
120 }
◆ Functions
| Dictionary<String, Function> ScriptStack.Runtime.Executable.Functions |
|
get |
Definition at line 139 of file Executable.cs.
140 {
141 get { return functions; }
142 }
◆ MainFunction
| Function ScriptStack.Runtime.Executable.MainFunction |
|
get |
Definition at line 144 of file Executable.cs.
145 {
146
147 get
148 {
149
150 if (!functions.ContainsKey("main"))
151 throw new ParserException("Das Script hat keinen Einstiegspunkt.");
152
153 return functions["main"];
154
155 }
156
157 }
◆ Runnable
| ReadOnlyCollection<Instruction> ScriptStack.Runtime.Executable.Runnable |
|
get |
Definition at line 134 of file Executable.cs.
135 {
136 get { return instructions.AsReadOnly(); }
137 }
◆ Script
| Script ScriptStack.Runtime.Executable.Script |
|
get |
Access the script from which the executable was created.
Definition at line 129 of file Executable.cs.
130 {
131 get { return script; }
132 }
Referenced by Executable().
◆ ScriptMemory
| Memory ScriptStack.Runtime.Executable.ScriptMemory |
|
get |
Definition at line 159 of file Executable.cs.
160 {
161 get { return scriptMemory; }
162 }
The documentation for this class was generated from the following file: