2using System.Collections.Generic;
3using System.Collections.ObjectModel;
29 variables =
new Dictionary<string, object>();
33 internal void HideTemporaryVariables()
36 foreach (String identifier
in variables.Keys)
37 if (identifier.StartsWith(
"["))
45 internal void ExposeTemporaryVariables()
77 public bool Exists(
string identifier)
144 List<String> listIdentifiers
146 return listIdentifiers.AsReadOnly();
150 public object this[
string identifier]
158 throw new ExecutionException(
"Globale Variable '" + identifier +
"' wurde nicht deklariert.");
204 get {
return scope; }
void Remove(string identifier)
bool Exists(string identifier)
Dictionary< string, object > tempVariables
Memory(Scope scope, Memory sharedMemory, Memory scriptMemory)
Scope Find(string identifier)
static Memory AllocateLocalMemory(Memory scriptMemory)
Dictionary< string, object > variables
static Memory AllocateSharedMemory()
static Memory AllocateScriptMemory(Memory sharedMemory)
ReadOnlyCollection< string > Identifiers
Internal representation of a text file (source code) which can be passed to the Interpreter to execut...