Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 551 Bytes
using System;
namespace IronJS.Runtime
{
public struct Descriptor
{
public BoxedValue Value;
public ushort Attributes;
public bool HasValue;
public bool IsWritable { get { return (this.Attributes & DescriptorAttrs.ReadOnly) == DescriptorAttrs.None; } }
public bool IsDeletable { get { return (this.Attributes & DescriptorAttrs.DontDelete) == DescriptorAttrs.None; } }
public bool IsEnumerable { get { return (this.Attributes & DescriptorAttrs.DontEnum) == DescriptorAttrs.None; } }
}
}