public RuntimeObjectDebuggerProxy(RuntimeObject obj) { InspectorMetaObject meta = new InspectorMetaObject(obj); this.EnumerableProperties = meta.EnumerableProperties.ToArray(); this.NonEnumerableProperties = meta.NonEnumerableProperties.ToArray(); this.Prototype = meta.Prototype; }
void IInspectorMetaProvider.FillInInspectorMetaObject(InspectorMetaObject meta) { meta.EnumerableProperties.Add("[[PrimitiveData]]", value); }
void IInspectorMetaProvider.FillInInspectorMetaObject(InspectorMetaObject meta) { meta.EnumerableProperties.Add("[[IterationKind]]", KindString[(int)this.ResultKind]); meta.EnumerableProperties.Add("[[IteratedObject]]", this.IteratedObject); }
void IInspectorMetaProvider.FillInInspectorMetaObject(InspectorMetaObject meta) { meta.EnumerableProperties.Add("[[Handler]]", handler); meta.EnumerableProperties.Add("[[Target]]", target); meta.EnumerableProperties.Add("[[IsRevoked]]", target == null); }
void IInspectorMetaProvider.FillInInspectorMetaObject(InspectorMetaObject meta) { meta.EnumerableProperties.Add("[[GeneratorFunction]]", invocation.FunctionObject); meta.EnumerableProperties.Add("[[GeneratorStatus]]", stateString[(int)this.State]); }
void IInspectorMetaProvider.FillInInspectorMetaObject(InspectorMetaObject meta) { meta.EnumerableProperties.Add("[[PromiseState]]", this.State.ToString().ToLower()); meta.EnumerableProperties.Add("[[PromiseResult]]", this.Value); }