public SharedStates(Script script, ReferenceCounter referenceCounter) { this.Script = script; this.EvaluationStack = new EvaluationStack(referenceCounter); this.States = new Dictionary <Type, object>(); }
/// <summary> /// Constructor /// </summary> /// <param name="script">Script</param> /// <param name="rvcount">Number of items to be returned</param> internal ExecutionContext(Script script, int rvcount, ReferenceCounter referenceCounter) : this(script, rvcount, new EvaluationStack(referenceCounter), new Dictionary <Type, object>()) { }
internal EvaluationStack(ReferenceCounter referenceCounter) { this.referenceCounter = referenceCounter; }
public Slot(int count, ReferenceCounter referenceCounter) : this(Enumerable.Repeat(StackItem.Null, count).ToArray(), referenceCounter) { }