public EcmaIterator(object target, EcmaIteratorResultKind kind, WellKnownObject proto) : base(proto) { Guard.ArgumentNotNull(target, "target"); this.iterator = GetEnumerator(target); this.IteratedObject = target; this.ResultKind = kind; }
public EcmaArrayIterator(EcmaValue target, EcmaIteratorResultKind kind) : base(target.ToObject(), kind, WellKnownObject.ArrayIteratorPrototype) { }
public EcmaMapIterator(EcmaMap target, EcmaIteratorResultKind kind) : base(target, kind, WellKnownObject.MapIteratorPrototype) { }
public EcmaArrayIterator(IEnumerator <KeyValuePair <EcmaValue, EcmaValue> > target, EcmaIteratorResultKind kind) : base(target, kind, WellKnownObject.ArrayIteratorPrototype) { }