public void SetVariable(string key, MeVariable var) { if (DeclaredVariables.ContainsKey(key)) { DeclaredVariables[key] = var; } }
public void AddVariable(string key, MeVariable var) { if (!DeclaredVariables.ContainsKey(key)) { DeclaredVariables.Add(key, var); } }
public MeFunction(MeVariable baseVar, MeVariable[] parameters) { Value = baseVar.Value; Type = baseVar.Type; SubVariables = parameters; }
public MeVariable(MeVariable other) { Type = other.Type; Value = other.Value; }
public MeNode(MeVariable value) { Leaves = new List <MeNode>(); Value = value; }